Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
A Comprehensive Python Module for Machine Learning and Data Science
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.
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
.
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. |
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]
After installation, import Luma in your Python script to access its features:
import luma
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.
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.
Luma is released under the GPL-3.0 License. See LICENSE
file for more details.
Luma is inspired by these libraries:
Description | |
---|---|
Latest Version | 1.2.5 |
Lines of Code | ~40.1K |
Dependencies | NumPy, SciPy, Pandas, Matplotlib, Seaborn, MLX(Optional) |
FAQs
A Comprehensive Python Module for Machine Learning and Data Science
We found that luma-ml demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.