Skip to content

Conversation

@tachyonicClock
Copy link

@tachyonicClock tachyonicClock commented Sep 21, 2023

  • LearningPerformanceEvaluator is now AutoCloseable to ensure PredictionLoggerEvaluator can flush predictions.
  • PredictionLoggerEvaluator can wrap another ClassificationPerformanceEvaluator.
  • Removed outputPredictionFile from classification tasks because it is redundant now.
  • Ensures all tasks close the evaluators.
  • Saves a gzip compressed CSV by default.
  • PredictionLoggerEvaluator only supports classification.

MOA GUI with PredictionLoggerEvaluator's default options

Output with probabilities:

true_class,class_prediction,class_probability_0,class_probability_1,
1,0,0.00,0.00,
1,0,0.00,0.00,
0,1,0.00,1.00,
0,1,0.33,0.67,
1,0,0.50,0.50,
0,0,1.00,0.00,

Output without probabilities:

true_class,class_prediction,
1,0,
1,0,
0,1,
0,1,
1,0,
0,0,
1,1,

Some tests fail but I believe these fail on master:
Pasted image 20230921134835

@tachyonicClock tachyonicClock marked this pull request as ready for review September 21, 2023 03:26
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

Successfully merging this pull request may close these issues.

1 participant