Re: [Scikit-learn-general] Double Gaussian fitting

2014-03-28 Thread Jacob Vanderplas
Hi, >From what I understand, mlab.normpdf expects the standard deviation, while you're passing it the variance, which is the square of the standard deviation. If you want to see what the fit looks like, I think it's much better to just let sklearn do the work, e.g. plt.plot(x, np.exp(clf.eval

Re: [Scikit-learn-general] Load multilabel libvm format file

2014-03-28 Thread Lars Buitinck
2014-03-19 1:15 GMT+01:00 Anitha Gollamudi : > Looks like the value error is haunting me still. I am trying to load a > multi-label libSVM format data file (sample pasted below) as: > > X_train, y_train = load_svmlight_file("testtrain.txt", dtype=np.int32, > multilabel=True) > > which gives me at-l

[Scikit-learn-general] Double Gaussian fitting

2014-03-28 Thread Balmer, Matthew
Hi, I asked a question here on stackoverflow: http://stackoverflow.com/questions/22665077/double-gaussian-fitting-with-scikit-learn But there seems to be more activity on this board, so hopefully someone here can help? In case someone can't access the above... I am trying to fit two separate