data_base
❭ IO
❭ LoaderDumper
❭ reduced_lda_model
reduced_lda_model¶
Read and write a ReducedLdaModel
.
During saving, the data undergoes the following changes:
Spike times and lda values are kept with an accuracy of \(.01\).
The index of the spike times is reset, i.e. the
sim_trial_index
is not kept.The
ReducedLdaModel
attributedb_list
, which normally containsDataBase
instances, is replaced by a list of strings that only contain the unique_id of each database. This prevents unpickling errors in case theDataBase
has been removed.Older versions of reduced models do not have the attribute st. They are stored with an empty dataframe (
Rm.st = pd.DataFrame()
) to be compliant with the new version.
The output is a database with the following keys:
Key |
Description |
---|---|
|
Spike times with a precision of \(.01\). |
|
Dictionaries of LDA values with a precision of \(.01\). |
|
The reduced model. |
Classes¶
Loader for |
Functions¶
|
Check whether the object can be saved with this dumper |
|
Save the reduced model in the specified directory as a DataBase. |