jakevdp / sklearn_pycon2015 Goto Github PK
View Code? Open in Web Editor NEWMaterials for my Pycon 2015 scikit-learn tutorial.
License: BSD 3-Clause "New" or "Revised" License
Materials for my Pycon 2015 scikit-learn tutorial.
License: BSD 3-Clause "New" or "Revised" License
Hello,
I noticed that in the older sklearn_pycon versions (eg. https://github.com/ogrisel/sklearn_pycon2014/blob/master/notebooks/04_supervised_in_depth.ipynb in line [17] ), the arguments of confusion_matrix are not correct since the right way is to put as first argument the y_test and as second the y_pred.
However, in this version, sklearn_pycon2015 it is correct.
Cheers,
S
In 04.3-Density-GMM.ipynb
of In [3]
, it complains at clf = GMM(4, n_iter=500, random_state=3).fit(x)
that:
/usr/local/lib/python2.7/dist-packages/sklearn/mixture/gmm.pyc in fit(self, X, y)
433 raise ValueError(
434 'GMM estimation with %s components, but got only %s samples' %
--> 435 (self.n_components, X.shape[0]))
Can you please tell what's going on? Thanks!
I know these notebooks are five years old, but still looks like an excellent resource for getting up to speed based on my previous experience with JakeVDP content.
I created a new virtual environment, pip installed the latest packages, and cloned the repo. Hitting a deprecation error on the very first chart, and it is not obvious to me how to fix this. Any chance that these can be updated? I expect I'll be hitting some other issues as I work through.
I guess I could install all of the older versions of the packages and try again, but I hate to move backward.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.