Skip to main content

NexGML — Next Generation Machine Learning (educational ML utilities)

Project description

Nexarians - Open source machine learning repository for community

PyPI version License: MIT

🔬 NexGML PyPI package: Transparent, Modular, and Easy to use

NexGML (Next Generation Machine Learning) is a custom Machine Learning utility package built for educational and research purposes, emphasizing code transparency and high performance with efficient python implementation.

Key Features & Technology Stack

  • Modular Helpers: Separates complex logic into focused helper modules (ForLinear, ForTree, Indexing, Metrics, Guardians) for easy customization.
  • Sparse Data Ready: Full support for scipy.sparse matrices (CSR/CSC) for memory efficiency.

Installation

pip install nexgml

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')
nexgml.metrics Model Metrics. Regressor and classifier models metrics computation (R^2, F1, Accuracy Score) accuracy_score(y_true, pred)
nexgml.guardians Numerical stability. Value clipping, invalid value detecting (safe_array, hasinf, hasnan) safe_array(array)

ConceptDesign

ConceptDesign (CoDe) is a folder where the design of a concept that is material for community research is defined and developed via files with markdown (md) existence.

ProtoConceptDesign

ProtoConceptDesign (ProCoDe) is a folder that stores the main ideas, basic theorems, main ideas and context definitions of a concept design which are in the ConceptDesign folder. The purpose of separating CoDe and ProCoDe is to provide clarity between concept definitions and context definitions.

DesignCache

DesignCache is a folder that contains concept designs that are deemed to have failed, the failure in question could be an error in the main idea of ​​the concept from the start, a refutation of the theory on which a concept is based, and other things that can affect the interpretability of the definition and meaning of a concept.

📝 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
  • 🥼 Designing and developing concepts, theories and hypotheses. Before finally forming its implementation

⚠️ 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.5.1.tar.gz (60.5 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.5.1-py3-none-any.whl (114.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for nexgml-1.5.1.tar.gz
Algorithm Hash digest
SHA256 ef6998b079dfcdb9c86cd45afe62d8f88d9e83dccfa1e396606d38b83ddd605e
MD5 ce6788dc026dcd0ea400d1ccc36d50c6
BLAKE2b-256 c5173936dc9209d5ab835a16c9544e718a6fe34b743bf87ebd1da9bec45c208b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nexgml-1.5.1-py3-none-any.whl
  • Upload date:
  • Size: 114.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-1.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ceecf4414a8a90bba9bfa1edc451b8bc1033ccea7d7bb5167af46843ae7c8ebd
MD5 e6ed60f709a69dc9565bc91e130b287e
BLAKE2b-256 b73b676a5bf635498b92e1b25d4df5dc38f6146b57dc8802b351a9ac5785fdb9

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