Ejemplo n.º 1
0
 def __init__(self):
     FeatureGroup.__init__(
         self, {
             "displacementFromGround":
             "The difference between the distance of the start of the figure and the centroid of the ground,a and the end of the figure and the centroid of the ground.",
             "endpointDist":
             "Distance between ground endpoitn and my endpoint",
             "startpointDist":
             "Distance between ground endpoitn and my endpoint",
         })
Ejemplo n.º 2
0
    def __init__(self):

        names = [p.name for p in primitives]
        fmap = []

        for i, p1 in enumerate(primitives):
            fmap.append((p1.name, p1.name))
            for p2 in primitives[i:]:
                if p1 != p2:
                    name = "%s AND %s" % (p1.name, p2.name)
                    names.append(name)
                    fmap.append((name, name))
        FeatureGroup.__init__(self, dict(fmap))
        self.names = names  # so the order is right
Ejemplo n.º 3
0
 def __init__(self):
     FeatureGroup.__init__(self, {"pathLength":"Ratio of the length of the path compared to the length of the shortest path between the two points."})
Ejemplo n.º 4
0
 def __init__(self):
     FeatureGroup.__init__(self, {"stdErrorOfRegression":"The scaled standard error of a regression line."})
Ejemplo n.º 5
0
 def __init__(self):
     FeatureGroup.__init__(self, {"averageDistance":"The average distance between the figure and landmark.",
                                  "stdDevOfDistance":"The variance of the distance.",
                                  #"averageDistanceAtEnd":"Average distance in last 10%",
                                  #"averageDistanceAtStart":"Average distance in fist 10%",
                                  })
Ejemplo n.º 6
0
 def __init__(self):
     FeatureGroup.__init__(self, {"averageVisibility":"Proportion of time figure is visible from ground."})
Ejemplo n.º 7
0
 def __init__(self):
     FeatureGroup.__init__(self, {"averageDifferenceInAngle":"Difference in movement direction from movement towards landmark"})
Ejemplo n.º 8
0
 def __init__(self):
     FeatureGroup.__init__(
         self,
         {"netDisplacement": "The scaled distance traveled by the figure."})
Ejemplo n.º 9
0
 def __init__(self):
     FeatureGroup.__init__(
         self, {
             "hasApproach": "Whether figure approaches ground.",
             "hasFollow": "Whether figure follows landmark",
         })