Top "Cross-validation" questions

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

Cross validation for glm() models

I'm trying to do a 10-fold cross validation for some glm models that I have built earlier in R. I'm …

r partitioning prediction glm cross-validation
What does KFold in python exactly do?

I am looking at this tutorial: https://www.dataquest.io/mission/74/getting-started-with-kaggle I got to part 9, making predictions. In there …

python cross-validation kaggle
Difference between using train_test_split and cross_val_score in sklearn.cross_validation

I have a matrix with 20 columns. The last column are 0/1 labels. The link to the data is here. I am …

python scikit-learn cross-validation
How to extract model hyper-parameters from spark.ml in PySpark?

I'm tinkering with some cross-validation code from the PySpark documentation, and trying to get PySpark to tell me what model …

pyspark modeling cross-validation apache-spark-mllib apache-spark-ml
Does TensorFlow have cross validation implemented for its users?

I was thinking of trying to choose hyper parameters (like regularization for example) using cross validation or maybe train multiple …

python tensorflow machine-learning scikit-learn cross-validation
Difference between glmnet() and cv.glmnet() in R?

I'm working on a project that would show the potential influence a group of events have on an outcome. I'm …

r classification glm cross-validation glmnet
Cross Validation in Keras

I'm implementing a Multilayer Perceptron in Keras and using scikit-learn to perform cross-validation. For this, I was inspired by the …

machine-learning keras scikit-learn neural-network cross-validation
Python: LightGBM cross validation. How to use lightgbm.cv for regression?

I want to do a cross validation for LightGBM model with lgb.Dataset and use early_stopping_rounds. The following …

python regression cross-validation lightgbm
predict_proba for a cross-validated model

I would like to predict the probability from Logistic Regression model with cross-validation. I know you can get the cross-validation …

python scikit-learn logistic-regression cross-validation
What is the difference between cross_val_score with scoring='roc_auc' and roc_auc_score?

I am confused about the difference between the cross_val_score scoring metric 'roc_auc' and the roc_auc_score …

python machine-learning scikit-learn random-forest cross-validation