Repository navigation
Releases: EttoreRocchi/MaldiBatchKit
Releases · EttoreRocchi/MaldiBatchKit
Release list
v0.2.0
Added
NoOpCorrector: identity baseline corrector for use inAutoCorrector/ benchmark candidate lists.AutoCorrector: sklearn-compatible meta-corrector withmethodas a tunable hyperparameter, soGridSearchCVcan sweep across corrector families. AcceptsMETHOD_REGISTRYaliases or aBaseBatchCorrectorsubclass; forwards only kwargs the inner method supports; proxies fitted attributes.BatchCorrectionBenchmark: configure-then-.fitdiagnostic comparison withfull_data/stratified_splitprotocols and optional bootstrap CIs (resample_metricorrefit). Exposesresults_,results_long_,corrected_,baseline_,.rank(),.to_dataframe(),.plot();silhouette_batchranked by|value|.maldibatchkit.metrics: per-batch sklearn metrics aggregated withweights='uniform' | 'balanced' | 'size'(or custom). Shipsbatch_{roc_auc, average_precision, balanced_accuracy, matthews_corrcoef, f1, precision, recall}_score; drops degenerate single-class folds with a warning.make_batch_scorer(batch, metric=..., weights=...): factory yielding aGridSearchCV-compatible scorer that slicesbatchper fold; supports allresponse_methodvalues and string/callable metrics.