Importing CSV data
You can also import data in CSV format using either the upload functionality in the Studio (Go to Data acquisition, then press the upload icon) or through the Edge Impulse CLI.
You'll need to create one CSV file per sample (e.g. a machine with a fault state), with a header describing the sensor axes, and then one line per reading. For example, this is data from an accelerometer:
1
timestamp,accX,accY,accZ
2
0,4.220828473773600,1.8800472920291100,-16.89228981323240
3
16,4.471770735278730,2.0017025177553300,-17.887080018505500
4
32,4.31928972478658,2.4953566802978500,-18.926163539013300
5
48,4.648792312787470,2.958335718591510,-18.5336641043514
6
64,4.773739711926880,2.719663740594690,-18.800019623565700
7
80,4.653879991315310,2.6865938301637800,-19.98305510341230
Copied!
If you have data without a timestamp (e.g. a single reading) you can omit the timestamp column.
1
accX,accY,accZ
2
4.220828473773600,1.8800472920291100,-16.89228981323240
Copied!
If you prefix the file name with the name of the label, the uploader will automatically assign the right labels to your data, e.g. faultstate1.sample0.csv.
Export as PDF
Copy link