<commit_before># HRLClassifier

[![CI Status](https://travis-ci.org/HeartRateLearning/HRLClassifier.svg?branch=master)](https://travis-ci.org/HeartRateLearning/HRLClassifier)
[![codecov.io](https://codecov.io/github/HeartRateLearning/HRLClassifier/coverage.svg?branch=master)](https://codecov.io/github/HeartRateLearning/HRLClassifier?branch=master)
[![Version](https://img.shields.io/cocoapods/v/HRLClassifier.svg?style=flat)](http://cocoapods.org/pods/HRLClassifier)

Use Machine Learning to predict if a person is working out based of his/her heart rate.

## Example

To run the example project, clone the repo, and run `pod install` from the Example directory first.

## Installation

HRLClassifier is available through [CocoaPods](http://cocoapods.org). To install
it, simply add the following line to your Podfile:

```ruby
pod "HRLClassifier"
```

## Usage

```swift
import HRLClassifier

let filename = "/path/to/archive"

let baseDate = Date(timeIntervalSinceReferenceDate: 0)<commit_msg>Fixes #4: Add shield for documentation<commit_after># HRLClassifier

[![CI Status](https://travis-ci.org/HeartRateLearning/HRLClassifier.svg?branch=master)](https://travis-ci.org/HeartRateLearning/HRLClassifier)
[![codecov.io](https://codecov.io/github/HeartRateLearning/HRLClassifier/coverage.svg?branch=master)](https://codecov.io/github/HeartRateLearning/HRLClassifier?branch=master)
[![Version](https://img.shields.io/cocoapods/v/HRLClassifier.svg?style=flat)](http://cocoapods.org/pods/HRLClassifier)
[![Docs](https://img.shields.io/cocoapods/metrics/doc-percent/HRLClassifier.svg)](http://cocoadocs.org/docsets/HRLClassifier)

Use Machine Learning to predict if a person is working out based of his/her heart rate.

## Example

To run the example project, clone the repo, and run `pod install` from the Example directory first.

## Installation

HRLClassifier is available through [CocoaPods](http://cocoapods.org). To install
it, simply add the following line to your Podfile:

```ruby
pod "HRLClassifier"
```

## Usage

```swift
import HRLClassifier

let filename = "/path/to/archive"

let baseDate = Date(timeIntervalSinceReferenceDate: 0)
{'fraction_non_alphanumeric': 0.1351981351981352, 'fraction_numerical': 0.0013986013986013986, 'mean_word_length': 6.201342281879195, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 11, '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': '5335269', 'n_tokens_mistral': 751, 'n_tokens_neox': 696, 'n_words': 147}