
Get the minPts and eps values for DBSCAN to label only a specific percentage as noise
Source:R/preprocessing.R
get_dbscan_params.RdGet the minPts and eps values for DBSCAN to label only a specific percentage as noise
Arguments
- sessions
tibble, sessions data set in evprof standard format
- MinPts
DBSCAN MinPts parameter
- eps0
DBSCAN eps parameter corresponding to the elbow of kNN dist plot
- noise_th
noise threshold
- eps_offset_pct
eps_offset_pct
- eps_inc_pct
eps_inc_pct
- log
logical, whether to transform
ConnectionStartDateTimeandConnectionHoursvariables to natural logarithmic scale (base =exp(1)).- start
integer, start hour in the x axis of the plot.