k-fold

Why sklearn's KFold can only be enumerated once (also on using it in xgboost.cv)?

Why sklearn's KFold can only be enumerated once (also on using it in xgboost.cv)? Question: Trying to create a KFold object for my xgboost.cv, and I have import pandas as pd from sklearn.model_selection import KFold df = pd.DataFrame([[1,2,3,4,5],[6,7,8,9,10]]) KF = KFold(n_splits=2) kf = KF.split(df) But it seems I can only enumerate once: for i, (train_index, …

Total answers: 1

Weights&Biases Sweep Keras K-Fold Validation

Weights&Biases Sweep Keras K-Fold Validation Question: I’m using Weights&Biases Cloud-based sweeps with Keras. So first i create a new Sweep within a W&B Project with a config like following: description: LSTM Model method: random metric: goal: maximize name: val_accuracy name: LSTM-Sweep parameters: batch_size: distribution: int_uniform max: 128 min: 32 epochs: distribution: constant value: 200 node_size1: …

Total answers: 1