-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add demo notebook and per-primitive documentation #48
Conversation
sigpro/sigpro_pipeline_demo.ipynb
Outdated
@@ -0,0 +1,485 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the demo notebook should be separated from the package. I suggest creating a folder under root tutorials
and move the notebook there.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got it - notebook has been moved to the tutorials folder.
sigpro/sigpro_pipeline_demo.ipynb
Outdated
" turbine_id signal_id xvalues \\\n", | ||
"0 T001 Sensor1_signal1 2020-01-01 00:00:00 \n", | ||
"1 T001 Sensor1_signal1 2020-01-01 01:00:00 \n", | ||
"2 T001 Sensor1_signal1 2020-01-01 02:00:00 \n", | ||
"3 T001 Sensor1_signal1 2020-01-01 03:00:00 \n", | ||
"4 T001 Sensor1_signal1 2020-01-01 04:00:00 \n", | ||
"\n", | ||
" yvalues sampling_frequency \n", | ||
"0 [0.43616983763682876, -0.17662312586241055, 0.... 1000 \n", | ||
"1 [0.8023828754411122, -0.14122063493312714, -0.... 1000 \n", | ||
"2 [-1.3143142430046044, -1.1055740033788437, -0.... 1000 \n", | ||
"3 [-0.45981995520032104, -0.3255426061995603, -0... 1000 \n", | ||
"4 [-0.6380405111460377, -0.11924167777027689, 0.... 1000 " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
based on our previous discussions, is this the new supported format where we have xvalues as a column of type list (like yvalues)? Or is it the original format?
- If it is the former, I would make
xvalues
a list just like yvalues. - If it is the latter, I would change the column name to
timestamp
to follow the dummy data https://raw.githubusercontent.com/sintel-dev/SigPro/master/sigpro/data/demo_timeseries.csv
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The xvalues column has been revised to be a list, just like yvalues -- should be correct now.
add markdown demo to tutorials folder
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Added demo notebook and per-primitive documentation