Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.

Commit

Permalink
Update validate_problems.py
Browse files Browse the repository at this point in the history
  • Loading branch information
sdpython committed Jul 22, 2019
1 parent 85c8a43 commit 8cb4c4c
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions mlprodict/onnxrt/validate_problems.py
Expand Up @@ -320,13 +320,15 @@ def find_suitable_problem(model):
def _internal(model):
# Exceptions
if model in {GaussianProcessRegressor}:
return ['~b-reg-NF-64', '~m-reg-NF-64',
'~b-reg-NF-cov-64', '~m-reg-NF-cov-64',
'~b-reg-NF-std-64', '~m-reg-NF-std-64',
'~b-reg-NSV-64', '~m-reg-NSV-64',
'~b-reg-cov-64', '~m-reg-cov-64',
'~b-reg-std-NSV-64', '~m-reg-std-NSV-64',
'b-reg', '~b-reg-64', 'm-reg']
# m-reg causes MemoryError on some machine.
return ['~b-reg-NF-64', # '~m-reg-NF-64',
'~b-reg-NF-cov-64', # '~m-reg-NF-cov-64',
'~b-reg-NF-std-64', # '~m-reg-NF-std-64',
'~b-reg-NSV-64', # '~m-reg-NSV-64',
'~b-reg-cov-64', # '~m-reg-cov-64',
'~b-reg-std-NSV-64', # '~m-reg-std-NSV-64',
'b-reg', '~b-reg-64', # 'm-reg'
]

if model in {BaggingClassifier, BernoulliNB, CalibratedClassifierCV,
ComplementNB, GaussianNB, GaussianProcessClassifier,
Expand Down

0 comments on commit 8cb4c4c

Please sign in to comment.