Skip to content

Commit bc9b895

Browse files
authored
fixed numpy compatibility issue
1 parent 66d295f commit bc9b895

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

niaarm/niaarm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def __init__(self, dimension, features, transactions, metrics, logging=False):
7070
self.sum_weights = np.sum(self.weights)
7171

7272
self.logging = logging
73-
self.best_fitness = np.NINF
73+
self.best_fitness = -np.inf
7474
self.rules = RuleList()
7575
super().__init__(dimension, 0.0, 1.0)
7676

0 commit comments

Comments
 (0)