Hello NuPIC,
I would like to ask regarding code here:
https://github.com/rhyolight/nupic.examples/blob/master/sine-prediction/sine_experiment.py
From command line there is one command for starting swarming process:
$NUPIC/scripts/run_swarm.py $PWD/search_def.json --maxWorkers=6
Is this equivalent to following python code?
model_params = swarm_over_data()
From command line running the model (which was found by swarming
process) on data this is used:
$NUPIC/scripts/run_opf_experiment.py $PWD/model_0/
Is this equivalent to following python code?
model = ModelFactory.create(model_params)
model.enableInference({"predictedField": "sine"})
result = model.run({"sine": sine_value})
1. Is there any benefit for running swarming and running model in two steps?
2. Is running only swarming without running model useful for something?
3. Is there any benefit for three separate steps for running model in
python?
4. When I have swarm data created in the past and I did not touch the
input data how can I reuse it and run model in python?
Thank you
Wakan