Skip to main content
logo

A Comprehensive Python Module for Machine Learning and Data Science

pypi-version pypi-downloads GitHub code size in bytes Code Style

About

Luma is a comprehensive, user-friendly Python library designed for both beginners and advanced users in the field of machine learning and data science. It provides a wide range of tools and functionalities to streamline the process of data analysis, model building, evaluation, and deployment.

Purpose

Luma is built for an educational purpose, focused on implementing various machine learning algorithms and models from scratch solely depending on low-level libraries such as NumPy.

Key Features

  • Easy Data Handling: Simplify data preprocessing, transformation, and visualization.
  • Model Building: Access a variety of machine learning algorithms and models.
  • Model Evaluation: Utilize robust tools for model validation and tuning.

Packages

Name Description
luma.classifier Toolkit for classification models including various algorithms.
luma.clustering Focuses on unsupervised learning and clustering algorithms.
luma.core Foundational backbone providing essential data structures and utilities.
luma.ensemble Ensemble learning methods for improved model performance.
luma.extension Various extensions for Luma development. Not for end-users.
luma.interface Protocols and custom data types for internal use within Luma.
luma.metric Performance metrics for evaluating machine learning models.
luma.migrate Import and export of machine learning models within Luma.
luma.model_selection Tools for model selection and hyperparameter tuning.
luma.neural 🔗 Deep learning models and neural network utilities. A dedicated DL package for Luma.
luma.pipe Creating and managing machine learning pipelines.
luma.preprocessing Data preprocessing functions for machine learning tasks.
luma.reduction Dimensionality reduction techniques for high-dimensional datasets.
luma.regressor Comprehensive range of regression algorithms.
luma.visual Tools for model visualization and data plotting.

Getting Started

Installation

To get started with Luma, install the package using pip:

pip install luma-ml

Or for a specific version,

pip install luma-ml==[any_version]

Import

After installation, import Luma in your Python script to access its features:

import luma

Acceleration

Luma supports MLX based NumPy acceleration on Apple Silicon. By importing Luma’s neural package, it will automatically detect Apple’s Metal Performance Shader(MPS) availability and directly apply MLX acceleration for all execution flows and operations using luma.neural.

import luma.neural

Otherwise, the default CPU based operation is applied.

For more details, please refer to the link 🔗 shown at Luma’s neural package description.


Others

Contribution

Luma is an open-source project, and we welcome contributions from the community. 😃

Whether you're interested in fixing bugs, adding new features, or improving documentation, your help is appreciated.

License

Luma is released under the GPL-3.0 License. See LICENSE file for more details.

Inspired By

Luma is inspired by these libraries:

Specifications

Description
Latest Version 1.2.5
Lines of Code ~40.1K
Dependencies NumPy, SciPy, Pandas, Matplotlib, Seaborn, MLX(Optional)

Metadata

Release files for luma-ml 1.2.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for luma-ml 1.2.5
File Size Uploaded
luma_ml-1.2.5.tar.gz 195.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for luma-ml 1.2.5
File Interpreter ABI Platform
luma_ml-1.2.5-py3-none-any.whl Python 3 none any Details

Total release size: 447.3 kB

Release files / luma_ml-1.2.5.tar.gz

Download URL luma_ml-1.2.5.tar.gz
Size 195.3 kB
Tags Source
SHA-256 checksum
How to use checksums
34b905a5d3974c4cf034e8d811c7aa126dfafa2d9389ea7bac1bc3fdde315417
BLAKE2b-256 checksum
How to use checksums
367f18aec53b902f7296feefca187b0c3e501570a8a047f02a3ef95df1f6f965
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.1

Release files / luma_ml-1.2.5-py3-none-any.whl

Download URL luma_ml-1.2.5-py3-none-any.whl
Size 252.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e2bc54b3db2b2c86079e38fc284b62fd8eb18f27b69c3a544b6909dd18653814
BLAKE2b-256 checksum
How to use checksums
9d8ffd413fe91163a043f70cee67c528116eb9efb70993b3393db85d2703ea6d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.1

Release history Release notifications | RSS feed

This release

1.2.5 This release

2 release files

1.2.3

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.9

2 release files

1.1.8

2 release files

1.1.7

2 release files

1.1.5

2 release files

1.1.0

2 release files

1.0.13

2 release files

0.9.1

2 release files

0.9.0

2 release files

0.8.2

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.5

2 release files

0.7.4

2 release files

0.7.3

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.6

2 release files

0.6.5

2 release files

0.6.4

2 release files

0.6.3

2 release files

0.6.2

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.12

2 release files

0.5.9

2 release files

0.5.8

2 release files

0.5.7

2 release files

0.5.6

2 release files

0.5.5

2 release files

0.5.4

2 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.11

2 release files

0.4.10

2 release files

0.4.9

2 release files

0.4.8

2 release files

0.4.7

2 release files

0.4.6

2 release files

0.4.5

2 release files

0.4.4

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.6

2 release files

0.3.5

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.0

2 release files

0.2.4

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page