-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #23 from zStupan/docs
Docs Update
- Loading branch information
Showing
24 changed files
with
703 additions
and
95 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Dataset | ||
======= | ||
|
||
.. automodule:: niaarm.dataset | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Feature | ||
======= | ||
|
||
.. automodule:: niaarm.feature | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
API Reference | ||
============= | ||
|
||
.. toctree:: | ||
|
||
dataset | ||
niaarm | ||
stats | ||
rule | ||
feature |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
NiaARM | ||
====== | ||
|
||
.. automodule:: niaarm.niaarm | ||
:members: | ||
:show-inheritance: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Rule | ||
==== | ||
|
||
.. automodule:: niaarm.rule | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Stats | ||
===== | ||
|
||
.. automodule:: niaarm.stats | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
Command Line Interface | ||
====================== | ||
|
||
We provide a simple command line interface, which allows you to easily | ||
mine association rules on any input dataset, output them to a csv file and/or perform | ||
a simple statistical analysis on them. | ||
|
||
.. code-block:: text | ||
niaarm -h | ||
usage: niaarm [-h] -i INPUT_FILE [-o OUTPUT_FILE] -a ALGORITHM [-s SEED] | ||
[--max-evals MAX_EVALS] [--max-iters MAX_ITERS] [--alpha ALPHA] | ||
[--beta BETA] [--gamma GAMMA] [--delta DELTA] [--log] | ||
[--show-stats] | ||
Perform ARM, output mined rules as csv, get mined rules' statistics | ||
options: | ||
-h, --help show this help message and exit | ||
-i INPUT_FILE, --input-file INPUT_FILE | ||
Input file containing a csv dataset | ||
-o OUTPUT_FILE, --output-file OUTPUT_FILE | ||
Output file for mined rules | ||
-a ALGORITHM, --algorithm ALGORITHM | ||
Algorithm to use (niapy class name, e. g. | ||
DifferentialEvolution) | ||
-s SEED, --seed SEED Seed for the algorithm's random number generator | ||
--max-evals MAX_EVALS | ||
Maximum number of fitness function evaluations | ||
--max-iters MAX_ITERS | ||
Maximum number of iterations | ||
--alpha ALPHA Alpha parameter. Default 0 | ||
--beta BETA Beta parameter. Default 0 | ||
--gamma GAMMA Gamma parameter. Default 0 | ||
--delta DELTA Delta parameter. Default 0 | ||
--log Enable logging of fitness improvements | ||
--show-stats Display stats about mined rules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
Documentation | ||
============= | ||
|
||
To locally generate and preview documentation run the following command in the project root folder: | ||
To locally generate and preview documentation run the following commands in the project root folder: | ||
|
||
.. code:: sh | ||
$ poetry install --extras docs | ||
$ poetry run sphinx-build ./docs ./docs/_build | ||
If the build of the documentation is successful, you can preview the documentation in the docs/_build folder by clicking the ``index.html`` file. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.