Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building model before cross-validation #2

Open
aolney opened this issue Mar 2, 2014 · 0 comments
Open

Building model before cross-validation #2

aolney opened this issue Mar 2, 2014 · 0 comments

Comments

@aolney
Copy link

aolney commented Mar 2, 2014

Right now this seems to happen in BaseClassifier.cs

public PmlEvaluation EvaluateWithCrossValidation(int numfolds = 10, bool quiet = false, bool getPredictions = true)
{
Build(quiet);
return new ClassifierEvaluator(Runtime, (IBaseClassifier)this).
EvaluateWithCrossValidateion(numfolds, quiet, getPredictions);
}

However, the WEKA maintainers say that building the model before crossvalidation can lead to incorrect results:

http://weka.8497.n7.nabble.com/Model-serialization-and-prediction-td6574.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant