Skip to content

Conversation

@roelofsc
Copy link
Contributor

Adds the PreDist notebook (notebooks/PreDist/PreDist.ipynb) showing how to apply the EnergyFaultDetector on the PreDist dataset.

Changes

  • evaluation.PreDistDataset: A class to (down)load and prepare data from the PreDist dataset.
  • The FaultDetectionResult now also has a method to load saved results and a utility method criticality, which wraps the utils.analysis.calculate_criticality function.
  • Some refactoring regarding file handling. All classes now accept pathlib.Path for file paths as well. Start moving from os.path to the pathlib library.
  • Dataframes are now cast to float32 after data preprocessing in the FaultDetector to save memory. If float64 is needed, this can be configured (Config.dtype).
  • Bugfix for the quick_fault_detection module (caused by the DataPreprocessor update)

…he notebook `notebooks/PreDist/PreDist.ipynb` to show how to apply the EnergyFaultDetector on the PreDist dataset.

Also adds the `criticality` as method to the `FaultDetectionResult`, for easy access and plotting.
Some refactoring: Moving from os.path to pathlib.Path for file handling (wip).
@roelofsc roelofsc merged commit d9c920d into develop Jan 13, 2026
1 check passed
@roelofsc roelofsc deleted the cr-feature-PreDist-notebook branch January 13, 2026 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants