A lightweight machine learning library implementing fundamental ML algorithms
Project description
AxonML
AxonML is a lightweight machine learning package that provides easy-to-use implementations of fundamental ML algorithms. It is designed for beginners and practitioners who want to understand and experiment with ML models without relying on heavy dependencies.
Features
- Simple and efficient implementations of core ML algorithms.
- No heavy dependencies—built using NumPy.
- Easy-to-use API for training and predictions.
Installation
pip install axonml
Supported Algorithms
AxonML includes the following machine learning algorithms:
- Linear Regression – Predicts continuous values using a linear relationship.
- Multiple Linear Regression – Extends linear regression to multiple features.
- Logistic Regression – Used for binary classification tasks.
- K-Nearest Neighbors (KNN) – A non-parametric classification algorithm.
- Decision Tree – A tree-based model for classification and regression.
- Random Forest – An ensemble learning method using multiple decision trees.
- Support Vector Machine (SVM) – A powerful classification model.
- XGBoost – Gradient boosting algorithm for improved accuracy.
Usage
Example: Linear Regression
from axonml.linear_regression import LinearRegression
import numpy as np
# Sample dataset
X = np.array([[1], [2], [3], [4], [5]])
y = np.array([2, 4, 6, 8, 10])
# Model training
model = LinearRegression()
model.fit(X, y)
# Prediction
predictions = model.predict(X)
print(predictions)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file axonml-0.1.0.tar.gz.
File metadata
- Download URL: axonml-0.1.0.tar.gz
- Upload date:
- Size: 12.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1457456983e2b61c4b30a6fdc2786b5c304263b3ca4ba83fb8e4853e9bd12bce
|
|
| MD5 |
7856d88d7f938ec3961ba676a65ab695
|
|
| BLAKE2b-256 |
197b5776b28aea1753e713f359192e509a69aaf81b8f9b2bf652c03bff4b7a9b
|
File details
Details for the file axonml-0.1.0-py3-none-any.whl.
File metadata
- Download URL: axonml-0.1.0-py3-none-any.whl
- Upload date:
- Size: 18.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6383866651ba27dbc1f706741c0d4afc1b9f4507a02ce1e6fde2b9b2ad9d0ff1
|
|
| MD5 |
5f0b30542a7761e27c4d77308950c860
|
|
| BLAKE2b-256 |
7f6490c4dda22393317bbb431df8f664eac5d36dba8eb250b71e12c1f68e9ded
|