Skip to main content

AnalysisWeb

Project description

AnalysisWeb Package

you can install this package by

pip install AnalysisWeb

The package consists of 5 function :

  • 1 create_results_index: Creates an HTML index page linking to all result files.
  • 2 config_to_html : Creates an HTML report of the configuration object with compact layout.
  • 3 image_report_to_html : Creates an HTML report with a base64 image and dictionary information.
  • 4 save_table_html : Saves a DataFrame as an HTML file using template markers for clean appending
  • 5 image_gallery_to_html : Create an HTML page with multiple base64 images in a gallery layout.

Use the functions above to create the *.html pages for each run

Sequencer

The package consists of the Sequencer Class which helps maintain the CSV file system required for the index page

For each process (eg. "fit", "valid", "analysis" ...) set the result as a string (eg. "Fitting") use the Sequencer to connect between the processes and update the status.

Example usage

sequencer = Sequencer(
    plots_data_file, model.timestamp, config.model_type)


sequencer.start()

sequencer.add_algorithm(
    model.analyze, holdout_sets=holdout_sets, training_sets=train_sets
)

sequencer.add_algorithm(model.compute_yield, holdout_sets=holdout_sets)

sequencer.add_algorithm(
    model.validation,
    test_sets=holdout_sets,
    plot_label=f"holdout_{args.model_type}",
)

score = model.scoring()
sequencer.add_score("score", score)

sequencer.end()

Web APP

you can launch the webapp with

python -m AnalysisWeb.app --results-dir --csv-dir

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

analysisweb-0.0.3.tar.gz (52.4 kB view details)

Uploaded Source

Built Distribution

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

analysisweb-0.0.3-py3-none-any.whl (50.4 kB view details)

Uploaded Python 3

File details

Details for the file analysisweb-0.0.3.tar.gz.

File metadata

  • Download URL: analysisweb-0.0.3.tar.gz
  • Upload date:
  • Size: 52.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.13

File hashes

Hashes for analysisweb-0.0.3.tar.gz
Algorithm Hash digest
SHA256 9479db8ff27afa24394f627ac42b68f53ae4ae3989f1176ed1b32ad2f89c45ad
MD5 eb90da26505805c61fe9f8eed7a58963
BLAKE2b-256 7be33aa669869d6831855c26bcdd3fa15adb687af13625373bb066ca95a2fc82

See more details on using hashes here.

File details

Details for the file analysisweb-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: analysisweb-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 50.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.13

File hashes

Hashes for analysisweb-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 00670820e15dd6544a26db1bd60496934933cd67cd3b9717c289c3b3b24412ed
MD5 b4ee29b8b58da6444acff8fc78ef6d83
BLAKE2b-256 fd481c84e801a88c479e2d23acdec077c4e8cd8bba1e3ba2b1caa4a93a0d451c

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