artemis-analytics / artemis

Apache License 2.0
5 stars 2 forks source link

Bug visualization 28 #29

Closed DominicParent closed 4 years ago

DominicParent commented 4 years ago

Fixed bug by recreating data schema file. Something appears to have been corrupted in the format of the previous file. The error message of issue #28 is no longer appearing, and the 11 graphs and t-digest visualization are present.

ryanmwhitephd commented 4 years ago

@DominicParent is the merge still required? I just ran the tests on the master (after my latest merge) and everything is fine.

DominicParent commented 4 years ago

Yes, the demoday examples don't run as part of the unittests. The master branch is not able to create the vizualization for the TDIGEST Traces.

To run the example in branch 28, you need python examples/demoday/demoday_example.py --location examples/demoday/data/example_product.xlsx

To run the example in master, you need python examples/demoday/demoday_example.py --location examples/demoday/data/example_sales.xlsx

With the branch 28, I get these results: root - visualize - INFO - ================================================================== root - visualize - INFO - Creating TDigest Traces... root - generate_traces - INFO - Creating TDigest Trace 1... root - get_centroids - INFO - Creating TDigest Data Using spline... root - generate_traces - INFO - Creating TDigest Trace 2... root - get_centroids - INFO - Creating TDigest Data Using spline... root - visualize - INFO - Generating TDigest Figure... root - get_figure - INFO - Building Figure from 2 TDIGEST Traces... root - generate_figure - INFO - Creating Scatter Figure from 'normal' Trace... root - generate_figure - INFO - Obtaining Scatter Plot Template... root - _create_scatter - INFO - Creating Scatter... root - generate_figure - INFO - Creating Scatter Figure from 'normal' Trace... root - generate_figure - INFO - Obtaining Scatter Plot Template... root - _create_scatter - INFO - Creating Scatter... root - generate_figure - INFO - Combining 2 Figure(s) in Subplot... root - update_figure - INFO - Updating TDIGEST Figure Layout... root - get_figure - INFO - Saving and Rendering TDIGEST Subplot Figure... root - visualize - INFO - ================================================================== On current master: root - visualize - INFO - ================================================================== root - visualize - INFO - Creating TDigest Traces... root - generate_traces - INFO - Creating TDigest Trace 1... root - generate_traces - INFO - Creating TDigest Trace 2... root - visualize - INFO - Generating TDigest Figure... root - get_figure - INFO - Building Figure from 2 TDIGEST Traces... root - _validate - ERROR - Invalid Trace Type: '<class 'list'>'. root - _validate - INFO - Each trace was expected to be a list. Therefore, this trace could not be processed. root - _validate - ERROR - Invalid Trace Type: '<class 'list'>'. root - _validate - INFO - Each trace was expected to be a list. Therefore, this trace could not be processed. root - _validate - ERROR - No Valid Data Available. root - _validate - INFO - The trace was found to be empty or contain no valid data. Therefore, the traces could not be processed. root - get_figure - ERROR - Could Not Save Plot. root - get_figure - INFO - The plot could not be saved as an TDIGEST HTML file located at '/home/dominic.parent/Documents/Projects/artemis/examples/demoday/test/tdigest_plot.html'. root - visualize - INFO - ==================================================================