ResultsHandle

class hybrid_learning.concepts.analysis.results.ResultsHandle[source]

Bases: ABC

Base class for dictionary form result handles.

Public Methods:

save(folder)

Save the results under the root given by folder.

to_pandas()

Return a pandas object representation of the held results.

Special Methods:

__repr__()

Return repr(self).


__repr__()[source]

Return repr(self).

Return type

str

static emb_info_to_pandas(embs, stats=None, std_dev=None)[source]

Quick info about an embedding and its stats (and standard dev) as pandas.Series.

Parameters
Return type

Series

classmethod emb_info_to_string(embs, stats=None, std_dev=None)[source]

Printable quick info about the given embedding with stats (and standard deviation).

Parameters
Return type

str

abstract classmethod load(folder)[source]

Load results and return handle for them.

Parameters

folder (str) –

Return type

ResultsHandle

abstract save(folder)[source]

Save the results under the root given by folder.

Parameters

folder (str) –

abstract to_pandas()[source]

Return a pandas object representation of the held results.

Return type

DataFrame