LDALearner

class pyprophet.scoring.classifiers.LDALearner[source]

Bases: LinearLearner

Implements a Linear Discriminant Analysis (LDA) learner.

- learn

Train the LDA model using decoy and target peaks.

- get_parameters

Retrieve the scaling parameters of the LDA model.

- set_parameters

Set the scaling parameters of the LDA model.

__init__()[source]
get_parameters()[source]

Retrieve the scaling parameters of the LDA model.

learn(decoy_peaks, target_peaks, use_main_score=True)[source]

Train the LDA model using decoy and target peaks.

set_parameters(w)[source]

Set the scaling parameters of the LDA model.