Comments (8)
What module is causing the conflict? I can't reproduce the warning with a recent julia 0.5.0-dev+5179 version. Can you post a reproducible example?
from bootstrap.jl.
I also can't get the warning with julia v0.5.0-rc2. I guess that is what you were referring to with "julia 0.5 release"?
from bootstrap.jl.
Hmm... I didn't check before, but this is only happening when using the Juno IDE in the Atom editor. In my file, I execute:
using DataFrames,
Bootstrap
And don't get the warning. Then:
function getbootstrap(v, n=1000, i=0.95)
bs = bootstrap(v, mean, BasicSampling(n))
ci1 = ci(bs, BasicConfInt(i))
return ci1[1]
end
And this spits the warning:
WARNING: Method definition getbootstrap(Any) in module Main at /Users/KBLaptop/computation/Science/gender-comp-bio/src/bootstrapping.jl:6 overwritten at /Users/KBLaptop/computation/Science/gender-comp-bio/src/bootstrapping.jl:6.
WARNING: Method definition getbootstrap(Any, Any) in module Main at /Users/KBLaptop/computation/Science/gender-comp-bio/src/bootstrapping.jl:6 overwritten at /Users/KBLaptop/computation/Science/gender-comp-bio/src/bootstrapping.jl:6.
WARNING: Method definition getbootstrap(Any, Any, Any) in module Main at /Users/KBLaptop/computation/Science/gender-comp-bio/src/bootstrapping.jl:6 overwritten at /Users/KBLaptop/computation/Science/gender-comp-bio/src/bootstrapping.jl:6.
But I just opened the REPL and did the same thing, but did not get a warning. So this might be a problem with Juno - I'll open an issue over there.
from bootstrap.jl.
Julia Version 0.5.0-rc2+0
, what you get when you do git checkout release-0.5
from bootstrap.jl.
Ok, thank you for the example. When does the WARNING: using Bootstrap.data in module Main conflicts with an existing identifier
occur? The warning in your example seems to be a different one.
from bootstrap.jl.
Ahh, excellent point. I cannot now reproduce that original warning and the associated errors :-/
It was happening when I was including a script that had the above function definition, and then using it on some DataFrame
columns, but I just went back and repeated the procedure and only see the method definition warning. I'll let you know if it pops up again, but I can't seem to find it...
from bootstrap.jl.
No worries - let me know in case it shows up again.
from bootstrap.jl.
Will do!
from bootstrap.jl.
Related Issues (20)
- Time-series bootstrapping HOT 12
- Project.toml HOT 10
- Bootstrap resampling from an arbitrary number of distributions? HOT 3
- Broken compatibility against new release of StatsModels (v0.6.0) HOT 11
- Upgrade `Formulas` to `StatsModels` v0.6.0+ HOT 6
- Interquartile range HOT 6
- Bootstrapping a function with 2 inputs? HOT 8
- Distributions.jl dependency HOT 4
- outdated compat info at General Registry HOT 2
- Confidence Interval Output HOT 1
- Update DataFrames dependency HOT 2
- [question] how do you control or limit the sample size? HOT 3
- Feature to retrieve all sampled results so that a histogram can be obtained HOT 6
- Feature Suggestion: Bayesian Bootstrap HOT 2
- Bump Distributions.jl to 0.25 HOT 8
- Request for documentation: Balanced Sampling
- Increased Modularity/Composability
- Exact Bootstrap?
- Allow passing an RNG
- Plase bump `StatsBase` compat bound 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 bootstrap.jl.