Skip to content

Commit 41918ff

Browse files
generatedunixname975288348396129meta-codesync[bot]
authored andcommitted
fbcode/erc/fb_packages/stat_valid_infer/svinfer_open_source/svinfer/linear_model/logistic_regression.py
Reviewed By: calmarj Differential Revision: D105937439 fbshipit-source-id: 3303aaa9f705c51aecabd8dc571a24d03d7fcbad
1 parent c904110 commit 41918ff

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

svinfer/linear_model/logistic_regression.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33

44
# pyre-unsafe
55

6+
from __future__ import annotations
7+
68
# Licensed under the Apache License, Version 2.0 (the "License");
79
# you may not use this file except in compliance with the License.
810
# You may obtain a copy of the License at
@@ -38,7 +40,7 @@ def __init__(
3840
y_column,
3941
x_s2,
4042
fit_intercept=True,
41-
):
43+
) -> None:
4244
self.x_columns = x_columns
4345
self.y_column = y_column
4446
self.x_s2 = np.array([0.0] + x_s2 if fit_intercept else x_s2)

0 commit comments

Comments
 (0)