python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
how to use an explicit validation set with predefined split fold?
I have explicit train, test and validation sets as 2d arrays:
X_train.shape
(1400, 38785)
X_val.shape
(200, 38785)
X_test.shape
(400, 38785)
I am tuning the alpha parameter and need advice about how ...
Bluetail
Votes: 0
Answers: 1
How to use nls with caret to do cross-validation
I have fit several models using nls to the same data and am trying to figure out how to use caret to do K-fold cross-validation (eg., here). This SO question asked a general question about using nls i...
D Kincaid
Votes: 0
Answers: 1
How to Get the Best Parameters of Cross_val_score?
How can I get the best parameters?
wrapped = KerasClassifier(build_fn=createmodel_batch, epochs=100, batch_size=5, verbose=0)
folds = StratifiedKFold(n_splits=3, shuffle=True, random_state=15)
results...
Rinad Akl
Votes: 0
Answers: 1