Package miopia :: Package adapter :: Module RawAdapter :: Class RawAdapter
[hide private]
[frames] | no frames]

Class RawAdapter

source code

     object --+    
              |    
Adapter.Adapter --+
                  |
                 RawAdapter
Known Subclasses:

An abstract class for WEKA adapters for RawCounter

Instance Methods [hide private]
 
__init__(self, path_weka, raw_counter, weight_factor)
Constructor
source code
 
_get_feature_type(self)
The type of the feature
source code

Inherited from Adapter.Adapter: arff_header_from_arff_file, classes_from_arff, count_features, get_counter, get_weighting_factor, get_weighting_value, to_arff

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]

Inherited from Adapter.Adapter: ALLOWED_JAVA_HEAP_XMX, BINARY_WEIGHTING_FACTOR, DELIMITER_FEATURE_TYPE_AND_LIST_FEATURES, TOTAL_WEIGHTING_FACTOR

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, path_weka, raw_counter, weight_factor)
(Constructor)

source code 

Constructor

Parameters:
  • path_weka - The path to the WEKA.jar
  • abstracted_lexicons_counter - An instance of Counter
  • weight_factor - A value {BINARY_WEIGHTING_FACTOR, TOTAL_WEIGHTING_FACTOR}
Overrides: object.__init__