On 27.02.2015 18:55, Peter Pearson wrote:
On Thu, 26 Feb 2015 09:59:45 -0800 (PST),jaykim.hui...@gmail.com  wrote:
>
>I am trying to use Gaussian process regression for Near Infrared
>spectra. I have reference data(spectra), concentrations of reference
>data and sample data, and I am trying to predict concentrations of
>sample data. Here is my code.
>
>from sklearn.gaussian_process import GaussianProcess
>gp = GaussianProcess()
>gp.fit(reference, concentration)
>concentration_pred = gp.predict(sample)
[snip]

I'm sorry you're not getting help from this normally very helpful group.
I'd guess that's because nobody here uses sklearn.  Where did you get
sklearn?  Is it possible that there's an sklearn forum somewhere?

http://blog.gmane.org/gmane.comp.python.scikit-learn

Cheers,

Fabien
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to