<commit_before>Java-FTRL
=======
A Java implementation of the "Follow the (Proximally) Regularized Leader"-Algorithm.

- Original paper at: http://goo.gl/iqIaH0

Examples
=======
- Kaggle Titanic: https://github.com/twiddles/jftrl/blob/master/src/test/java/org/jftrl/examples/KaggleTitanic.java<commit_msg>installation instructions added<commit_after>Java-FTRL
=======
A Java implementation of the "Follow the (Proximally) Regularized Leader"-Algorithm.

- Original paper at: http://goo.gl/iqIaH0

##### Installation (requires Maven)

- `git clone https://github.com/twiddles/jftrl.git`
- `cd jftrl`
- `mvn clean install`

```
<dependency>
    <groupId>junit</groupId>
    <artifactId>junit</artifactId>
    <version>4.12</version>
    <scope>test</scope>
</dependency>
```

##### Example Code
- Kaggle Titanic: https://github.com/twiddles/jftrl/blob/master/src/test/java/org/jftrl/examples/KaggleTitanic.java


{'fraction_non_alphanumeric': 0.16575192096597147, 'fraction_numerical': 0.005488474204171241, 'mean_word_length': 4.735849056603773, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 3, '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': '2573520', 'n_tokens_mistral': 343, 'n_tokens_neox': 317, 'n_words': 57}