lightgbm原始函数与Sklearn

LightGBM

1.原生态的LightGBM

https://github.com/microsoft/LightGBM/blob/master/examples/python-guide/simple_example.py

# coding: utf-8
import json
import lightgbm as lgb
import pandas as pd
from sklearn.metrics import mean_squared_error
import warnings
warnings.filterwarnings('ignore')
# 加载数

你可能感兴趣的:(机器学习)