-
In the code where you've shown how to apply stratified k-fold cross validation to a regression problem, I noticed a small bug.
```def create_folds(data):
# we create a new column called kfold and…
-
Currently, our train-test splitting function mostly serves to show the result of train-test splitting. Though the output datasets can be used directly, it would require a custom workflow e.g. for cros…
-
Unless we want to do the kfold by hand, it might be a good idea to cut the data input (once it is loaded into the array) into 5 parts. That way we can do 5fold cross validation automatically, running …
-
I'm using BayesSearchCV to optimise an XGBoost model to fit some data I have. While the model fits fine, I am puzzled by the scores provided in the diagnostic information and am unable to replicate th…
-
#### Summary:
There appears to be a problem with using `kfold` on stan_surv models. Error returned is: `Error: passing unknown arguments: subset.`
#### Description:
I'm fitting multi-level surviv…
-
Checkout this revision: 85b6087b2917014530096c4f65c78c15189f966a
then run:
ds = prtDataGenUnimodal;
class = prtClassFld;
ds = class.kfolds(ds,10);
disp(ds)
You will see ds has userData i…
-
### Motivation
When training a model using a nested cross-validation approach, different studies are created for each split of the outer cross-validation. However, it would be interesting to organize…
-
Hello!
I keep getting this error, Could you please let me know if you know why this error occurs:
Error in `dplyr::pull()`:
! `!!enquo(var)` must select exactly one column.
Run `rlang::last_trac…
-
classification_model(model, df,predictors_Logistic,outcome_var)
test_modified.to_csv("Logistic_Prediction.csv",columns=['Loan_ID','Loan_Status'])
TypeError Traceb…
-
**What happened**:
I'm currently trying to create a pipeline for model training using `LogisticRegression` and Nested cross-validation. I've got an unexpected `AttributeError` during the pipeline exe…