Predictor (chamois.predictor)#

Predictor of chemical classes from genomic features.

Predictor#

ChemicalOntologyPredictor

A model for predicting chemical hierarchy from BGC compositions.

Information-theoric metrics#

information_accretion

Compute the information accretion using frequencies from the given labels.

remaining_uncertainty_score

Compute the remaining uncertainty score for a prediction.

misinformation_score

Compute the misinformation score for a prediction.

semantic_distance_score

information_theoric_curve

Return the information theoric curve for the predictions.

weighted_information_theoric_curve

Return the weighted information theoric curve for the predictions.

weighted_precision_recall_curve