Right now we’re trying to use previous trained models for anomaly detection. So after the training with a revised dataset, we disabled learning and saved the model.
model = createAnomalyDetectionModel(dataFrame) [...] model.disableLearning() model.save('/scalarModels/model_params/RequestCount.model')
After that we load the model and we test it with a real dataset but we’ve noticed that first values (around 400) aren’t evaluated, instead always have the same anomaly likelihood (0.5). It looks like we are not using the saved model and we need to learn again.
trained_model = ModelFactory.loadFromCheckpoint('/scalarModels/model_params/RequestCount.model') trained_model.disableLearning()
Do Nupic need a time to wake up? Maybe I’m wrong but I thought that anomaly detection based in a trained model would work since the first value.