❭ API reference ❭ data_base ❭ IO ❭ LoaderDumper ❭
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_indexis not kept.
- The - ReducedLdaModelattribute- db_list, which normally contains- DataBaseinstances, is replaced by a list of strings that only contain the unique_id of each database. This prevents unpickling errors in case the- DataBasehas 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. | 
Documentation unclear, incomplete, broken or wrong? Let us know