Skip to content

Instantly share code, notes, and snippets.

@sid321axn
Created August 19, 2020 12:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sid321axn/f4a53c7406dbdb27e241aa094f516f3e to your computer and use it in GitHub Desktop.
Save sid321axn/f4a53c7406dbdb27e241aa094f516f3e to your computer and use it in GitHub Desktop.
lgb = LGBMClassifier(objective='multiclass',boosting_type= 'gbdt',n_jobs = 5,
silent = True, random_state=5)
LGB_C = lgb.fit(X_train, y_train)
model = xgb.XGBClassifier(n_estimators= 100)
model.fit(X_train,y_train)
gbdt = GradientBoostingClassifier(n_estimators=100,max_features='sqrt')
gbdt.fit(X_train,y_train)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment