Re: [scikit-learn] Does sklearn contain xgboost?

2019-01-08 Thread Nicolas Hug
XGBoost is a specific implementation of gradient boosting trees, so strictly speaking scikit-learn cannot "contain" XGBoost. That being said: - XGBoost has a scikit-learn compatible API: https://xgboost.readthedocs.io/en/latest/python/python_api.html#module-xgboost.sklearn. So does LightGBM, a

[scikit-learn] Does sklearn contain xgboost?

2019-01-08 Thread lampahome
As title Does sklearn contain xgboost to use? thanks ___ scikit-learn mailing list scikit-learn@python.org https://mail.python.org/mailman/listinfo/scikit-learn

Re: [scikit-learn] LogisticRegression coef_ greater than n_features?

2019-01-08 Thread Sebastian Raschka
It seems like it's determined by the order in which they occur in the training set. E.g., from sklearn.preprocessing import OneHotEncoder import numpy as np x = np.array([['b'], ['a'], ['b']]) ohe = OneHotEncoder() xt = ohe.fit_transform(x) xt.todense() matrix([[0.,

Re: [scikit-learn] LogisticRegression coef_ greater than n_features?

2019-01-08 Thread pisymbol
Also Sebastian, I have binary classes but they are strings: clf.classes_: array(['American', 'Southwest'], dtype=object) On Tue, Jan 8, 2019 at 9:51 AM pisymbol wrote: > If that is the case, what order are the coefficients in then? > > -aps > > On Tue, Jan 8, 2019 at 12:48 AM Sebastian Rasch

Re: [scikit-learn] LogisticRegression coef_ greater than n_features?

2019-01-08 Thread pisymbol
If that is the case, what order are the coefficients in then? -aps On Tue, Jan 8, 2019 at 12:48 AM Sebastian Raschka wrote: > E.g, if you have a feature with values 'a' , 'b', 'c', then applying the > one hot encoder will transform this into 3 features. > > Best, > Sebastian > > > On Jan 7, 201

[scikit-learn] Using sklearn-crfsuite on Production Systems

2019-01-08 Thread Astha Agarwal
Hi, I'm wondering if anyone is using sklearn-crfsuite on production systems? Is this library suitable for usage in industry on production systems (and not academia) for non-big data problems? Thanks, Astha ___ scikit-learn mailing list scikit-learn@pyt

Re: [scikit-learn] Next Sprint

2019-01-08 Thread Hanmin Qin
Apologies I won't be available because of school work.Thanks the whole community for your great help. I'll continue to contribute and keep online during the sprint. Hanmin Qin - Original Message - From: Gael Varoquaux To: Scikit-learn mailing list Subject: Re: [scikit-learn] Next Sprint