You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 25, 2024. It is now read-only.
micromlgen works well with XGBClassifier. Which is imported from xgboost.
from xgboost import XGBClassifier
But in my program, I am using xgboost without any importa like this
import xgboost as xgb
model = xgb.cv(param,dtrain,num_boost_round=420,nfold=10,stratified=True,verbose_eval=20)
model = xgb.train(param,dtrain,420,[(dtrain,'train')],verbose_eval=20)
I tried using port on model, which gives me error
Traceback (most recent call last):
File "model_microml_training.py", line 161, in <module>
predict(sys.argv[1])
File "model_microml_training.py", line 151, in predict
print(port(model))
File "/home/admin/dawid_venv_xgboost_1.1.0/lib/python3.5/site-packages/micromlgen/micromlgen.py", line 45, in port
raise TypeError('clf MUST be one of %s' % ', '.join(platforms.ALLOWED_CLASSIFIERS))
TypeError: clf MUST be one of SVC, OneClassSVC, RVC, SEFR, DecisionTree, RandomForest, GaussianNB, LogisticRegression, PCA, PrincipalFFT, LinearRegression, XGBClassifier
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
micromlgen works well with XGBClassifier. Which is imported from xgboost.
from xgboost import XGBClassifier
But in my program, I am using
xgboost
without any importa like thisI tried using
port
onmodel
, which gives me errorThe text was updated successfully, but these errors were encountered: