tumourkit.classification.evaluate

Script to evaluate predictions.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.

Contact information: joseperez2000@hotmail.es

Functions

abline

Plot a line on the current axis given a slope and intercept.

compute_metrics

Computes various evaluation metrics based on the provided predictions and ground truth labels.

draw_reliability_diagram

Draws a reliability diagram and saves it to the specified path.

join_dictionaries

Joins the values from dict2 into dict1, modifying dict1.

main

main_with_args

save_metrics

Saves the computed metrics into a CSV file.