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.2.tar.gz (51.9 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.2-py3-none-any.whl (50.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: analysisweb-0.0.2.tar.gz
  • Upload date:
  • Size: 51.9 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.2.tar.gz
Algorithm Hash digest
SHA256 892acc6fd59e7b67f518e0a5e489037c1fcfc739a1820891e1898cf50ebd43ee
MD5 ba06a1f7dbab97388b7ffb9fd50b7b50
BLAKE2b-256 65c0b7510823eeb2c1fdcdea85444926466cb41d04052aef0ad4498c48eaded4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: analysisweb-0.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3d567266ec7d52501d0243b22ea4c9a388a272424592db9f541d949789daeaba
MD5 3b9936e044a802f315ecf999866665e8
BLAKE2b-256 a06865e04043269fd65d46e93917dd108758a2eb60afe58ec99adc64fe472cf3

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