mirror of
https://github.com/webclinic017/drift.git
synced 2026-08-16 20:38:07 +00:00
chore(Linter): reformatted code with black (#211)
* chore(Linter): reformatted code with black * Create black.yaml
This commit is contained in:
+1
-2
@@ -9,7 +9,7 @@
|
||||
# data_transformation = 'transformed'
|
||||
# only_column = None
|
||||
# predict_window_size = 'single_timestamp'
|
||||
|
||||
|
||||
# def fit(self, X: np.ndarray, y: np.ndarray) -> None:
|
||||
# def map_to_xgb(y): return np.array([1 if i == 1 else 0 for i in y])
|
||||
# self.fit(X, map_to_xgb(y))
|
||||
@@ -19,4 +19,3 @@
|
||||
# probability = self.predict_proba(X).squeeze()
|
||||
# def map_from_xgb(y): return 1 if y == 1 else -1
|
||||
# return (map_from_xgb(pred), probability)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user