plotting tools
Bases: object
Given a study and list of data types, get the relevant feature subsets
Parameters: | study : flotilla.Study
|
---|
Bases: flotilla.compute.predict.PredictorBase
A dataset-predictor pair from PredictorDatasetManager
One datset, one predictor, from dataset manager.
Parameters: | predictor_name : str
data_name : str
trait_name : str
X_data : pandas.DataFrame, optional
trait : pandas.Series, optional
predictor_obj : sklearn predictor, optional
predictor_scoring_fun : function, optional
score_cutoff_fun : function, optional
n_features_dependent_kwargs : dict, optional
constant_kwargs : dict, optional
|
---|
plot kernel density of predictor scores and draw a vertical line where the cutoff was selected ax - ax to plot on. if None: plt.gca()