Cross Validation Hold-out & K-Fold #748
-
The documentation doesn't really state what type of Cross Validation brain is doing. But since there is an optional K value, I assume it's a K-Fold. What is the default value if K is omitted? Or is it determined based on the dataset? Is there a way to train on 80% of the data and cross validate with remaining 20% (sometimes called Hold-out)? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
That is correct, it is K-Fold
4 as stated here - brain.js/src/cross-validate.ts Line 184 in 5d523fe
I don't believe so. The data is essentially split into k folds, and trained on, and then later compared. |
Beta Was this translation helpful? Give feedback.
That is correct, it is K-Fold
4 as stated here -
brain.js/src/cross-validate.ts
Line 184 in 5d523fe
I don't believe so. The data is essentially split into k folds, and trained on, and then later compared.