NIAARM(1)

πŸ“¦ version 0.4.7, in alpine 3.24, fedora 43

✨ NIAARM(1) ✨

okay so bestie, welcome to niaarm β€” she lives in your User Commands section and she's here to do exactly three things and she does them flawlessly πŸ’…


🌸 NAME 🌸

niaarm – perform Association Rule Mining, output mined rules as csv, get mined rules' statistics

like. she mines the rules. she writes them to csv. she tells you the stats. main character behaviour fr fr πŸ‘‘


πŸŽ€ SYNOPSIS πŸŽ€

niaarm [-h] [-v] -i INPUT_FILE [-o OUTPUT_FILE] -a ALGORITHM [-s SEED]
[--max-evals MAX_EVALS] [--max-iters MAX_ITERS]
--metrics METRICS [METRICS ...]  [--weights WEIGHTS [WEIGHTS ...]]
[--log] [--stats]

no cap, that's the whole vibe check right there πŸ¦‹


πŸ’– OPTIONS πŸ’–

  • -h, --help β€” show a help message and exit. your little safety net, she's got you 🫢
  • -v, --verbose β€” show program's version number and exit. just the version, then she dips ✨
  • -i INPUT_FILE, --input-file INPUT_FILE β€” input file containing a csv dataset. this is literally the dataset, you cannot skip this one πŸ“
  • -o OUTPUT_FILE, --output-file OUTPUT_FILE β€” output file for mined rules. where the mined rules go to live 🌈
  • -a ALGORITHM, --algorithm ALGORITHM β€” algorithm to use (niapy class name, e.g. DifferentialEvolution). yes it wants the actual class name, give her the niapy class name πŸ™ˆ
  • -s SEED, --seed SEED β€” seed for the algorithm's random number generator. for when you want the randomness to be reproducible, iconic behaviour honestly ⭐
  • --max-evals MAX_EVALS β€” maximum number of fitness function evaluations. the cap on how many times the fitness function gets evaluated, periodt πŸ’€
  • --max-iters MAX_ITERS β€” maximum number of iterations. the cap on iterations, that's the whole thing πŸ”₯
  • --metrics METRICS [METRICS ...] β€” metrics to use in the fitness function. note that trailing [METRICS ...] β€” she takes more than one, bestie πŸ‘‘
  • --weights WEIGHTS [WEIGHTS ...] β€” weights in range [0, 1] corresponding to --metrics. so keep them in that range and keep them lined up with your metrics, iykyk πŸ’…
  • --log β€” enable logging of fitness improvements. little diary entries every time fitness gets better πŸŽ€
  • --stats β€” display stats about mined rules. the receipts. the numbers. the whole tea 🧚

lowkey important: -i INPUT_FILE, -a ALGORITHM and --metrics are the ones with no brackets around them in the synopsis, so they're the mandatory girlies. everything else is optional πŸ’œ

and that's the page!! October 2022, NIAARM(1), User Commands β€” mwah, she ate and left no crumbs πŸ“βœ¨πŸ’–

πŸ“¦ where this page comes from