Skip to content

CarlosUriass/Minerva

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minerva

High-performance Machine Learning library for Java.

Pure Java. Zero dependencies. Production ready.


Minerva

Documentation

Quick Start

import com.minerva.core.primitives.Matrix;
import com.minerva.core.primitives.Vector;

// Solve a linear system Ax = b
Matrix A = new Matrix(new double[][]{{2, 3}, {4, 1}});
Vector b = new Vector(new double[]{8, 6});

Vector x = A.solve(b);  // x = [1, 2]

Examples

Matrix operations

Matrix A = new Matrix(new double[][]{{1, 2}, {3, 4}});
Matrix B = new Matrix(new double[][]{{5, 6}, {7, 8}});

Matrix C = A.multiply(B);
Matrix T = A.transpose();
Matrix I = Matrix.identity(3);

Linear regression

LinearRegression model = new LinearRegression();
model.fit(X, y);
Vector predictions = model.predict(XTest);

About

High-perfomance Machine Learning library for Java

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages