Skip to content

Release/prepare v0.2.1 #31

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Nov 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Changelog

## v0.2.1

### Fixes
Update the code to match the new syntaxis of `bitarray` package
(mostly renaming `ba.itersearch(...)` functions into `ba.search(...)` ).

Plus minor bugfixes.

### New functionality (backend version)

Add `support_surplus` parameter into `iter_keys_of_intent` function.
Now one can find **∆-equivalent keys of an intent**,
that are minimal descriptions that describe the same objects as the intent
plus at most `support_surplus` more additional objects.
The function in question is called `csp.mine_equivalence_classes.iter_keys_of_intent(...)`.

Implement **MRG-Exp** algorithm (Carpathia-G-Rare) for **Minimal Rare Itemset** mining.
A minimal rare itemset (or a minimal rare description) is a minimal subset of attributes
that describes less than (or equal to) `max_support` objects.
The function is called `csp.mine_equivalence_classes.iter_minimal_rare_itemsets_via_mrgexp(...)`.

Implement **Clustering via MRG-Exp** algorithm for **Minimal Broad Clustering** mining.
A minimal broad clustering is a minimal subset of attributes that, together,
cover more than (or equal to) `min_coverage` objects.
The function is called `csp.mine_equivalence_classes.iter_minimal_broad_clusterings_via_mrgexp(...)`.

Add **level-wise equivalence class iteration**.
The level-wise optimisation is supposed to fasten up the iteration of the equivalence class.
However, currently, it only fastens up the iteration through the equivalence class of the maximal description
(that often describes no objects).
The function is called `csp.mine_equivalence_classes.iter_equivalence_class_levelwise(...)`.
The older and more straightforward iteration procedure is implemented in
`csp.mine_equivalence_classes.iter_equivalence_class(...)`.
10 changes: 0 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,6 @@ and the latest version of the package can be installed from GitHub repository:
pip install caspailleur@git+https://github.com/EgorDudyrev/caspailleur
```

> [!IMPORTANT]
> The new major release of ``bitarray`` package renamed some of the package's functions, thus introducing errors in ``caspailleur``.
> The updated release up ``caspailleur`` will be published around November 15.
>
> As for now, proceed to install the hotfix'ed version of the package from this GitHub repository.
> You can also explicitly install the second last version of ``bitarray`` package without reinstalling the whole ``caspailleur``:
> ```console
> pip install --upgrade bitarray==2.9.3
> ```

## Analysis example

### Glossary
Expand Down
2 changes: 1 addition & 1 deletion caspailleur/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@

from .api import iter_descriptions, mine_descriptions, mine_concepts, mine_implications

__version__ = '0.2.0'
__version__ = '0.2.1'
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "caspailleur"
version = "0.2.0"
version = "0.2.1"
description = "Minimalistic python package for mining many concise data representations. Part of SmartFCA project"
readme = "README.md"
authors = [{ name = "Egor Dudyrev" }]
Expand Down
Loading