So I’m trying to run my data through nupic as is done in this ‘hierarchy_network_demo.py’ example using the Network API. The entire demo file is below for reference, but I’m specifically wondering about this line where the data file to be pulled in is identified:
Could I still use this ‘resource_filename()’ method to pull data right off of my hard drive? It looks like this ‘rec-center-hourly.csv’ file is being pulled in from the nupic github. Currently I am using the OPF and pulling in data files from my hard drive, could I do something similar with the Network API as in the demo, or would my data have to be kept somewhere else?
I’ve modified the ‘run.py’ file to create Temporal Anomaly models from the hotgym example in the OPF. I have for-loops within because I’m training, saving and calling in nupic models to match them with new data. I wonder if/to what extent I could bring this into the Network API and basically do the same thing with hierarchy setup. To be totally clear here is what I’m currently doing in the OPF: