Exemplo n.º 1
0
 def test_str(self):
     imputer = impute.Model(MajorityLearner())
     self.assertIn(MajorityLearner().name,
                   imputer.format_variable(data.Variable("y")))
Exemplo n.º 2
0
 def test_str(self):
     imputer = impute.Default(1)
     self.assertIn('1', imputer.format_variable(data.Variable("y")))