-
### Describe the workflow you want to enable
StratifiedKFold and other stratified splitters were designed to balance cross validation based on target or some features.
Currently, if you pass a col…
-
# compare algorithms
from pandas import read_csv
from matplotlib import pyplot
from sklearn.model_selection import train_test_split
from sklearn.model_selection import cross_val_score
from sklear…
-
**Describe the bug**
This could be a bug, or it might just be that users need better guardrails/examples about the appropriate use of grid searching methods in hyper-parameter tuning. As the examples…
-
I would just love to use this on timeseries data and out of the box it seems to do pretty well, but I don't know if I'm interpreting the score right, however, I read over the readme at this link: http…
-
I am attempting to implement an isolation forests pipeline with cross validation, but when I run the pipeline I get error saying that my step 4 where I implement k-folds cross validation cannot be add…
-
https://github.com/jamie2017/LearningWithNoisyLabels/blob/6bb1f673aed4311dbd6f206a8cbe487244d0cf32/src/TrainingModel.py#L82
p_y and py are related to the labels.
-
`/usr/local/lib/python3.5/dist-packages/sklearn/cross_validation.py:41: DeprecationWarning: This module was deprecated in version 0.18 in favor of the model_selection module into which all the refacto…
-
def cross_validation(self, seed=2, epochs=350, batch_size=64,
n_splits=5, shuffle=False, pred_test=False, save=False):
"""
"""
from sk…
-
The library documentation do not provide much guidance on test/train split and cross validation. See below an implementation using KFold object in sci-kit learn.
How does the blocking strategy used…
-
Hi! I'm actually trying to run this code but unfortunately I'm stuck at this one error from days and I'm not understanding what to do about it.
Traceback (most recent call last):
File "cross_val…