Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 63739

Repeatedly withholding subsets of the data during model fitting in order to quantify the model performance on the withheld data subsets.

1 vote
Accepted

Scoring a model with "distance from truth"

The metric you describe is in fact very common: It's mean absolute error, or MAE. In scikit learn you can find it in the metrics submodule. Usually it's used for regression tasks, not for classificat …
Denwid's user avatar
  • 722
8 votes
3 answers
3k views

Train test split with time and person indexed data

Setup Consider the data in the tables below, indexed by Subject and Time $t$. Both tables show the same dataset, once ordered by Subject, once ordered by $t$ (left vs. right). The train-test split fo …
Denwid's user avatar
  • 722
1 vote

Why does `sklearn`'s validation curve return test scores in unsupervised learning?

validation_curve() is "similar to grid search with one parameter" and "merely a utility for plotting the results". Not a lot of intelligence is built into the function if you look at its code. In pa …
Denwid's user avatar
  • 722
5 votes
Accepted

Why the best model is the one with the smallest R squared? Ridge Regression

What went wrong? You're comparing apples with oranges You computed training scores, meaning you scored the model on data you trained it with. You should compute test scores, i.e. a score on data the …
Denwid's user avatar
  • 722