1.调用原生包
# 取出特征和标签
import lightgbm as lgb
import pandas as pd
try:
import matplotlib.pyplot as plt
except ImportError:
raise ImportError('You need to install matplotlib for plotting.')
y_train = train_y.values
y_test = test_y
1.调用原生包
# 取出特征和标签
import lightgbm as lgb
import pandas as pd
try:
import matplotlib.pyplot as plt
except ImportError:
raise ImportError('You need to install matplotlib for plotting.')
y_train = train_y.values
y_test = test_y