getMIDASScore: Get the MIDAS score

Description Usage Arguments Value

View source: R/RcppExports.R

Description

Get the MIDAS score

Usage

1
2
3
4
5
6
7
8
getMIDASScore(
  input,
  rows = 2L,
  buckets = 769L,
  alpha = 0.6,
  norelations = FALSE,
  undirected = FALSE
)

Arguments

input

A data.frame with columns src (source, int), dst (destination, int) & times (timestamp of the edge, int) representing transaction edges

rows

Number of rows/hash functions. Default is 2

buckets

Number of buckets. Default is 769

alpha

Temporal Decay Factor. Only used when 'MIDAS-R' is used. Default is 0.6

norelations

Run 'MIDAS' instead of 'MIDAS-R'. Default is False

undirected

If graph is undirected. Default is False

Value

NumericVector of MIDAS-Scores


MIDASwrappeR documentation built on April 14, 2020, 5:31 p.m.