Module: KeystrokeDynamics
- Defined in:
- lib/keystroke_dynamics.rb,
lib/keystroke_dynamics/analysis.rb,
lib/keystroke_dynamics/validation.rb
Overview
Module housing Analysis class, Validation class and associated constants
Defined Under Namespace
Classes: Analysis, Validation
Constant Summary collapse
- VERSION =
'0.0.2'
- MAX_ALLOWED_DEVIATION =
Number of milliseconds allowed to be slower or faster from measured profile. For example, setting this to 1000 means that there can be a total of 1 second deviation in keystroke min/max/mean seeks and holds combined. Having a 1 second deviation would then make the compare_metrics function return 0. This number needs to be increased as the number of compared metrics increases to allow for standard deviation.
800
- PH_FILE =
Password hashes file.
File.join(File.dirname(__FILE__), "../passwd")
- KSD_DIR =
Keystrokes dynamics dir.
File.join(File.dirname(__FILE__), "../keystroke_dynamics")
- ACCURACY_THRESHOLD =
An accuracy threshold of 0 allows for maximum deviation from measured mean/min/max seek and hold times. An accuracy threshold of 0.5 allows for half of total deviation from measured mean/min/max seek and hold times. An accuracy threshold of 1 allows for 0 milliseconds of total deviation from measured mean/min/max seek and hold times.
0.5