MLXD (Machine Learning eXperiment Deployment) is a CI/CD testing tool for machine learning workflows. This CLI simplifies testing, configuration, and encryption of ML model performance metrics in a secure and standalone manner.
- Run ML Tests: Evaluate metrics such as accuracy, precision, and recall for ML models.
-
Fully Configurable: Easily define model paths, datasets, and test criteria using a
config.yaml
file.
Install the CLI globally via npm:
npm install -g @codnx/mlxd
Run the following command to create a config.yaml
file in the current directory:
mlxd init
Edit the generated config.yaml
file to specify your model and dataset paths, along with the test criteria. Example:
dataPath: "./data/dataset.csv"
tests:
- name: "Accuracy Test"
type: "metric_threshold"
metric: "accuracy"
threshold: 0.9
Run the tests defined in the configuration file:
mlxd run
Results will be displayed in the console.
-
mlxd init
:
Creates aconfig.yaml
template in the current directory.
-
mlxd run
:
Executes the tests defined inconfig.yaml
.
-
mlxd --version
ormlxd -v
:
Displays the current version of the CLI.
-
mlxd uninstall
:
Removes the CLI from your system.
-
Install the CLI:
npm install -g @codnx/mlxd
-
Create a Configuration File:
mlxd init
-
Edit
config.yaml
:dataPath: "./data/dataset.csv" tests: - name: "Accuracy Test" type: "metric_threshold" metric: "accuracy" threshold: 0.9
-
Run Tests:
mlxd run
-
Uninstall the CLI:
mlxd uninstall
-
No
config.yaml
found:
Ensure you runmlxd init
to generate the configuration file. -
Model or dataset file not found:
Verify that the paths inconfig.yaml
(modelPath
anddataPath
) point to valid files.
Confirm the installed version using:
mlxd --version
If you encounter issues or have questions, feel free to reach out to our support team:
- Email: support@codin.in
We’re here to help!
This project is licensed under the Apache License 2.0.
By installing or using the @codin/mlxd
CLI tool, you acknowledge and agree to the following terms:
- This CLI tool is under active development and may undergo significant changes in functionality, structure, and features.
- The current version provides limited functionality (Automated model performance checks) and may include experimental or unstable features.
- You are permitted to use this CLI tool solely for its intended purpose: testing machine learning models within your projects.
- Redistribution, reverse engineering, or modification of the tool for commercial purposes without explicit permission from the authors is prohibited.
- You are responsible for any actions or consequences arising from the use of this CLI tool, including but not limited to data handling and processing.
- This CLI does not transmit or store any user data externally. However, you are responsible for ensuring the security and confidentiality of the datasets, models, and configuration files (
config.yaml
) used with the CLI. - It is your responsibility to comply with applicable data privacy, security, and governance laws while using this tool.
- This CLI is provided on an "as-is" basis, without any guarantees or warranties, express or implied, including but not limited to fitness for a particular purpose, non-infringement, or merchantability.
- The authors make no guarantee that the tool is free of errors, bugs, or vulnerabilities.
- The authors and contributors shall not be held liable for any direct, indirect, incidental, special, or consequential damages arising from the use or inability to use the CLI, even if advised of the possibility of such damages.
- The tool may be updated frequently during development. These updates may alter or remove features without prior notice.
- Users are encouraged to keep the CLI updated to ensure compatibility and access to the latest improvements.
- By providing feedback, suggestions, or contributions to the project, you grant the authors a non-exclusive, royalty-free, worldwide license to use, modify, and distribute your contributions as part of the project.
- The authors reserve the right to revoke access to this CLI tool at any time if the terms of this agreement are violated.
- This tool is licensed under the ISC License. The terms of the ISC License apply in addition to this Usage Agreement.