Skip to main content

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:

  1. Linear Regression – Predicts continuous values using a linear relationship.
  2. Multiple Linear Regression – Extends linear regression to multiple features.
  3. Logistic Regression – Used for binary classification tasks.
  4. K-Nearest Neighbors (KNN) – A non-parametric classification algorithm.
  5. Decision Tree – A tree-based model for classification and regression.
  6. Random Forest – An ensemble learning method using multiple decision trees.
  7. Support Vector Machine (SVM) – A powerful classification model.
  8. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

axonml-0.1.0.tar.gz (12.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

axonml-0.1.0-py3-none-any.whl (18.7 kB view details)

Uploaded Python 3

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

Hashes for axonml-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1457456983e2b61c4b30a6fdc2786b5c304263b3ca4ba83fb8e4853e9bd12bce
MD5 7856d88d7f938ec3961ba676a65ab695
BLAKE2b-256 197b5776b28aea1753e713f359192e509a69aaf81b8f9b2bf652c03bff4b7a9b

See more details on using hashes here.

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

Hashes for axonml-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6383866651ba27dbc1f706741c0d4afc1b9f4507a02ce1e6fde2b9b2ad9d0ff1
MD5 5f0b30542a7761e27c4d77308950c860
BLAKE2b-256 7f6490c4dda22393317bbb431df8f664eac5d36dba8eb250b71e12c1f68e9ded

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page