Skip to main content

seamlessvalidation

Automating the validation process for machine learning models is crucial for efficient deployment and monitoring. Depending on the phase (pre-deployment or monitoring) and the model type (such as Classifiers, Regressors, Clusters), a tailored approach is necessary for selecting appropriate validation types and methods.

During the pre-deployment phase, the seamlessvalidation package intelligently selects validation types like Mean Absolute Error (MAE), Mean Squared Error (MSE), Root Mean Squared Error (RMSE) for regression models, while for classification models, it opts for Receiver Operating Characteristic (ROC) curves, Confusion Matrices, Precision-Recall Scores, or F1 scores based on the model's nature. Moreover, it selects validation methods such as k-fold cross-validation, stratified cross-validation, leave-one-out cross-validation, bootstrapping, or holdout validation to ensure robustness in assessing model performance.

In the monitoring phase, the system continues to adapt its validation strategy based on the model type and current deployment context. It automatically selects appropriate validation types and methods to evaluate the model's performance over time. Additionally, it provides continuous monitoring results on data drift, enabling users to assess the model's effectiveness and population shift in real-world scenarios.

By automating the selection of validation types and methods based on the model type and deployment phase, the package ensures thorough and accurate validation, leading to more reliable model deployment and monitoring processes.

Installation

You can install your package using pip: pip install seamlessvalidation

Usage

Here's how you can use your package:

import seamlessvalidation

# Example usage code here
seamlessvalidation(your_model,X=X_class,y=y_class,n_splits=number_of_splits
                   ,cv_strategy='stratified_k_fold',avg_strategy='weighted',phase='validation')

seamlessvalidation(your_model,X=X_class,y=y_class
                   ,p_value=0.5
                   ,data_compare=old_data_to_compare, data_new=new_data
                   ,phase='post_deployment_monitoring')

Features

Auto selection on validation metrics based on model type and development stage. Easily selection of validation strategy. Flexible intergration comparison method and data drift monitoring

Dependencies

'scikit-learn', 'pandas', 'numpy', 'matplotlib', 'pickle', 'scipy'

Contributing

Contributions are welcome! Here's how you can contribute:

  • Fork the repository
  • Make your changes
  • Submit a pull request

License

Copyright (c) 2023, The Hugging Face Team. All rights reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

 http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Authors

ZhuZheng(Iverson) ZHOU

Support or Contact

zzho044@aucklanduni.ac.nz

Metadata

Release files for seamlessvalidation 0.12

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

Source distribution (sdist)

Source distribution for seamlessvalidation 0.12
File Size Uploaded
seamlessvalidation-0.12.tar.gz 13.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for seamlessvalidation 0.12
File Interpreter ABI Platform
seamlessvalidation-0.12-py3-none-any.whl Python 3 none any Details

Total release size: 31.1 kB

Release files / seamlessvalidation-0.12.tar.gz

Download URL seamlessvalidation-0.12.tar.gz
Size 13.5 kB
Tags Source
SHA-256 checksum
How to use checksums
5948d16b9d4cf98d7254372103e9e6975f81ea5d5194eaf23ae0f8610575e811
BLAKE2b-256 checksum
How to use checksums
accd0bb4523a7c6bb451a83f96767cefebfcc62f86341fee813f8952136bceb1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.8.8

Release files / seamlessvalidation-0.12-py3-none-any.whl

Download URL seamlessvalidation-0.12-py3-none-any.whl
Size 17.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5bf43d29be0e9fb5b0d8bc81978cf971833ca21e67885efcaacda0d8b5af6f63
BLAKE2b-256 checksum
How to use checksums
4354de3208d0ec7511a1f96abd56509feb3730d7a102e87a9f8102043376e316
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.8.8

Release history Release notifications | RSS feed

This release

0.12 This release

2 release files

0.1

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