cpm.utils#
Helpers to prepare data for the models in cpm.applications.
Data conversion#
Convert a pandas DataFrame into a format compatible with the RLRW wrapper. |
|
Convert a pandas DataFrame into a format compatible with the PTSM wrapper. |
|
This is an internally used utility function to combine multiple lists into a single list of lists, which can be used for data manipulation, such as in the convert_to_RLRW function. |
Metacognition#
Convert raw behavioral data to nR_S1 and nR_S2 response count. |
|
Convert from continuous to discrete ratings. |