예제 #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 
예제 #2
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 
예제 #5
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