Skip to content
This repository has been archived by the owner on Jun 22, 2024. It is now read-only.

Releases: KIT-IAI/pyWATTS

pyWATTS 0.3.1

31 Mar 12:16
06908b2
Compare
Choose a tag to compare
pyWATTS 0.3.1 Pre-release
Pre-release

0.3.0 - 2022-31-03

Added

  • Add average module for pre-processing (#166)
  • Metric can be calculated on cutouts (#149)
  • Add custom scaler module for pre-processing (#167)
  • Add a MASE Summary (#148)
  • Add ensemble module for post-processing (#165)
  • Online Start Feature (#189)
  • Enable Multiple RefitConditions (#192)
  • Periodic Refit Condition (#192)
  • Add AnomalyGeneration modules (#195)
  • Add get_min_data method in modules to enable them to specify how much data they need. (#147)

Changed

  • Retraining is triggered after all steps are transformed (#117)
  • The sklean-wrapper includes now methods based on the SelectorMixin (#185)

Fixed

  • Try to handle non matching shapes in metrics. If not possible raise an exception. (#154)
  • Fixed Sampler-module, samples now in forwarding direction (#174)
  • Fixed wrong check of if summary should be returned in _run method of pipeline (#157)
  • Fixed Pipeline.to_folder() for modules that store parameters in numpy format by adding a special JSON-encoder for types that are not json-serializable by default (#175)
  • Added missing summaries to pywatts.summaries.init.py (#183)
  • Naming in the Metric Summaries (#193)
  • Fixed wrong time dimension name in ComputationMode.Transform (#199)
  • Fixed online execution of subpipeline (#203)
  • Enable to store a Keras Model with custom objects as custom loss functions (#17)
  • Fixed online execution of stacked pipelines (#213)

Deprecated

Removed

  • MAECalculator and RMSECalculator

pyWATTS 0.2.0

30 Sep 13:52
6269557
Compare
Choose a tag to compare
pyWATTS 0.2.0 Pre-release
Pre-release

Added

  • Logger for modules is defined in Base (#77)
  • Add parameters to RMSECalculator so that it can caluclate a sliding rmse too. (#23)
  • StatsmodelTimeSeriesModelWrapper. (#29)
  • Optional pipeline path and less aggressive FileManager directory creation (#94)
  • Add fit_method parameter to FunctionModule (#93)
  • SummaryFunctionality (#34)
    • BaseSummary Module, from which summary module should inherit.
    • SummaryStep, which handles the execution of the summary module.
    • RMSESummary and RollingRMSE as consequence of the usage of summary modules.
    • Time needed by the fit method is recorded by the summary. (Part of the summary.md)
    • Section about how to get results of a pyWATTS pipeline.
    • Enable more generic usage of summaries, including different output formats (#129)
  • Add MAE as another summary. (#99)
  • Add summary parameter to train and test to ensure backward compatibility. (#127)
  • Add Min amd Max as new summaries (#105)
  • Add MAPE as new summary (#104)
  • Add a RunSetting for setting run specific settings in the steps (#150)
  • Add Slicer to slice data in a numpy like manner, i.e. a[start:end] (#152)

Changed

  • Remove parameter step.stop. Instead we call the method _should_stop on the previous steps. (#25)
  • Change metrics to summaries (#115)
  • Change indeces and indices to indexes (#102)
  • Restructure the modules folder (#114)

Deprecated

  • Usage of RMSECalculator. Will be removed in version 0.3. Calculation of metrics should be a summary and not a module. (#34)
  • Usage of MAECalculator. Will be removed in version 0.3. Calculation of metrics should be a summary and not a module. (#115)

Fixed

  • Converts the input for the keras model in the kerasWrapper from xr.Dataarray to np.array (#97)
  • Missing call of _get_rolling in Rolling Base (#76)
  • Fix save and load of keras Wrapper (#91)
  • Import of pytorchWrapper via wrapper.init
  • Fix the mask for weekends and public holidays in rolling_base (#107)
  • Improved Online Learning Performance (#18)
    • Add a cache for the most recent value, since this value is often requested by successing modules.
    • Remove unecessary copies
    • Avoid uncessary execution in should_stop
    • Improve performance in sample_module
    • Improve performance in trend_extraction
    • Callbacks are only executed if the step is finished. No intermediate results are plotted.
  • Fix the extracted time index in rolling RMSE (#124)
  • Use raise from if an exception is raise because an other is raised before for retaining the original stack trace (#123)
  • Function module crashed because of missing is_fitted = True (#144)

pyWATTS 0.1.0

25 Mar 16:46
3135ca5
Compare
Choose a tag to compare
pyWATTS 0.1.0 Pre-release
Pre-release

Added

  • Added integration tests to github actions by executing the examples in root directory (#47)
  • Implementation of the profile neural network (#71)
  • Imports from the init files for exception, modules, and wrapper. (#27)
  • Add rolling_variance, rolling_kurtosis, rolling_skewness. (#28)
  • Select the kind of groupby in the rolling function by an enum (#28)

Changed

  • Remove plot, to_csv, summary. Instead we add a callback functionality. Additional, we provide some basic callbacks. (#16)
  • Change of the API (#16)
    • Use keyword arguments instead of list for determining the input of modules. keyword that start with target are only fed into the fit function.
    • Adapt the modules, so that they are compatible with the new API
    • Use xarray DataArray instead of xr.DataSets for exchaning the data
    • Remove collect step, since through the new API they are not necessary any more
    • Add ResultStep, for selecting the desired result if a moudule provides multiple ones.
    • Remove whitelister, instead columns can be selected via square brackets.
  • CalendarExtraction: Remove encoding, for each encoding and suitable feature a new feature is created.
    E.g. month_sine. Additionally further calendar features are added. E.g. monday, tuesday, .. and cos encodings. For
    the different features, a enum type is defined.

Deprecated

Fixed

  • Fixed pipeline crashing in RMSE module because of wrong time index (#39)
  • Fixed bracket operator not working for steps within the pipeline (#42)
  • Fixed dict objects could not be passed to pipeline (#43)
  • Fixed old parameter in sample_module (#67)
  • Fixed array creation in trend extraciont (#69)