Skip to content

EasyTSAD.Summary

Summary

Summary()

plot_aggreY

plot_aggreY(types, datasets, methods, training_schema)

Plots aggregated anomaly scores for the specified types, datasets, methods, and training schema.

Parameters:

Name Type Description Default
types str

Types of the data.

required
datasets list

List of dataset names.

required
methods list

List of method names.

required
training_schema str

Training schema name.

required

Returns:

Type Description

None

to_csv

to_csv(datasets, methods, training_schema, eval_items)

Generates a CSV file based on the provided datasets, methods, training schema, and evaluation items.

Parameters:

Name Type Description Default
datasets list

List of dataset names.

required
methods list

List of method names.

required
training_schema str

Training schema name.

required
eval_items list

List of evaluation items, where each item is a list containing the path to the final value in Eval JSONs, e.g. [ ["event-based f1 under pa with mode log", "f1"], ["best f1 under pa", "f1"] ]

required

Returns:

Type Description

None

Raises:

Type Description
FileNotFoundError

If the JSON file for a specific method, dataset, and training schema does not exist.