Re: [scikit-learn] Can I install Python ML library such as XGBoost without pip?

2021-04-05 Thread David Nicholson
You might find more people that can help with other libraries such as XGBoost and conda on stack overflow, a list dedicated to those tools, or their github repositories. https://discuss.xgboost.ai/ https://groups.google.com/a/continuum.io/g/conda David Nicholson, Ph.D. https://nicholdav.info

Re: [scikit-learn] running examples

2021-03-23 Thread David Nicholson
Looks like you need to install pandas for this example--`fetch_openl` is trying to give you back a pandas DataFrame https://scikit-learn.org/stable/modules/generated/sklearn.datasets.fetch_openml.html#sklearn.datasets.fetch_openml not sure if you could just run it with as_frame = False David

Re: [scikit-learn] Fwd: Proposing Encoder class to encode Ordinal attributes

2019-05-13 Thread David Nicholson
There is this in scikit-learn-contrib, Categorical Encodering: https://joss.theoj.org/papers/d57818316816a19a80112892c3d12ed7 https://github.com/scikit-learn-contrib/categorical-encoding David Nicholson, Ph.D. https://nicholdav.info/ https://github.com/NickleDave Prinz lab <h

Re: [scikit-learn] Jeff Levesque: neuroscience related datasets

2018-05-05 Thread David Nicholson
/6163622 https://github.com/MouseLand/stringer-pachitariu-et-al-2018a explainer twitter thread: https://twitter.com/marius10p/status/988069221941874688 David Nicholson, Ph.D. nickledave.github.io https://github.com/NickleDave Prinz lab <http://www.biology.emory.edu/research/Prinz/>,

Re: [scikit-learn] Jeff Levesque: neuroscience related datasets

2018-05-05 Thread David Nicholson
: https://paris-saclay-cds.github.io/autism_challenge/ https://twittr.com/GaelVaroquaux/status/992752034242879488 https://twitter.com/GaelVaroquaux/status/992752034242879488 --David David Nicholson, Ph.D. nickledave.github.io https://github.com/NickleDave Prinz lab <http://www.biology.emory.edu/resea

Re: [scikit-learn] I’m in trouble and I need your advice on operating scikit-learn

2018-03-29 Thread David Nicholson
function to train and test. >>> But I have no idea on what to import, how to write codes correctly, and >>> so on >>> >>> It will be thankful to give me some help. >>> >>> <https://mail.python.org/mailman/listinfo/scikit-learn> >>

Re: [scikit-learn] How can i write the birch prediction results to the file

2017-08-21 Thread David Nicholson
Ack, should've mentioned you can do: from sklearn.externals import joblib since it is a sklearn dependency. That way you won't need to install joblib separately On Aug 21, 2017 10:38, "David Nicholson" wrote: > Hi Sema, > > You can save using pickle from the Pyth

Re: [scikit-learn] How can i write the birch prediction results to the file

2017-08-21 Thread David Nicholson
Hi Sema, You can save using pickle from the Python standard library, or using the joblib library which is a dependency of sklearn (so you have it already). The sklearn docs show examples of saving models but it will work for your predict results too: http://scikit-learn.org/stable/modules/model_p

Re: [scikit-learn] Is there a built-in function for pairs of data?

2016-09-26 Thread David Nicholson
Do you mean like train_test_split? http://scikit-learn.org/stable/modules/generated/sklearn.cross_validation.train_test_split.html On Sep 26, 2016 14:43, "Afarin Famili" wrote: > > Dear Scikit-learn team, > > > We need to deal with pairs of data in our classification task. I was > wondering if t

Re: [scikit-learn] Is there any official position on PEP484/mypy?

2016-07-28 Thread David Nicholson
gt;> of these annotation. I am afraid that they coderot. > >> > >> Daniel, any comments on that concern? > > We can put mypy in the CI, right? Shouldn't that prevent it from rotting? > > [I don't actually know. Daniel?] > > _______

Re: [scikit-learn] Decoding Differences Between SKL SVM and Matlab Libsvm Even When Parameters the Same

2016-06-22 Thread David Nicholson
Did you try using the Python API to libsvm directly instead of through SKL? I'm guessing you have it on your computer since you have the Matlab API. That would at least let you test whether it's the fake data or whether it's SKL. Also are you loading the fake data from a .mat file into Python (e.g.