Размер видео: 1280 X 720853 X 480640 X 360
Показать панель управления
Автовоспроизведение
Автоповтор
good sirkeep it up...!
Thankyou :)
def kfold_in_model_selection_modual(): from sklearn.model_selection import KFold kf = KFold(n_splits=3, shuffle=False) print('*' * 50, 'cross_validation', '*' * 20) print('{}{:^51} {}'.format('Iterations', 'Training Set', 'Testing Set')) print('*' * 50, 'cross_validation', '*' * 20) for train_index, test_index in enumerate(kf.split(range(15))): print(train_index, test_index)
error: __init__() got multiple values for argument 'n_folds'
cross_validation model is deprecated... now use model_selection in py 3.6.6
I will come up with kfold from model_selection 😊 .. Thankyou
@@technologyCult use model selection please ,my problem is fitting x_train and y_train with linear regression, have you solution about my problem??
good sir
keep it up...!
Thankyou :)
def kfold_in_model_selection_modual():
from sklearn.model_selection import KFold
kf = KFold(n_splits=3, shuffle=False)
print('*' * 50, 'cross_validation', '*' * 20)
print('{}{:^51} {}'.format('Iterations', 'Training Set', 'Testing Set'))
print('*' * 50, 'cross_validation', '*' * 20)
for train_index, test_index in enumerate(kf.split(range(15))):
print(train_index, test_index)
error: __init__() got multiple values for argument 'n_folds'
cross_validation model is deprecated... now use model_selection in py 3.6.6
I will come up with kfold from model_selection 😊 .. Thankyou
@@technologyCult use model selection please ,my problem is fitting x_train and y_train with linear regression, have you solution about my problem??