Skip to content

SnitavetsIV/FP-1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fcm

Лабораторная # 1 по ФП.

(c) Снитовец Илья, гр. 151003.

Параметры

usage : fhaskell.exe inFile [-o  OUTFILE] [-m  METRIC] [-c  COUNT] [-a  ACCURACY] [-i  INIT] [-h] [--version]

mandatory arguments:
 inFile                        CSV file you want to parse

optional arguments:
 -o, --outFile  OUTFILE        Output file for result of parsing
 -m, --metric  METRIC          Metric for distant count
                               ('euclid', 'hamming')
 -c, --count  COUNT            Count of centers of clasters
 -a, --accuracy  ACCURACY      Accuracy of calculations
 -i, --init  INIT              Type of initialization ('matrix',
                               'centers')
 -h, --help                    show this help message and exit
 --version                     print the program version and exit

Запуск с помощью sandbox

git clone https://github.com/SnitavetsIV/lab1.git
cd lab1
cabal sandbox init
cabal install --only-dependencies
cabal build
dist\build\fhaskell\fhaskell.exe samples\butterfly.txt -m hamming

Запуск тестов

cd src
runhaskell Tests

About

BSUIR Functional Programming app

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published