perlfly / TF-IDF

TD-IDF in Swift

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TF-IDF Example in Swift

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.

About

TD-IDF in Swift

License:MIT License


Languages

Language:Swift 100.0%