Common functions for ML proyects used by the Andreani Advanced Analytics team
Project description
Andreani Advanced Analytics tools
Instalar usando pip
pip install andreani-aa-ml
Importación
import aa_ml
Ejemplo de uso
- AML Pipeline: Pipeline de ejecución de experimentos en Azure Machine Learning
from aa_tools import aml_pipeline, logger
if __name__ == "__main__":
log = logger("test.py", "main")
# Not part of pipeline
aml_pipeline.create_train_template("test_file.py")
log.log_console("Template file created as test_file.py", "INFO")
tags = {
"scale" : "false",
"balanced" : "false",
"outliers" : "false",
"target" : "target"
}
log.log_console("Tags defined", "INFO")
try:
Pipeline = aml_pipeline.pipeline("aa_tools_test", "linear_regression", "regression", tags)
except Exception as e:
log.log_console(f"Exception initializing pipeline: {e}")
log.close()
raise e
try:
Pipeline.run("aml/azure.pkl", "aml/environment.yml", "aml", "train_template.py", log)
except Exception as e:
log.log_console(f"Exception running pipeline: {e}")
log.close()
raise e
log.close()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
andreani_aa_ml-0.0.1.tar.gz
(5.4 kB
view hashes)
Built Distribution
Close
Hashes for andreani_aa_ml-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2105112cab8f27cfc2ad067006f9d1cac27e482783fe51f89938b9cd1d07f1b2 |
|
MD5 | 6722e989385618fba20300239c07cbd9 |
|
BLAKE2b-256 | 5119fb279c1e1567abd039fd0b8e89c4dc9b6cf944d05a75c009721d1455a248 |