Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ayrat555/clope
Elixir implementation of CLOPE: A Fast and Effective Clustering Algorithm for Transactional Data
https://github.com/ayrat555/clope
categorical-attributes clustering clustering-algorithm elixir
Last synced: 17 days ago
JSON representation
Elixir implementation of CLOPE: A Fast and Effective Clustering Algorithm for Transactional Data
- Host: GitHub
- URL: https://github.com/ayrat555/clope
- Owner: ayrat555
- Created: 2017-04-09T14:18:18.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-07-14T12:57:50.000Z (over 4 years ago)
- Last Synced: 2024-05-01T14:58:35.002Z (6 months ago)
- Topics: categorical-attributes, clustering, clustering-algorithm, elixir
- Language: Elixir
- Homepage:
- Size: 46.9 KB
- Stars: 20
- Watchers: 2
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
- freaking_awesome_elixir - Elixir - Elixir implementation of [CLOPE](http://www.inf.ufrgs.br/~alvares/CMP259DCBD/clope.pdf): A Fast and Effective Clustering Algorithm for Transactional Data. (Algorithms and Data structures)
- fucking-awesome-elixir - clope - Elixir implementation of CLOPE: A Fast and Effective Clustering Algorithm for Transactional Data. (Algorithms and Data structures)
- awesome-elixir - clope - Elixir implementation of CLOPE: A Fast and Effective Clustering Algorithm for Transactional Data. (Algorithms and Data structures)
README
# Clope
CLOPE: A Fast and Effective Clustering Algorithm for Transactional Data
The algorithm's description
http://www.inf.ufrgs.br/~alvares/CMP259DCBD/clope.pdf## Installation
If [available in Hex](https://hex.pm/docs/publish), the package can be installed as:
1. Add `clope` to your list of dependencies in `mix.exs`:
```elixir
def deps do
[{:clope, "~> 0.1.4"}]
end
```2. Ensure `clope` is started before your application:
```elixir
def application do
[applications: [:clope]]
end
```## How to use
```elixir
iex> input = [
{"transaction1", ["object1", "object2", "object3"]},
{"transaction2", ["object1", "object5"]},
{"transaction3", ["object2", "object3"]},
{"transaction4", ["object1", "object5"]}
]
iex> result = input |> Clope.clusterize(2)
[
[
{"transaction1", ["object1", "object2", "object3"]},
{"transaction3", ["object2", "object3"]}
],
[
{"transaction2", ["object1", "object5"]},
{"transaction4", ["object1", "object5"]}
]
]
```