Skip to main content

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:

  1. Linear Regression - A basic regression model that fits a linear relationship between independent and dependent variables.
  2. Multiple Linear Regression - An extension of linear regression that handles multiple input features.
  3. Logistic Regression - A classification algorithm based on the sigmoid function for binary classification problems.
  4. K-Nearest Neighbors (KNN) - A non-parametric method used for classification and regression based on distance metrics.
  5. Decision Tree - A tree-based model that splits data based on feature importance to make decisions.
  6. Random Forest - An ensemble method using multiple decision trees to improve prediction accuracy and reduce overfitting.
  7. Support Vector Machine (SVM) - A powerful classification algorithm that finds the optimal hyperplane for separating classes.
  8. 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! 🚀

Metadata

Release files for axonml 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for axonml 0.1.1
File Size Uploaded
axonml-0.1.1.tar.gz 13.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for axonml 0.1.1
File Interpreter ABI Platform
axonml-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 32.0 kB

Release files / axonml-0.1.1.tar.gz

Download URL axonml-0.1.1.tar.gz
Size 13.2 kB
Tags Source
SHA-256 checksum
How to use checksums
be6f63e9de7c21458294b53ada98050e60f73430bf096b726791a362455cb614
BLAKE2b-256 checksum
How to use checksums
bfc7bad49cf6e4540f36324340720a02c7dc56a5afcec526597db9252ad5192c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.3

Release files / axonml-0.1.1-py3-none-any.whl

Download URL axonml-0.1.1-py3-none-any.whl
Size 18.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
26949c563ab84b28df4a28c764faa9bdfb9417d085b72dcb708aebc15e9c15d3
BLAKE2b-256 checksum
How to use checksums
1e2da085a5295cad85b8dece859ef3c3fb626575e6ff297c32409abd2d047f18
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.3

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page