Skip to content

Evaluating ClusteredPredictor #62

Description

@kowshikthopalli

Hi
Thank you for this amazing toolbox. I have a question regarding how to use clustered predictor for evaluation.

  predictor =  ClusteredPredictor(score_function=THR(score_type='identity'),model=model, split='doubledip')
  predictor.calibrate(calib_loader,alpha=0.1)
  class_specific_thresholds = predictor.q_hat
  result_dict = predictor.evaluate(test_loader)

However predictor.evaluate is not implemented in ClusteredPredictor but inherits from the SplitPredictor which does not take clustering into account. Can you tell me how to evaluate please. ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions