Beispiel #1
0
 def run(self):
     models = skl2onnx.supported_converters(True)
     bullets = nodes.bullet_list()
     ns = [bullets]
     for mod in models:
         par = nodes.paragraph()
         par += nodes.Text(mod)
         bullets += nodes.list_item('', par)
     return ns
Beispiel #2
0
 def test_sklearn_converters(self):
     names = supported_converters(True)
     assert "BernoulliNB" in names
     assert len(names) > 35
Beispiel #3
0
 def test_converters_list(self):
     names = supported_converters(False)
     assert "SklearnBernoulliNB" in names
     assert len(names) > 35