Skip to content
Snippets Groups Projects
Commit 0bc63e8f authored by leufen1's avatar leufen1
Browse files

added docstring and exemplary graph

parent 03ef6301
No related branches found
No related tags found
5 merge requests!319add all changes of dev into release v1.4.0 branch,!318Resolve "release v1.4.0",!299Draft: Merge default data handler and preprocessing support parameter use_multiprocessing....,!288Resolve "histogram of inputs and targets",!259Draft: Resolve "WRF-Datahandler should inherit from SingleStationDatahandler"
Pipeline #65603 canceled
docs/_source/_plots/datahistogram.png

51.4 KiB

......@@ -445,6 +445,16 @@ class PlotAvailabilityHistogram(AbstractPlotClass): # pragma: no cover
class PlotDataHistogram(AbstractPlotClass): # pragma: no cover
"""
Plot histogram on transformed input and target data. This data is the same that the model sees during training. No
plots are create for the original values space (raw / unformatted data). This plot method will create a histogram
for input and target each comparing the subsets train, val and test, as well as a distinct one for the three
subsets.
.. image:: ../../../../../_source/_plots/datahistogram.png
:width: 400
"""
def __init__(self, generators: Dict[str, DataCollection], plot_folder: str = ".", plot_name="histogram",
variables_dim="variables", time_dim="datetime", window_dim="window"):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment