qsprpred.utils.interfaces package

Submodules

qsprpred.utils.interfaces.randomized module

class qsprpred.utils.interfaces.randomized.Randomized(seed: int | None = None)[source]

Bases: object

An object with one or more pseudorandom actions that can be fixed with a seed.

Variables:

seed (int | None) – The seed to use to randomize the action. If None, a random seed is used instead of a fixed one (default: None).

Create a new randomized action.

Parameters:

seed – the seed to use to randomize the action. If None, a random seed is used instead of a fixed one (default: None).

getSeed()[source]

Get the seed used to randomize the action.

setSeed(seed: int | None = None)[source]

qsprpred.utils.interfaces.summarizable module

class qsprpred.utils.interfaces.summarizable.Summarizable[source]

Bases: object

abstract getSummary() DataFrame[source]

Make a summary with some statistics about this object or action.

Returns:

A dataframe with the summary statistics.

Return type:

(pd.DataFrame)

Module contents