├── .gitignore ├── LICENSE ├── README.md ├── affiliation ├── __init__.py ├── _affiliation_zone.py ├── _integral_interval.py ├── _single_ground_truth_event.py ├── generics.py └── metrics.py ├── data ├── machinetemp_adversary.gz ├── machinetemp_greenhouse.gz ├── machinetemp_groundtruth.gz ├── machinetemp_lstmad.gz ├── machinetemp_luminol.gz ├── machinetemp_trivial.gz ├── nyctaxi_adversary.gz ├── nyctaxi_greenhouse.gz ├── nyctaxi_groundtruth.gz ├── nyctaxi_lstmad.gz ├── nyctaxi_luminol.gz ├── nyctaxi_trivial.gz ├── swat_adversary.gz ├── swat_groundtruth.gz ├── swat_iforest.gz ├── swat_ocsvm.gz ├── swat_seq2seq.gz ├── swat_trivial.gz ├── twitteraapl_adversary.gz ├── twitteraapl_greenhouse.gz ├── twitteraapl_groundtruth.gz ├── twitteraapl_lstmad.gz ├── twitteraapl_luminol.gz └── twitteraapl_trivial.gz ├── setup.py └── tests ├── __init__.py ├── test_affiliation_zone.py ├── test_data.py ├── test_generics.py ├── test_integral_interval.py ├── test_metrics.py └── test_single_ground_truth_event.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahstat/affiliation-metrics-py/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahstat/affiliation-metrics-py/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahstat/affiliation-metrics-py/HEAD/README.md -------------------------------------------------------------------------------- /affiliation/__init__.py: -------------------------------------------------------------------------------- 1 | from affiliation.metrics import pr_from_events 2 | -------------------------------------------------------------------------------- /affiliation/_affiliation_zone.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahstat/affiliation-metrics-py/HEAD/affiliation/_affiliation_zone.py -------------------------------------------------------------------------------- /affiliation/_integral_interval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahstat/affiliation-metrics-py/HEAD/affiliation/_integral_interval.py -------------------------------------------------------------------------------- /affiliation/_single_ground_truth_event.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahstat/affiliation-metrics-py/HEAD/affiliation/_single_ground_truth_event.py -------------------------------------------------------------------------------- /affiliation/generics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahstat/affiliation-metrics-py/HEAD/affiliation/generics.py -------------------------------------------------------------------------------- /affiliation/metrics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahstat/affiliation-metrics-py/HEAD/affiliation/metrics.py -------------------------------------------------------------------------------- /data/machinetemp_adversary.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahstat/affiliation-metrics-py/HEAD/data/machinetemp_adversary.gz -------------------------------------------------------------------------------- /data/machinetemp_greenhouse.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahstat/affiliation-metrics-py/HEAD/data/machinetemp_greenhouse.gz -------------------------------------------------------------------------------- /data/machinetemp_groundtruth.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahstat/affiliation-metrics-py/HEAD/data/machinetemp_groundtruth.gz -------------------------------------------------------------------------------- /data/machinetemp_lstmad.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahstat/affiliation-metrics-py/HEAD/data/machinetemp_lstmad.gz -------------------------------------------------------------------------------- /data/machinetemp_luminol.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahstat/affiliation-metrics-py/HEAD/data/machinetemp_luminol.gz -------------------------------------------------------------------------------- /data/machinetemp_trivial.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahstat/affiliation-metrics-py/HEAD/data/machinetemp_trivial.gz -------------------------------------------------------------------------------- /data/nyctaxi_adversary.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahstat/affiliation-metrics-py/HEAD/data/nyctaxi_adversary.gz -------------------------------------------------------------------------------- /data/nyctaxi_greenhouse.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahstat/affiliation-metrics-py/HEAD/data/nyctaxi_greenhouse.gz -------------------------------------------------------------------------------- /data/nyctaxi_groundtruth.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahstat/affiliation-metrics-py/HEAD/data/nyctaxi_groundtruth.gz -------------------------------------------------------------------------------- /data/nyctaxi_lstmad.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahstat/affiliation-metrics-py/HEAD/data/nyctaxi_lstmad.gz -------------------------------------------------------------------------------- /data/nyctaxi_luminol.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahstat/affiliation-metrics-py/HEAD/data/nyctaxi_luminol.gz -------------------------------------------------------------------------------- /data/nyctaxi_trivial.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahstat/affiliation-metrics-py/HEAD/data/nyctaxi_trivial.gz -------------------------------------------------------------------------------- /data/swat_adversary.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahstat/affiliation-metrics-py/HEAD/data/swat_adversary.gz -------------------------------------------------------------------------------- /data/swat_groundtruth.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahstat/affiliation-metrics-py/HEAD/data/swat_groundtruth.gz -------------------------------------------------------------------------------- /data/swat_iforest.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahstat/affiliation-metrics-py/HEAD/data/swat_iforest.gz -------------------------------------------------------------------------------- /data/swat_ocsvm.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahstat/affiliation-metrics-py/HEAD/data/swat_ocsvm.gz -------------------------------------------------------------------------------- /data/swat_seq2seq.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahstat/affiliation-metrics-py/HEAD/data/swat_seq2seq.gz -------------------------------------------------------------------------------- /data/swat_trivial.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahstat/affiliation-metrics-py/HEAD/data/swat_trivial.gz -------------------------------------------------------------------------------- /data/twitteraapl_adversary.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahstat/affiliation-metrics-py/HEAD/data/twitteraapl_adversary.gz -------------------------------------------------------------------------------- /data/twitteraapl_greenhouse.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahstat/affiliation-metrics-py/HEAD/data/twitteraapl_greenhouse.gz -------------------------------------------------------------------------------- /data/twitteraapl_groundtruth.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahstat/affiliation-metrics-py/HEAD/data/twitteraapl_groundtruth.gz -------------------------------------------------------------------------------- /data/twitteraapl_lstmad.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahstat/affiliation-metrics-py/HEAD/data/twitteraapl_lstmad.gz -------------------------------------------------------------------------------- /data/twitteraapl_luminol.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahstat/affiliation-metrics-py/HEAD/data/twitteraapl_luminol.gz -------------------------------------------------------------------------------- /data/twitteraapl_trivial.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahstat/affiliation-metrics-py/HEAD/data/twitteraapl_trivial.gz -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahstat/affiliation-metrics-py/HEAD/setup.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /tests/test_affiliation_zone.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahstat/affiliation-metrics-py/HEAD/tests/test_affiliation_zone.py -------------------------------------------------------------------------------- /tests/test_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahstat/affiliation-metrics-py/HEAD/tests/test_data.py -------------------------------------------------------------------------------- /tests/test_generics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahstat/affiliation-metrics-py/HEAD/tests/test_generics.py -------------------------------------------------------------------------------- /tests/test_integral_interval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahstat/affiliation-metrics-py/HEAD/tests/test_integral_interval.py -------------------------------------------------------------------------------- /tests/test_metrics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahstat/affiliation-metrics-py/HEAD/tests/test_metrics.py -------------------------------------------------------------------------------- /tests/test_single_ground_truth_event.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahstat/affiliation-metrics-py/HEAD/tests/test_single_ground_truth_event.py --------------------------------------------------------------------------------