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 - A basic regression model that fits a linear relationship between independent and dependent variables.
- Multiple Linear Regression - An extension of linear regression that handles multiple input features.
- Logistic Regression - A classification algorithm based on the sigmoid function for binary classification problems.
- K-Nearest Neighbors (KNN) - A non-parametric method used for classification and regression based on distance metrics.
- Decision Tree - A tree-based model that splits data based on feature importance to make decisions.
- Random Forest - An ensemble method using multiple decision trees to improve prediction accuracy and reduce overfitting.
- Support Vector Machine (SVM) - A powerful classification algorithm that finds the optimal hyperplane for separating classes.
- XGBoost - An optimized gradient boosting algorithm that builds trees sequentially to minimize errors.
Usage
Example: Linear Regression
from axonml 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)
Similarly, you can use other models like Logistic Regression, KNN, Decision Tree, Random Forest, SVM, and XGBoost.
License
AxonML is licensed under the MIT License.
Happy Coding with AxonML! 🚀
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.1.tar.gz.
File metadata
- Download URL: axonml-0.1.1.tar.gz
- Upload date:
- Size: 13.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
be6f63e9de7c21458294b53ada98050e60f73430bf096b726791a362455cb614
|
|
| MD5 |
2ff9c9bed301608aff33e9e76a5e820d
|
|
| BLAKE2b-256 |
bfc7bad49cf6e4540f36324340720a02c7dc56a5afcec526597db9252ad5192c
|
File details
Details for the file axonml-0.1.1-py3-none-any.whl.
File metadata
- Download URL: axonml-0.1.1-py3-none-any.whl
- Upload date:
- Size: 18.9 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 |
26949c563ab84b28df4a28c764faa9bdfb9417d085b72dcb708aebc15e9c15d3
|
|
| MD5 |
21a7e255770edb0f87e56e8d96b8caf1
|
|
| BLAKE2b-256 |
1e2da085a5295cad85b8dece859ef3c3fb626575e6ff297c32409abd2d047f18
|