Skip to content

Commit

Permalink
fixed format
Browse files Browse the repository at this point in the history
  • Loading branch information
d-kleine committed Nov 5, 2024
1 parent f89a694 commit 86c3a88
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion docs/sources/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ Files updated:
- Implemented three new metrics: Jaccard, Certainty, and Kulczynski. ([#1096](https://github.com/rasbt/mlxtend/issues/1096))
- Integrated scikit-learn's `set_output` method into `TransactionEncoder` ([#1087](https://github.com/rasbt/mlxtend/issues/1087) via [it176131](https://github.com/it176131))


##### Changes

- [`mlxtend.frequent_patterns.fpcommon`] Added the null_values parameter in valid_input_check signature to check in case the input also includes null values. Changes the returns statements and function signatures for setup_fptree and generated_itemsets respectively to return the disabled array created and to include it as a parameter. Added code in [`mlxtend.frequent_patterns.fpcommon`] and [`mlxtend.frequent_patterns.association_rules`](https://rasbt.github.io/mlxtend/user_guide/frequent_patterns/association_rules/) to implement the algorithms in case null values exist when null_values is True.
Expand Down
2 changes: 1 addition & 1 deletion mlxtend/feature_selection/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def _calc_score(

IDX = _merge_lists(feature_groups, indices)

param_name = 'fit_params' if sklearn_version < '1.4' else 'params'
param_name = "fit_params" if sklearn_version < "1.4" else "params"

if selector.cv:
scores = cross_val_score(
Expand Down

0 comments on commit 86c3a88

Please sign in to comment.