Skip to content

Commit

Permalink
Add Jaccard, Certainty, and Kulczynski association rules metrics (#1099)
Browse files Browse the repository at this point in the history
* Adding the code for calculating Jaccard Similiarity

* Added some jaccard tests

* More jaccard tests

* Implemented Centered Confidence and Certainty Factor

* Added parameter to choose only certain metrics for association_rules

* removed centered confidence

* remove print statements in test

* Implemented kulczynski algorithm

Nachiket Deo <[email protected]>

* Implemented Kulcynski + Certainty tests

Co-authored-by: Nachiket18 <[email protected]>
Co-authored-by: AnkithN <[email protected]>

* fixed flake8 formatting

* Added jaccard, certainty, and kulczynski to notebook documentation

Co-authored-by: AnkithN <[email protected]>

* Added changes to changelog

* Update test_association_rules.py

* Update test_association_rules.py

* Update association_rules.py

* Update CHANGELOG.md

---------

Co-authored-by: Nachiket18 <[email protected]>
Co-authored-by: ankithn30 <[email protected]>
Co-authored-by: AnkithN <[email protected]>
Co-authored-by: Nachiket18 <[email protected]>
Co-authored-by: AnkithN <[email protected]>
Co-authored-by: Sebastian Raschka <[email protected]>
  • Loading branch information
7 people committed Jul 2, 2024
1 parent 63a2655 commit d9713ea
Show file tree
Hide file tree
Showing 4 changed files with 154 additions and 1,692 deletions.
16 changes: 5 additions & 11 deletions docs/sources/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ The CHANGELOG for the current development version is available at
[https://github.com/rasbt/mlxtend/blob/master/docs/sources/CHANGELOG.md](https://github.com/rasbt/mlxtend/blob/master/docs/sources/CHANGELOG.md).

---


### Version 0.23.2 (TBD)

##### Downloads
Expand All @@ -16,21 +18,13 @@ The CHANGELOG for the current development version is available at

##### New Features and Enhancements

- [`mlxtend.frequent_patterns.association_rules`](https://rasbt.github.io/mlxtend/user_guide/frequent_patterns/association_rules/) 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))




### Version 0.23.2 (TBD)

##### Downloads

- [Source code (zip)](https://github.com/rasbt/mlxtend/archive/v0.23.2.zip)

- [Source code (tar.gz)](https://github.com/rasbt/mlxtend/archive/v0.23.2.tar.gz)

##### Changes

- [`mlxtend.frequent_patterns.association_rules`](https://rasbt.github.io/mlxtend/user_guide/frequent_patterns/association_rules/) Added optional parameter 'return_metrics' to only return a given list of metrics, rather than every possible metric.

- Add `n_classes_` attribute to stacking classifiers for compatibility with scikit-learn 1.3 ([#1091](https://github.com/rasbt/mlxtend/issues/1091))
- Use Scipy's instead of NumPy's decompositions in PCA for improved accuracy in edge cases ([#1080](https://github.com/rasbt/mlxtend/issues/1080) via [[fkdosilovic](https://github.com/rasbt/mlxtend/issues?q=is%3Apr+is%3Aopen+author%3Afkdosilovic)])

Expand Down
Loading

0 comments on commit d9713ea

Please sign in to comment.