{ "cells": [ { "cell_type": "code", "execution_count": 1, "id": "61c8d39a", "metadata": {}, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ "Loading required package: daltoolbox\n", "\n", "Registered S3 method overwritten by 'quantmod':\n", " method from\n", " as.zoo.data.frame zoo \n", "\n", "\n", "Attaching package: ‘daltoolbox’\n", "\n", "\n", "The following object is masked from ‘package:base’:\n", "\n", " transform\n", "\n", "\n", "Loading required package: harbinger\n", "\n" ] } ], "source": [ "# Harbinger Package\n", "# version 1.0.777\n", "\n", "source(\"https://raw.githubusercontent.com/cefet-rj-dal/harbinger/master/jupyter.R\")\n", "\n", "#loading Harbinger\n", "load_library(\"daltoolbox\") \n", "load_library(\"harbinger\") " ] }, { "cell_type": "code", "execution_count": 2, "id": "53aaa402", "metadata": {}, "outputs": [], "source": [ "#loading the example database\n", "data(examples_anomalies)" ] }, { "cell_type": "code", "execution_count": 3, "id": "eddb719b", "metadata": {}, "outputs": [ { "data": { "text/html": [ "
serie | event | |
---|---|---|
<dbl> | <lgl> | |
1 | 1.0000000 | FALSE |
2 | 0.9689124 | FALSE |
3 | 0.8775826 | FALSE |
4 | 0.7316889 | FALSE |
5 | 0.5403023 | FALSE |
6 | 0.3153224 | FALSE |