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.3.tar.gz (33.1 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.3-py3-none-any.whl (91.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nexgml-0.1.3.tar.gz
  • Upload date:
  • Size: 33.1 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.3.tar.gz
Algorithm Hash digest
SHA256 a50a8fdde0fceb13ba2bfb50d06d000b311b933b3ca680299b32ebed0b81d263
MD5 9174f7914505dd800107523fd33e7279
BLAKE2b-256 587557249239c6628615024d1f99d554b8ee75b3f89991fb105dad292c351f65

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nexgml-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e69dd5e876162bb1563f2ed24ab67702dd9a09f1d03d8846694e98cb77566427
MD5 2e6c3147dda116c06acdde569a237de5
BLAKE2b-256 a255ed99da2cabbd6fe320114fa4f761d7cdd9b541c01af5af4dc5fb47b257a4

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