Exemple #1
0
 public void LearnHelper(TimeSeries ts, float p /*pearson*/, string f1, string f2, Point[] ps)
 {
     base.LearnHelper(ts, p, f1, f2, ps);
     if (p > 0.5 && p < maxC)
     {
         MinCircle          circ   = new MinCircle();
         Circle             circle = circ.findMinCircle(ps, ts.getNumOfTimesteps());
         correlatedFeatures c      = new correlatedFeatures(f1, f2, p, null, circle.radius * (float)1.1);
         c.CX = circle.center.x;
         c.CY = circle.center.y;
         base.CF.Add(c);
     }
 }