Skip to main content

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


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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

andreani_aa_ml-0.0.1-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file andreani_aa_ml-0.0.1.tar.gz.

File metadata

  • Download URL: andreani_aa_ml-0.0.1.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.7

File hashes

Hashes for andreani_aa_ml-0.0.1.tar.gz
Algorithm Hash digest
SHA256 b23d9d845e20cf763919cb91ad5406a5c45bd274e4faa48897cba35ea04a4fca
MD5 3ac82f9b268ead056f7897911c29dd18
BLAKE2b-256 a33b960de7f8037a36aff3cb1b3880d753b26e6098248b12bb0195af56786c17

See more details on using hashes here.

File details

Details for the file andreani_aa_ml-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: andreani_aa_ml-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 6.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.7

File hashes

Hashes for andreani_aa_ml-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2105112cab8f27cfc2ad067006f9d1cac27e482783fe51f89938b9cd1d07f1b2
MD5 6722e989385618fba20300239c07cbd9
BLAKE2b-256 5119fb279c1e1567abd039fd0b8e89c4dc9b6cf944d05a75c009721d1455a248

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page