When you use the OPF through python the model.run command returns an InferenceElement enum object that contains a bunch of information. For example usage, see one of the following scripts:
$NUPIC/examples/opf/clients/hotgym/anomaly/hotgym_anomaly.py $NUPIC/examples/opf/clients/hotgym/prediction/one_gym/run.py You can just print the object to see what's in it. The full object is defined here: $NUPIC/nupic/frameworks/opf/opfutils.py --Subutai On Wed, May 27, 2015 at 1:28 AM, Wakan Tanka <[email protected]> wrote: > Hello NuPIC, > > When I run: > > $NUPIC/scripts/run_swarm.py $PWD/search_def.json --maxWorkers=6 > python $NUPIC/scripts/run_opf_experiment.py $PWD/model_0/ > > It will give me following file with several columns from which I can get > desired one: > > $PWD/model_0/inference/DefaultTask.TemporalAnomaly.predictionLog.csv > > I would like to ask if python interface allows access to some more columns > as those that are available in above file? > > I know that in python i can programmatically handle many other thing etc. > but I am just curious about the data I can get from both? Is python > interface similar to shell from this point of view? > > Thank you > >
