API Reference#

This is the class and function reference of mlquantify. Please refer to the full user guide for further details, as the raw specifications of classes and functions may not be enough to give full guidelines on their use. For reference on concepts repeated across the API, see glossary.

Object

Description

get_config

set_config

config_context

BaseQuantifier

MetaquantifierMixin

ProtocolMixin

AggregationMixin

SoftPredictionMixin

CrispPredictionMixin

Calibrator

ClassifierCalibrator

QuantifierCalibrator

BaseComposeQuantifier

LinearComposeQuantifier

LikelihoodComposeQuantifier

ComposeQuantifier

BaseConfidenceRegion

ConfidenceInterval

ConfidenceEllipseSimplex

ConfidenceEllipseCLR

construct_confidence_region

CC

PCC

ThresholdAdjustment

TAC

TX

TMAX

T50

MS

MS2

FM

GACC

GPACC

evaluate_thresholds

compute_tpr

compute_fpr

compute_table

CDE

EMQ

MLPE

BaseLoss

DistanceLoss

LeastSquaresLoss

HellingerSurrogateLoss

EnergyLoss

NegativeLogLikelihoodLoss

MixtureNegativeLogLikelihoodLoss

RegularizedMixtureNLLLoss

normalize_distribution

get_loss

BaseMatchingQuantifier

MatchingHistogramQuantifier

DyS

HDy

HDx

SORD

MatchingKernelQuantifier

MMD_RKHS

KDEyQuantifier

KDEyML

KDEyHD

KDEyCS

GKDEyML

GHDx

GHDy

SMM

EDy

EDx

EnsembleQ

QuaDapt

AggregativeBootstrap

AE

SE

MAE

MSE

KLD

RAE

NAE

NRAE

NKLD

NMD

RNOD

VSE

CvM_L1

GridSearchQ

BaseProtocol

APP

NPP

UPP

PPP

binary_quantifier

BinaryQuantifier

PWK

QuaNet

BaseRepresentation

HistogramRepresentation

KDERepresentation

DistanceRepresentation

KernelMeanRepresentation

PredictionRepresentation

HardPredictionRepresentation

SoftPredictionRepresentation

solve_binary

ternary_search

solve_simplex

minimize_prevalence

minimize_prevalence_blocks

get_prev_from_labels

normalize_prevalence

load_quantifier

make_prevs

apply_cross_validation

simplex_uniform_kraemer

simplex_grid_sampling

simplex_uniform_sampling

get_indexes_with_prevalence