<commit_before># clj-elm

This is Extreme Learning Machine on Clojure. For only 2 class classification.  

## Usage

`(def dataset (data/read-dataset "data/australian.csv" 14))`

`(def model (train-model australian 100))`

`(predict model (first (:features dataset)))`

Cross validate test:

`(cross-validate dataset 10 100)`

```clojure
Data 0 to 68 .
Data 69 to 137 .
Data 138 to 206 .
Data 207 to 275 .
Data 276 to 344 .
Data 345 to 413 .
Data 414 to 482 .
Data 483 to 551 .
Data 552 to 620 .
Data 621 to 689 .
197/230
```

## License

Copyright © 2015 iyhoo.
<commit_msg>Fix README.<commit_after># clj-elm

This is Extreme Learning Machine on Clojure. For only 2 class classification.  

## Usage

`(def dataset (data/read-dataset "data/australian.csv" 14 :header true))`
`;=> #'clj-elm.core/dataset`

`(def model (train-model dataset 20 :norm true))`
`;=> #'clj-elm.core/model`

`(predict model (first (data/normalize (:features dataset))))`
`;=> -1`
Cross validate test:

`(cross-validate dataset 10 100)`

## License

Copyright © 2015 iyhoo.

{'fraction_non_alphanumeric': 0.1363203050524309, 'fraction_numerical': 0.0877025738798856, 'mean_word_length': 3.861111111111111, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '584399', 'n_tokens_mistral': 462, 'n_tokens_neox': 369, 'n_words': 135}