Skip to content

Setting Threshold for Predict #403

Closed
@korzh

Description

@korzh

Suppose we have some binary classification task and train the model using any of binary classifier available (LogisticRegressionBinaryClassifier or FastTreeBinaryClassifier or anything else).

Then we evaluate our model on a testing set using BinaryClassificationEvaluator. During this evaluation we can set a threshold using Threshold property of the evaluator.

The question is: how can we set the threshold for prediction?

Metadata

Metadata

Assignees

No one assigned

    Labels

    APIIssues pertaining the friendly APIdocumentationRelated to documentation of ML.NETgood first issueGood for newcomersquestionFurther information is requestedup-for-grabsA good issue to fix if you are trying to contribute to the project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions