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 9f0653a commit fe159beCopy full SHA for fe159be
skglm/datafits/single_task.py
@@ -231,7 +231,7 @@ def params_to_dict(self):
231
def initialize(self, yXT, y):
232
n_features = yXT.shape[1]
233
self.lipschitz = np.zeros(n_features, dtype=yXT.dtype)
234
- self.global_lipschitz = norm(yXT, ord=2) ** 2 / len(y)
+ self.global_lipschitz = norm(yXT, ord=2) ** 2
235
for j in range(n_features):
236
self.lipschitz[j] = norm(yXT[:, j]) ** 2
237
0 commit comments