Exemplo n.º 1
0
    def __init__(self, ip_recs, ip_feature_db):
        Learn2BanFeature.__init__(self, ip_recs, ip_feature_db)

        #Each feature need to have unique index as the field number
        #in ip_feature_db
        # The following 3 features will be added: x, y, z
        # The indexes are 12, 13, 14
        self._FEATURE_INDEX = 12  # 13, 14
Exemplo n.º 2
0
 def __init__(self, ip_recs, ip_feature_db):
     Learn2BanFeature.__init__(self, ip_recs, ip_feature_db)
     
     #Each feature need to have unique index as the field number
     #in ip_feature_db
     # The following 3 features will be added: x, y, z
     # The indexes are 12, 13, 14
     self._FEATURE_INDEX = 12 # 13, 14 
Exemplo n.º 3
0
    def __init__(self, ip_sieve, ip_feature_db):
        """
        Simply calls the parent constructor
        """
        Learn2BanFeature.__init__(self, ip_sieve, ip_feature_db)

        #Each feature need to have unique index as the field number
        #in ip_feature_db
        self._FEATURE_INDEX = 6
 def __init__(self, ip_sieve, ip_feature_db):
     """
     Simply calls the parent constructor
     """
     Learn2BanFeature.__init__(self, ip_sieve, ip_feature_db)
     
     #Each feature need to have unique index as the field number
     #in ip_feature_db
     self._FEATURE_INDEX = 4
 def __init__(self, ip_recs, ip_feature_db):
     Learn2BanFeature.__init__(self, ip_recs, ip_feature_db)
     
     #Each feature need to have unique index as the field number
     #in ip_feature_db
     self._FEATURE_INDEX = 16 
Exemplo n.º 6
0
    def __init__(self, ip_recs, ip_feature_db):
        Learn2BanFeature.__init__(self, ip_recs, ip_feature_db)

        #Each feature need to have unique index as the field number
        #in ip_feature_db
        self._FEATURE_INDEX = 16