Comments (17)
Sure, will do.
from kerneldensity.jl.
He did indeed: #31
from kerneldensity.jl.
0.1.2 and master are identical
$ cat KernelDensity/versions/0.1.2/sha1
48cfa6aec1acb6de62b2aee547281293a298eeef
from kerneldensity.jl.
Ah, I see. I got a deprecation warning the first time I did Pkg.test
, because of this line. Pkg.checkout
made it go away, so I posted this issue here.
WARNING: symbol is deprecated, use Symbol instead.
in depwarn(::String, ::Symbol) at ./deprecated.jl:64
in symbol(::String, ::Vararg{String,N}) at ./deprecated.jl:30
in @glue(::Any) at /Users/ranjan/.julia/v0.5/KernelDensity/src/KernelDensity.jl:21
in include_from_node1(::String) at ./loading.jl:426
in macro expansion; at ./none:2 [inlined]
in anonymous at ./<missing>:?
in eval(::Module, ::Any) at ./boot.jl:234
in process_options(::Base.JLOptions) at ./client.jl:239
in _start() at ./client.jl:318
while loading /Users/ranjan/.julia/v0.5/KernelDensity/src/KernelDensity.jl, in expression starting on line 28
from kerneldensity.jl.
Interestingly, after Pkg.free
and Pkg.test
I'm not able to reproduce this.
from kerneldensity.jl.
Ah, wait, I get this warning during precompilation. That's why the first Pkg.add
gave me that warning.
from kerneldensity.jl.
Looks like it depends on whether or not you have PyPlot or Winston installed. That @glue
macro has the same precompilation issue that Requires.jl does, and should probably be replaced with something that uses whatever the small piece of Plots.jl or RecipesWhatever you're supposed to use now.
from kerneldensity.jl.
What does this have to do with PyPlot or Winston? I didn't understand your comparison.
I think just putting @compat Symbol
in that line would fix this.
from kerneldensity.jl.
Look at what the macro's used for.
KernelDensity.jl/src/KernelDensity.jl
Lines 28 to 29 in 48cfa6a
If this package did plotting in a more modern precompilation-compatible way it wouldn't need to define that macro at all.
from kerneldensity.jl.
Oh okay. So, do you think a refactor of this package to use Plots instead is required?
from kerneldensity.jl.
For it to properly be precompile-compatible (and therefore for any other packages that depend on this one to be correctly precompile-compatible), yes. But at the moment you could just fix the deprecation.
from kerneldensity.jl.
I'd be in favor of removing the plotting stuff from here entirely. If it belongs anywhere I would think it'd be StatPlots. At the very least we could just give an example in the readme or whatever on how to plot if a plotting package is available.
from kerneldensity.jl.
It looks like StatPlots depends on this package, so that sounds ideal.
from kerneldensity.jl.
@ararslan Shall I put together a PR removing plotting entirely then?
from kerneldensity.jl.
@ranjanan Sure, if you want to then go for it.
from kerneldensity.jl.
Hey @ranjanan, did you have time to get that PR together?
from kerneldensity.jl.
Now that #31 has merged, can we tag a new release please?
from kerneldensity.jl.
Related Issues (20)
- Lazy evaluation KDE HOT 2
- support sample weights HOT 2
- High Dimensional Kernel Estimation - Tensor Train Estimation HOT 1
- ArgumentError: reducing over an empty collection is not allowed HOT 7
- kde on Vector{Date}
- DocStringsExtensions v0.9 HOT 3
- which is x and which is y?
- Error: Error during loading of extension ChainRulesCoreExt of LogExpFunctions, use `Base.retry_load_extensions()` to retry. HOT 2
- extend methods for TrackedArray and TrackedReal HOT 1
- Multithreading problem caused by FFTW dependency HOT 3
- N-variate KDE HOT 1
- drop Optim? HOT 2
- new method: fastKDE HOT 1
- Bivariate pdf call for list of values
- TagBot trigger issue HOT 8
- Borrow some ideas from GetDist Python package
- Add and subtract kerneldensities HOT 3
- Re-scale data before performing bivariate KDE
- Multivariate KDE support HOT 1
- Replace Juno.progress() in code HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kerneldensity.jl.