A machine learning library written in OCaml
- Supervised learning algorithms
- Data preprocessing utilities
- Matrix/Linear algebra tools
- Model evaluation metrics
To install SciCaml, clone the repository and build the project using dune:
git clone https://github.com/pineapple-soup/scicaml.git
cd scicaml
dune buildHere is a simple example of how to use SciCaml:
open Scicaml
let () =
let data = Dataset.load_csv "data.csv" in
let model = LinearRegression.train data in
let predictions = LinearRegression.predict model data in
Printf.printf "Predictions: %s\n" (string_of_predictions predictions)This project is licensed under the MIT License.