Skip to content

Commit

Permalink
Fix/remove outlier 5% (#67)
Browse files Browse the repository at this point in the history
* Fix/remove outlier < 5%

* update patch version
  • Loading branch information
L-M-Sherlock authored Dec 19, 2023
1 parent 8ac5d5b commit cee2b09
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "FSRS-Optimizer"
version = "4.20.0"
version = "4.20.1"
readme = "README.md"
dependencies = [
"matplotlib>=3.7.0",
Expand Down
2 changes: 1 addition & 1 deletion src/fsrs_optimizer/fsrs_optimizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,7 @@ def remove_outliers(group: pd.DataFrame) -> pd.DataFrame:
group = group[
group["delta_t"].isin(
grouped_group[
(grouped_group[("y", "count")] > count)
(grouped_group[("y", "count")] >= count)
& (grouped_group[("y", "mean")] < 1)
]["delta_t"]
)
Expand Down

0 comments on commit cee2b09

Please sign in to comment.