Comments (6)
Restarting the runtime fixes this issue, though I am not sure about the causes of it.
from pysindy.
The alldeps warning comes from the following line in the requirements file: scikit-learn[alldeps]>=0.23
. The alldeps option is supported for Scikit-learn version 0.23, but not 0.24. It simply ensures that all of sklearn's dependencies are installed along with it. I think you can safely ignore this warning.
I still suspect the ContextualVersionConflict
is caused by the fact that the system has sklearn version 0.22 installed, while newer versions of PySINDy require version 0.23. Installing PySINDy version 0.15 probably worked because it required an earlier version of sklearn.
from pysindy.
My guess is that this is due to the recent update to the requirements file to require scikit-learn version 0.23 or greater. Does updating to scikit-learn version 0.23 fix the problem?
from pysindy.
I faced the same issue as well. Restarting runtime in colab fixed it. I am not sure what causes it. I tried to install sklearn with [alldeps] and pysindy was giving me the same error.
from pysindy.
Just curious, which issue of sklearn do you have installed?
from pysindy.
Colab comes with sklearn 0.22.2.post1 pre-installed. If I install pysindy (pip install pysindy
) then it gives me a warning that sklearn requires alldeps. Then when I import pysindy and try to use it I get the same error as above (which is fixed if runtime is restarted). I installed other versions of sklearn (from 0.22 up to the latest one with/without [alldeps] argument) but stil I got this error. Only pysindy==0.15 did not have any issue at all and no warnings when installing it.
I am adding a screenshot when installing pysindy in Colab
from pysindy.
Related Issues (20)
- LinearRegression unknown keyword normalize HOT 5
- Implementation of graph data HOT 7
- Issue in plotting the graph using model.simulate HOT 1
- Total freedom in library functions with CustomLibrary HOT 1
- SINDy-PI for a system of ODEs
- simulating error(overflow) when expanded to the third order HOT 3
- [BUG] A lot of issues with the bayesian implementation (UQ-SINDy) HOT 3
- [BUG] No consistency in model.fit() HOT 8
- SINDy-PI/ one state derivative per model HOT 3
- Modeling Issues with Using Ensemble Methods HOT 1
- differentiation for cylindrical coordinate HOT 1
- There is a significant divergence between the model based on experimental data and the analytical solution HOT 1
- Can not import pysindy after installation HOT 8
- [BUG] SmoothedFiniteDifference does not have 'save_smooth' HOT 1
- [BUG] SSR optimizer always picks the first model it generates HOT 1
- [BUG] bad shape of model.coefficients() when using Lasso sklearn optimizer HOT 1
- Extracting dynamics and faster simulation HOT 2
- [BUG] 'PolynomialLibrary' object has no attribute 'calc_trajectory' HOT 1
- Feature library does not obey the set inputs_per_library [BUG] HOT 1
- Optimizer parameters validation improvement 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 pysindy.