Skip to content

Issues with importing own data into NNSM #138

Answered by drgona
epergant asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @epergant, thanks for your interest in our library.

In general, you can load your csv file as Python dictionary with arbitrary string values for keys and numpy arrays as values.
See these general ways to load csv files into Python dict.

After you have your data in Python dictionary, you don't need to be compliant with our specific PSL format, where we use specific keys. You can use any keys you want and build your dataset around those.
If you want to use the PSL format, you need to categorize your variables into one of these keys:

  • 'x' as for full state space
  • 'y' for controlled states
  • 'u' for control actions
  • 'u' for disturbances
  • 'Time' for time sequence
  • 'exp_id' for index of the experi…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by drgona
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants