Skip to content
This repository was archived by the owner on Feb 17, 2026. It is now read-only.
This repository was archived by the owner on Feb 17, 2026. It is now read-only.

Building model before cross-validation #2

@aolney

Description

@aolney

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions