Answers for "what is lightgbm"

1

LightGBM

model = lgb.LGBMClassifier(learning_rate=0.09,max_depth=-5,random_state=42)
model.fit(x_train,y_train,eval_set=[(x_test,y_test),(x_train,y_train)],
          verbose=20,eval_metric='logloss')
Posted by: Guest on October-09-2021
0

LightGBM

metrics.plot_confusion_matrix(model,x_test,y_test,cmap='Blues_r')
Posted by: Guest on October-09-2021

Python Answers by Framework

Browse Popular Code Answers by Language