Top "Cross-validation" questions

Cross-Validation is a method of evaluating and comparing predictive systems in statistics and machine learning.

cost function in cv.glm of boot library in R

I am trying to use the crossvalidation cv.glm function from the boot library in R to determine the number …

r glm cross-validation
Python - LightGBM with GridSearchCV, is running forever

Recently, I am doing multiple experiments to compare Python XgBoost and LightGBM. It seems that this LightGBM is a new …

python cross-validation xgboost grid-search lightgbm
key error not in index while cross validation

I have applied svm on my dataset. my dataset is multi-label means each observation has more than one label. while …

python scikit-learn cross-validation
Cross validation for MNIST dataset with pytorch and sklearn

I am new to pytorch and are trying to implement a feed forward neural network to classify the mnist data …

scikit-learn pytorch cross-validation mnist k-fold
Error: Classification metrics can't handle a mix of multiclass-multioutput and multilabel-indicator targets

I am newbie to machine learning in general. I am trying to do multilabel text classification. I have the original …

python cross-validation multilabel-classification
How to perform 10 fold cross validation with LibSVM in R?

I know that in MatLab this is really easy ('-v 10'). But I need to do it in R. I …

r machine-learning svm libsvm cross-validation
Sklearn custom transformers: difference between using FunctionTransformer and subclassing TransformerMixin

In order to do proper CV it is advisable to use pipelines so that same transformations can be applied to …

python machine-learning scikit-learn cross-validation
how to implement walk forward testing in sklearn?

In sklearn, GridSearchCV can take a pipeline as a parameter to find the best estimator through cross validation. However, the …

python scikit-learn time-series cross-validation
Using statsmodel estimations with scikit-learn cross validation, is it possible?

I posted this question to Cross Validated forum and later realized may be this would find appropriate audience in stackoverlfow …

python scikit-learn cross-validation statsmodels
Classification report with Nested Cross Validation in SKlearn (Average/Individual values)

Is it possible to get classification report from cross_val_score through some workaround? I'm using nested cross-validation and I …

machine-learning scikit-learn classification cross-validation