Skip to content

MLnext Framework is an open source framework for hardware independent execution of machine learning using Python and Docker. It provides machine learning utilities.

License

Notifications You must be signed in to change notification settings

PLCnext/MLnext-Framework

Repository files navigation

MLnext MLnext Framework

Latest Version Supported Python Versions MyPy checked License Digital Factory Now docs

MLnext Framework is an open source framework for hardware independent execution of machine learning using Python and Docker. It provides machine learning utilities. The corresponding Python package is called mlnext-framework. MLnext Framework belongs to a solution portfolio for the Digital Factory now to realize Data collection, storage, and evaluation.

Digitalization is posing numerous challenges for production --- but above all, it provides countless opportunities for increasing productivity and system availability. To ensure that you benefit from the advantages of digitalization as quickly as possible, we will provide you with needs-based support --- from installing simple stand-alone solutions to comprehensive digitalization concepts.

The Digital Factory now is based on the following four fields of activity:

  • Data collection, storage, and evaluation
  • Data transportation
  • Data security
  • Data usage

The four fields of action provide you with various solutions, from data acquisition to data utilization. Each individual solution will not only be tailored to your particular requirements; the fields of action can also be combined in any way or considered individually. Regardless of which path you are taking toward the Digital Factory, we will be happy to support you during the next steps.

To help you to meet today's digitalization challenges and implement opportunities profitably, our solutions provide the following added values:

  • Scalability --- tailored to your requirements
  • Tested and validated --- in our own in-house production facilities
  • Ready-to-use --- benefit from the digital transformation today

With target-oriented consultation, we will find the right solution for your Digital Factory together. Let us take on the challenges of digitalization and leverage its opportunities together.

Installation

Install this package using pip:

pip install mlnext-framework

Modules

The MLnext Framework consists of 7 modules:

import mlnext.data as data          # for data loading and manipulation
import mlnext.io as io              # for loading and saving files
import mlnext.pipeline as pipeline  # for data preprocessing
import mlnext.plot as plot          # for data visualization
import mlnext.score as score        # for model evaluation
import mlnext.anomaly as anomaly    # for anomaly interpretation
import mlnext.utils as utils        # for utility functions

# hint: all functions can also be accessed from the root module
import mlnext

Development

MLnext uses rye to manage the development environment. Install rye by following the instructions on their website and run rye sync to setup the development environment.

Furthermore, we use black and ruff to enforce style standards on the codebase. The formatting is done for you via pre-commit, and is enforced via the tox -e lint in the CI/CD. Run pre-commit install to set up the git hooks; subsequently, when you git commit, the formatter will be run. If the changed files are not conformant, the hook will have reformatted them and you may need to run pre-commit again. You can run pre-commit run --all-files to manually run the formatters.

Build the documentation by running tox -e docs.

About

MLnext Framework is an open source framework for hardware independent execution of machine learning using Python and Docker. It provides machine learning utilities.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages