{"id":117,"date":"2024-12-16T10:44:54","date_gmt":"2024-12-16T10:44:54","guid":{"rendered":"https:\/\/wp.lancs.ac.uk\/net0i\/?page_id=117"},"modified":"2026-01-06T16:17:03","modified_gmt":"2026-01-06T16:17:03","slug":"anomalyscore","status":"publish","type":"page","link":"https:\/\/wp.lancs.ac.uk\/net0i\/anomalyscore\/","title":{"rendered":"AnomalyScore"},"content":{"rendered":"<p><a href=\"http:\/\/wp.lancs.ac.uk\/net0i\/files\/2024\/12\/AS_sketch.png\"><img fetchpriority=\"high\" decoding=\"async\" class=\"size-full wp-image-151 aligncenter\" src=\"http:\/\/wp.lancs.ac.uk\/net0i\/files\/2024\/12\/AS_sketch.png\" alt=\"\" width=\"4253\" height=\"1920\" srcset=\"https:\/\/wp.lancs.ac.uk\/net0i\/files\/2024\/12\/AS_sketch.png 4253w, https:\/\/wp.lancs.ac.uk\/net0i\/files\/2024\/12\/AS_sketch-300x135.png 300w, https:\/\/wp.lancs.ac.uk\/net0i\/files\/2024\/12\/AS_sketch-1024x462.png 1024w, https:\/\/wp.lancs.ac.uk\/net0i\/files\/2024\/12\/AS_sketch-768x347.png 768w, https:\/\/wp.lancs.ac.uk\/net0i\/files\/2024\/12\/AS_sketch-1536x693.png 1536w, https:\/\/wp.lancs.ac.uk\/net0i\/files\/2024\/12\/AS_sketch-2048x925.png 2048w\" sizes=\"(max-width: 4253px) 100vw, 4253px\" \/><\/a><strong>github<\/strong>: <a href=\"https:\/\/github.com\/Cuauhtemoctzin\/AnomalyScore\">https:\/\/github.com\/Cuauhtemoctzin\/AnomalyScore\u00a0<\/a><\/p>\n<p><strong>CRAN<\/strong>: <a href=\"https:\/\/cran.r-project.org\/web\/packages\/AnomalyScore\/index.html\">https:\/\/cran.r-project.org\/web\/packages\/AnomalyScore\/index.html<\/a><\/p>\n<p>Anomalous data can be spotted for being far away from the rest of the observations. To identify these anomalies, we can calculate the distances for each observation to their nearest neighbours; then, for the anomalies, these distances will be considerable.<\/p>\n<p>We can translate this general idea to multivariate time series by computing distances between time series and identifying the series that are distant with respect to the rest of the multivariate data.<\/p>\n<p>Energy consumption patterns in complex building settings are represented by multivariate time series for sources such as electricity, gas, water, or external temporal information on temperature, pollution, etc. Then, with anomaly scores, we can identify deviant usage patterns in complex building settings.<\/p>\n<p>The R Package <em>AnomalyScore <\/em>helps compute anomaly scores for multivariate time series, which are defined based on a KNN algorithm using different approaches to determine distances between time series. The selection of distances ranges from different statistical methodologies, which ensures that different data features are captured to achieve comprehensive analyses.<\/p>\n<p>Visit this <a href=\"https:\/\/github.com\/Cuauhtemoctzin\/AnomalyScore\">GitHub<\/a> page to find the source code and the <a href=\"https:\/\/cran.r-project.org\/package=AnomalyScore\">R CRAN page<\/a> to access the package manual.<\/p>\n<h2>Tutorial<\/h2>\n<p><iframe title=\"AnomalyScore Tutorial\" src=\"https:\/\/player.vimeo.com\/video\/1039596546?dnt=1&amp;app_id=122963\" width=\"800\" height=\"450\" frameborder=\"0\" allow=\"autoplay; fullscreen; picture-in-picture; clipboard-write; encrypted-media; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\"><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>github: https:\/\/github.com\/Cuauhtemoctzin\/AnomalyScore\u00a0 CRAN: https:\/\/cran.r-project.org\/web\/packages\/AnomalyScore\/index.html Anomalous data can be spotted for being far away from the rest of the observations. To identify these anomalies, we can calculate the distances for each observation to their nearest neighbours; then, for the anomalies, these distances will be considerable. We can translate this general idea to multivariate time series by [&hellip;]<\/p>\n","protected":false},"author":28,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-117","page","type-page","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wp.lancs.ac.uk\/net0i\/wp-json\/wp\/v2\/pages\/117","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.lancs.ac.uk\/net0i\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/wp.lancs.ac.uk\/net0i\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/wp.lancs.ac.uk\/net0i\/wp-json\/wp\/v2\/users\/28"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.lancs.ac.uk\/net0i\/wp-json\/wp\/v2\/comments?post=117"}],"version-history":[{"count":4,"href":"https:\/\/wp.lancs.ac.uk\/net0i\/wp-json\/wp\/v2\/pages\/117\/revisions"}],"predecessor-version":[{"id":160,"href":"https:\/\/wp.lancs.ac.uk\/net0i\/wp-json\/wp\/v2\/pages\/117\/revisions\/160"}],"wp:attachment":[{"href":"https:\/\/wp.lancs.ac.uk\/net0i\/wp-json\/wp\/v2\/media?parent=117"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}