Implementation of the TF-IDF algorithm in Swift. TF-IDF is commonly used in Machine Learning. As a reference to the general details about TF-IDF you can see this Wikipedia article
This project is intended as an experimental implementation adopting Swift's Protocols and Generics.
Relevant files are:
- Tf-Idf.swift: contains implementations
- DocExample.swift: contains a use case example (also adopting generics)
- Tf_IdfTests.swift: contains tests for the case example.