Skip to content

Commit

Permalink
fix lossy rendering
Browse files Browse the repository at this point in the history
Former-commit-id: d006e7b
  • Loading branch information
MaxHalford committed Sep 15, 2022
1 parent 3729923 commit 922562e
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 11 deletions.
16 changes: 8 additions & 8 deletions docs/benchmarks/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,19 @@ hide:

<pre>Python implementation: CPython
Python version : 3.9.12
IPython version : 8.3.0
IPython version : 7.30.1

river : 0.11.1
river : 0.12.1
numpy : 1.22.3
scikit-learn: 1.1.1
scikit-learn: 1.1.0
pandas : 1.4.1
scipy : 1.8.0
scipy : 1.9.0

Compiler : Clang 12.0.0
Compiler : Clang 12.0.1
OS : Darwin
Release : 21.4.0
Machine : arm64
Processor : arm
Release : 21.5.0
Machine : x86_64
Processor : i386
CPU cores : 8
Architecture: 64bit
</pre>
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/recipes/on-hoeffding-trees_files/on-hoeffding-trees_21_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/recipes/on-hoeffding-trees_files/on-hoeffding-trees_23_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 5 additions & 3 deletions river/stats/lossy.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,11 @@ class LossyCount(stats.base.Univariate):
algorithm has the following properties:
- All item(set)s whose true frequency exceeds `support * n` are output. There are no
false negatives;
- No item(set) whose true frequency is less than `(support - epsilon) * n` is outputted;
- Estimated frequencies are less than the true frequencies by at most `epsilon * n`.
false negatives
- No item(set) whose true frequency is less than `(support - epsilon) * n` is outputted
- Estimated frequencies are less than the true frequencies by at most `epsilon * n`
Parameters
----------
Expand Down

0 comments on commit 922562e

Please sign in to comment.