We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66d295f commit bc9b895Copy full SHA for bc9b895
niaarm/niaarm.py
@@ -70,7 +70,7 @@ def __init__(self, dimension, features, transactions, metrics, logging=False):
70
self.sum_weights = np.sum(self.weights)
71
72
self.logging = logging
73
- self.best_fitness = np.NINF
+ self.best_fitness = -np.inf
74
self.rules = RuleList()
75
super().__init__(dimension, 0.0, 1.0)
76
0 commit comments