Skip to content

Commit

Permalink
Merge branch 'ahnentafel' of https://github.com/online-ml/light-river
Browse files Browse the repository at this point in the history
…into ahnentafel
  • Loading branch information
MaxHalford committed Oct 5, 2023
2 parents aa9e2ac + 4cb9795 commit 126061a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python_baseline.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
from time import time

scores = []
start = time()
hst = anomaly.HalfSpaceTrees(
n_trees=50,
height=6,
window_size=1000,
)

for x, _ in datasets.CreditCard():
dataset = [x for x, _ in datasets.CreditCard()]
start = time()
for x in dataset:
score = hst.score_one(x)
scores.append(score)
hst.learn_one(x)
Expand Down

0 comments on commit 126061a

Please sign in to comment.