-
In lec11 jupyter notebook, cross_validation_accuracy is defined as
```
# 5-fold cross-validation accuracy
from sklearn.model_selection import KFold
def do_cross_validation(model, X, y, n_folds…
-
## Expected behaviour
Train a RandonForest on 74000 sample with 26 attributes.
## Actual behaviour
java.lang.IllegalArgumentException: The response variable is not nominal.
at smile.data.Da…
-
There seems to be a problem using LOO when I combine BSTS + a group-level intercept. A reprex below:
``` r
library(brms)
#> Loading required package: Rcpp
#> Loading required package: ggplot2
…
-
Elm PR #192 added tests of `Pipeline` and `EaSearchCV` for xarray and numpy data structures (see #202 for goals there). Some of the tests on xarray based data structures were failing when they relate…
-
#### Description
Using a [cross-validation iterator](http://scikit-learn.org/stable/modules/cross_validation.html#cross-validation-iterators) behaves differently when using it with [cross_val_score](…
-
Cross validation parameter bug in TPOTRegressor using iterable object while creating a customized validation set
## Context of the issue
When using the iterable object, the function throws an er…
-
sklearn.cross_validation is changed to model_selection
maybe we should update StratifiedKfold and kfold which changed their parameters to avoid any subtle bug
-
Using the cross-validation approach for Cox PH models as described in Verweij and van Houwelingen (1993) (`cvrisk(..., correted = TRUE)`) does not seem to work:
```r
## use CoxFlexBoost to simulat…
-
#### Description
#### Steps/Code to Reproduce
Below is a pretty minimal pipeline/GridSearchCV example, with some print statements in two trivial transformer classes, to log when each's `.fit` an…
-
Not sure why but if I use deepFM for regression problem, MAE not improving?
Example:
import numpy as np
from DeepFM import DeepFM
import tensorflow as tf
import pandas as pd
from sklearn.cross…