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

  • Modular Helpers: Separates complex logic into focused helper modules (ForLinear, 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. Regressors (The Models)

The primary model is the Gradient Supported Intense Regressor (GSIR).

from nexgml.gradient_supported import IntenseRegressor
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.amo.forlinear Linear Criteria. Activation/Loss functions (Softmax, CCE, RMSE). forlinear.softmax(logits)
nexgml.amo.fortree Tree Criteria. Impurity measures (Gini, Entropy, Friedman MSE). fortree.gini_impurity(labels)
nexgml.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-1.2.0.tar.gz (54.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-1.2.0-py3-none-any.whl (139.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for nexgml-1.2.0.tar.gz
Algorithm Hash digest
SHA256 db40934daa8769e814a71d439825f497ebc2e75c5e06b1aeab2111b71e04fbf8
MD5 bb4d3a89f2017a85e661935f2dad3b93
BLAKE2b-256 96a18ba6cbb39f8570d647fec95c781c718f14b1950e4b8234cb50347636c3cb

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for nexgml-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9d59ca1b353f1e954cd78013dfc9dedb44c7022a106c6c32885f1c41c9555fd0
MD5 fa11f5e180a734c2321051f8a23223eb
BLAKE2b-256 a4f5a92d72bf154a0c920d6e3eff32d070872c6ec427a1b36ffb8f520f697dc8

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