зеркало из https://github.com/microsoft/LightGBM.git
This commit is contained in:
Родитель
3b5470015b
Коммит
a630da3e21
|
@ -1,11 +1,11 @@
|
||||||
# coding: utf-8
|
# coding: utf-8
|
||||||
import numpy as np
|
import numpy as np
|
||||||
import pandas as pd
|
import pandas as pd
|
||||||
import lightgbm as lgb
|
|
||||||
|
|
||||||
from sklearn.metrics import mean_squared_error
|
from sklearn.metrics import mean_squared_error
|
||||||
from sklearn.model_selection import GridSearchCV
|
from sklearn.model_selection import GridSearchCV
|
||||||
|
|
||||||
|
import lightgbm as lgb
|
||||||
|
|
||||||
print('Loading data...')
|
print('Loading data...')
|
||||||
# load or create your dataset
|
# load or create your dataset
|
||||||
df_train = pd.read_csv('../regression/regression.train', header=None, sep='\t')
|
df_train = pd.read_csv('../regression/regression.train', header=None, sep='\t')
|
||||||
|
|
Загрузка…
Ссылка в новой задаче