Anomaly Score Difference betewen HTM studio and HTM.java

htm
#1

Hi
I ran rec-center-hourly.csv file through HTM studio and HTM.java ,I got different anomaly scores , what could be the reason ? pls see attached picture of anomaly score


I have used NetworkAPIDemo.java in htm.java-examples git project.

0 Likes

#2

@cogmission @rhyolight
Could you pls comment on this.

0 Likes

#3

HTM Studio uses a post-process call “anomaly likelihood” to help get anomaly indications. HTM.Java does not have this logic. There are also going to be variations in the way random numbers are generated on each system, so the numbers will never be exactly the same. That being said, I don’t think you are doing an “apples to apples” comparison here.

0 Likes

#4

Thanks Matt , HTM studio results look more realistic . I was under impression that I get same results irrespective of language and tool as these tools/language use same algorithm . which is better to use in production python or Java?

0 Likes

#5

Well do you like Java or Python?

In NuPIC, you will have access to more tools, like the OPF and AnomalyLikelihood.

0 Likes

#6

Hi Matt,
I have good experience in Java, python not much . I think AnomalyLikelihood is already available (@cogmission) in java

AnomalyLikelihood anomalyLikelihood =new AnomalyLikelihood(false,0,false ,200,200);
		  double anamolyLikelyhood =AnomalyLikelihood.anomalyProbability(Double.parseDouble(message.getRawValues()[0]),response.getAnomalyScore(),dateTime);

If python (NuPIC ) has more features compare , I would like to use python in production .

0 Likes