Skip to main content

NexGML — Next Generation Machine Learning (educational ML utilities)

Project description

Nexarians - The NexGML Core Repository

PyPI version License: MIT

Installation

pip install nexgml

🔬 Core Philosophy: Transparent, Fast, and Modular

NexGML is a custom Machine Learning utility built for educational and research purposes, emphasizing code transparency and high performance.

Key Features & Technology Stack

  • JIT Acceleration: Core math operations (nexgml.helper.amo and nexgml.helper.indexing) are optimized using Numba for near C-speed performance.
  • Advanced Optimization: Includes modern solvers like Adam and AdamW in classifiers.
  • Modular Helpers: Separates complex logic into focused helper modules (AMO, ForTree, Indexing) for easy customization.
  • Sparse Data Ready: Full support for scipy.sparse matrices (CSR/CSC) for memory efficiency.

💻 Available Modules & Quick Start

1. Classifiers (The Models)

The primary model is the Gradient Supported Intense Classifier (GSIC).

from nexgml.gradient_supported import IntenseClassifier
import numpy as np

# Load data X, y...

model = IntenseClassifier(
    optimizer='adamw', 
    lr_scheduler='plateau', 
    batch_size=32, 
    penalty='elasticnet'
)
model.fit(X_train, y_train)

print(f"Final Training Loss: {model.loss_history[-1]:.6f}")

2. Helper Modules (Performance Backbone)

These modules contain the high-speed math used internally.

Module Purpose Example Usage
nexgml.helper.amo Advanced Math Operations. Activation/Loss functions (Softmax, CCE, RMSE). AMO.softmax(logits)
nexgml.helper.amo.ForTree Tree Criteria. Impurity measures (Gini, Entropy, Friedman MSE). ForTree.gini_impurity(labels)
nexgml.helper.Indexing Data Utilities. One-hot encoding, smart feature slicing (standard_indexing). Indexing.standard_indexing(n_features, 'sqrt')

📝 Documentation & Exploration

This repository is dedicated to experimentation, learning, and personal research, primarily in the following fields:

  • 🤖 Artificial Intelligence and Machine Learning
  • 💻 Python development and performance optimization
  • 📖 Technical documentation and concept notes

⚠️ This project is intended for exploration and learning purposes only.

If you find this repo helpful or interesting, feel free to fork, star, or open a pull request.
This is a learning space—no pressure, just passion! 😄

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

nexgml-0.1.2.tar.gz (33.0 kB view details)

Uploaded Source

Built Distribution

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

nexgml-0.1.2-py3-none-any.whl (91.4 kB view details)

Uploaded Python 3

File details

Details for the file nexgml-0.1.2.tar.gz.

File metadata

  • Download URL: nexgml-0.1.2.tar.gz
  • Upload date:
  • Size: 33.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.9

File hashes

Hashes for nexgml-0.1.2.tar.gz
Algorithm Hash digest
SHA256 2f45a83715eba6c6790ebdf6a3278f32f8e4aeee4aaa6cc4789cb5be46596695
MD5 99a0d017e1dff5509df301f07472c99d
BLAKE2b-256 1d754298d3c953d9f00b2f165f35a9e34e774e84c5508ef35ec709f2424d9ef7

See more details on using hashes here.

File details

Details for the file nexgml-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: nexgml-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 91.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.9

File hashes

Hashes for nexgml-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6a6ea36b7af13f4e494f9c20c29a145a827d6e88db3ecc69fd6ed2d8f6ce3ded
MD5 ef95193b456d0b859239d061d77f2ec0
BLAKE2b-256 d4445aef14df55dfd0ec9fab3a92fc4aee7c86352272a89723ff79e01bf8a1ea

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