Search Results
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 |
Machine learning algorithms build a model of the training data. The term "machine learning" is vaguely defined; it includes what is also called statistical learning, reinforcement learning, unsupervised learning, etc. ALWAYS ADD A MORE SPECIFIC TAG.
5
votes
Use of nested cross-validation
With a held-out test set clf.fit produces one unbiased estimate while nested cross-validation with cross_val_score produces several unbiased estimates. The advantage of nested cross-validation is a be …
9
votes
2
answers
16k
views
How to prepare interactions of categorical variables in scikit-learn?
What is the best way to prepare interactions of categorical features before fitting with scikit-learn?
With statsmodels I could conveniently say in R-style smf.ols(formula = 'depvar ~ C(var1)*C(var2) …
75
votes
1
answer
71k
views
How to split the dataset for cross validation, learning curve, and final evaluation?
What is an appropriate strategy for splitting the dataset?
I ask for feedback on the following approach (not on the individual parameters like test_size or n_iter, but if I used X, y, X_train, y_trai …