Skip to content

Commit

Permalink
Dont import inf
Browse files Browse the repository at this point in the history
  • Loading branch information
nielstron committed Feb 4, 2019
1 parent 2c10e07 commit cf7cf15
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions quantulum3/classifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
import json
import logging
import pkg_resources
from math import inf
import numpy

# Semi-dependencies
try:
Expand Down Expand Up @@ -136,7 +134,7 @@ def train_classifier(parameters=None,
'loss': 'log',
'penalty': 'l2',
'max_iter': 50,
'tol': -inf,
'tol': float("-inf"),
'alpha': 0.00001,
'fit_intercept': True
}
Expand Down

0 comments on commit cf7cf15

Please sign in to comment.