1 '''
2 Created on 13/05/2014
3
4 @author: david.vilares
5 '''
6 from miopia.adapter.Adapter import Adapter
7 from miopia.adapter.Feature import FeatureType
8 from miopia.analyzer.counter.RawCounter import RawCounter
9
11 '''
12 An abstract class for WEKA adapters for L{RawCounter}
13 '''
14
15
16 - def __init__(self, path_weka, raw_counter,weight_factor):
17 '''
18 Constructor
19 '''
20 super(RawAdapter,self).__init__(path_weka, raw_counter,weight_factor)
21
22 if not isinstance(raw_counter,RawCounter):
23 raise ValueError
24
30