ak0da project
leo
6f4b298cfc
* readme: add instructions on how to run the app * flake; modify pkg name to match ${projname}, which then resolves without issue |
||
---|---|---|
.editorconfig | ||
.envrc | ||
.gitattributes | ||
.gitignore | ||
.golangci.yml | ||
.pre-commit-config.yaml | ||
default.nix | ||
flake.lock | ||
flake.nix | ||
go.mod | ||
go.sum | ||
main.go | ||
README.md | ||
shell.nix |
ak0da
this repo contains code of the compulsory task for AK0DA
course.
the topic is anomaly/outlier detection using
golearn
's Isolation Forest model
implementation.
to test the functionality you'd need:
with Go ready, do:
go install -v git.dotya.ml/wanderer/ak0da@latest
or with (flake-enabled) Nix, do:
nix run git+https://git.dotya.ml/wanderer/ak0da#proj
both of the above should put the ak0da
binary in your $GOPATH
, from where
you can run it.
it then drops a data.csv
file in $PWD
which is overwritten everytime the
program is run.
the last 15 (the amount is hardcoded) values are outliers, which should stand out to the model and be detected as such.
by default there are 10001 "normal" (standard normal distribution or uniform
distribution < -1; 1 >
) values generated, to array of which the outliers are
appended.