[Scikit-learn-general] Checksum on 0.14.1: altered since release on 2013-08-08 ???

2013-09-24 Thread Lionel D. Hummel
I attempted to install 0.14.1 via MacPorts, but it aborts because the downloaded tarfile image is failing its checksum. MacPorts expects scikit-learn-0.14.1.tar.gz to have a sha256 of: 4c317cabb56c61f4c574879b53aa6bbea0132bb630678229bce98638f4b000e0 The file with that name on SourceForge

[Scikit-learn-general] Which scikit-learn contributors share common interests?

2013-09-24 Thread Mathieu Blondel
Hi everyone, At ECML/PKDD, Lars and I were discussing the idea of using machine learning (and scikit-learn) to find out interesting things about our contributors (github indicates that we have over 180 of them so far). The idea would be to represent a contributor as a vector, the entries of which

Re: [Scikit-learn-general] Multiclass Logistic Regression.

2013-09-24 Thread Luca Cerone
Ok training a OneVsAll classifier it was actually easy. To inspect the individual classifier I can use the .estimators_ attribute? Do the estimators in it correspond to the .classes_ that is the estimators_[0] is trained to recognize .classes_[0] vs the other and so on? Is there a way to check how

[Scikit-learn-general] Multiclass Logistic Regression.

2013-09-24 Thread Luca Cerone
Dear all, I am practising with scikit-learn to solve multiclass classification problems. As an exercise I am trying to build a model to predict the digits dataset available with scikit-learn. Ideally I would like to solve this using logistic regression, building a predictor for each digit (one v

Re: [Scikit-learn-general] Probabilistic PCA

2013-09-24 Thread Jaques Grobler
@Dennis - sorry I just saw you're message a second too late. 2013/9/24 Jaques Grobler > ProbabilisticPCA will be removed in version 0.16 as it is deprecated. > > The documentation duplication comes from the fact that ProbabilisticPCA > inherited from PCA and thus took docstrings too in the au

Re: [Scikit-learn-general] Probabilistic PCA

2013-09-24 Thread Jaques Grobler
ProbabilisticPCA will be removed in version 0.16 as it is deprecated. The documentation duplication comes from the fact that ProbabilisticPCA inherited from PCA and thus took docstrings too in the auto generated reference section. J 2013/9/24 Shishir Pandey > On 24-09-2013 18:03, Denis-Alexa

Re: [Scikit-learn-general] Probabilistic PCA

2013-09-24 Thread Denis-Alexander Engemann
Hi Shishir, this duplication was due to the fact that the previous ProbsbilisticPCA class inherited from PCA and hence the documentation was almost the same. https://github.com/scikit-learn/scikit-learn/blob/master/sklearn/decomposition/pca.py#L459 This class is now deprecated, I hope the new do

Re: [Scikit-learn-general] Probabilistic PCA

2013-09-24 Thread Shishir Pandey
On 24-09-2013 18:03, Denis-Alexander Engemann wrote: > Hi Shishir, > > please note that the ProbabilisiticPCA got recently refactored which > lead to API changes and improved documentation + examples. > > https://github.com/scikit-learn/scikit-learn/pull/2404 > > Did you take these changes into ac

Re: [Scikit-learn-general] Probabilistic PCA

2013-09-24 Thread Denis-Alexander Engemann
Hi Shishir, please note that the ProbabilisiticPCA got recently refactored which lead to API changes and improved documentation + examples. https://github.com/scikit-learn/scikit-learn/pull/2404 Did you take these changes into account? If not it would be great to know which exmample / reduplic

Re: [Scikit-learn-general] Error when using an array for one feature linear regression

2013-09-24 Thread Luca Cerone
Thanks Vlad, and Jacques, I agree that it is explained in the documentation, and probably cover such cases would be cumbersome. I am a long-time matlab user, that's why sometimes I wonder if certain features are intended or not. Thanks for the time, and for the trick on reshaping the vector! On

[Scikit-learn-general] Probabilistic PCA

2013-09-24 Thread Shishir Pandey
Hi I am just pointing out that documentation page for both Probabilistic PCA and PCA have the same example (a lot of documentation is also same). Is there an example which demonstrates the difference between the two methods? How to use ProbabilisticPCA on some data? -- sp -

Re: [Scikit-learn-general] Error when using an array for one feature linear regression

2013-09-24 Thread Vlad Niculae
Just to add, I don't think you need to reshape y. And reshaping x can be more briefly stated as x[:, np.newaxis]. In my opinion supporting such cases, while convenient for users, would lead to annyoing branches and code that is harder to maintain and test. The important thing is being consistent.

Re: [Scikit-learn-general] Error when using an array for one feature linear regression

2013-09-24 Thread Jaques Grobler
On a sidenote regarding my different traceback - i'm using the latest developers version 2013/9/24 Jaques Grobler > Hi Luca, > > From the docs, > > fit(*X*, *y*, > *n_jobs=1*)

Re: [Scikit-learn-general] Error when using an array for one feature linear regression

2013-09-24 Thread Jaques Grobler
Hi Luca, >From the docs, fit(*X*, *y*, *n_jobs=1*) Fit linear model. Parameters : *X* : numpy array or sparse matrix of shape [n_samples,n_features] Training

[Scikit-learn-general] Error when using an array for one feature linear regression

2013-09-24 Thread Luca Cerone
Dear all, I have noticed that the Linear Regression fails to perform the prediction if performed on with a dataset and target that are normal array. You can replicate this as follows: from pylab import linspace, permutation, randn from sklearn import linear_model >>> clf = linear_model.LinearRe