Esempio n. 1
0
 def test_real(self):
     feature = pd.Series([0.0, 1.0, 2.0])
     assert 'real' == get_feature_type(feature)
Esempio n. 2
0
 def test_constant(self):
     feature = pd.Series([0.0, 0.0, 0.0])
     assert 'constant' == get_feature_type(feature)
Esempio n. 3
0
 def test_binary(self):
     feature = pd.Series([0.0, 1.0, 1.0])
     assert 'binary' == get_feature_type(feature)
Esempio n. 4
0
 def test_real(self):
     feature = pd.Series([0.0, 1.0, 2.0])
     assert 'real' == get_feature_type(feature)
Esempio n. 5
0
 def test_constant(self):
     feature = pd.Series([0.0, 0.0, 0.0])
     assert 'constant' == get_feature_type(feature)
Esempio n. 6
0
 def test_binary(self):
     feature = pd.Series([0.0, 1.0, 1.0])
     assert 'binary' == get_feature_type(feature)