Implement it in functional Pathology data #371
-
Hello dear Oguiza |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @miladalipour99 . It would be best to move this to Discussions it is not technically an issue. I generally use Numpy arrays for as input for my work, although other tsai users often use Pandas Dataframes. My suggestion is that tutorial_nbs/00b_How_to_use_numpy_arrays_in_fastai.ipynb as a good starting point. If you look at the output of the
statement, it simply a set of numpy arrays, where X_train/X_valid is the input timeseries data and y_train/y_valid are data labels. This is the format you'll want to match when loading your own data. X_* are 3D arrays organized as [sample, features, timesteps], so you'll want to structure your data in a similar manner. Before spending much time using tsai I would recommend you go through the full set of tutorials -- I found them very helpful when I was starting to learn tsai. You should be able to run these tutorials on colab, and I would suggest you add your own print statements to explore data formats or other areas that may be in question. You may also be able to use some of these tutorals as a starting point for your work. |
Beta Was this translation helpful? Give feedback.
-
Thanks, Doug! |
Beta Was this translation helpful? Give feedback.
Thanks, Doug!