Bagging Random Miner (BRM)
- Training phase:
- Input:
- T: training dataset;
- τ: number of classifiers in the ensemble;
- μ: size of training dataset to bootstrap.
- Output:
- P: the set of classifiers parameters (selected objects and dissimilarity thresholds).
- Training:
- Set P initially empty; i.e., P ← {}.
- for i= 1..τ do
- Let Ti contains a sample with a replacement of μ objects from T.
- Let δi contains the average dissimilarity between all the pairs of instances in Ti.
- P←PU{(Ti, δi )}
- return P.
- Input:
- Classification phase:
- Input:
- x: instance to be classified;
- P: the set of parameters computed in the training phase.
- Q: queue with past classification results;
- σ: number of past objects to consider in the current classification.
- Output:
- Anomaly score.
- Classification:
- Let s←0 be the score computed by the classifiers.
- for each (Ti, δi ) in P do
- Let dmin be the dissimilarity between x and its nearest neighbor in Ti.
- Update the score as follows s←s+e^(-0.5(dmin∕δi )^2 )
- Average the score as follows s←s∕|P|
- Let s′ be the average of values in Q.
- if |Q|=σ then
- dequeue(Q)
- enqueue(s, Q)
- return (s′+s)/2
- Input:
For more information: J. Benito Camiña, M.A. Medina-Pérez, R. Monroy, O. Loyola-González, L. A. Pereyra-Villanueva, L. C. González-Gurrola "Bagging-RandomMiner: A one-class classifier for file access-based masquerade detection," Machine Vision and Applications, vol. 30, no. 5, pp. 959-974, 2019.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
brminer-0.0.3.tar.gz
(3.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file brminer-0.0.3.tar.gz.
File metadata
- Download URL: brminer-0.0.3.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7c8f8ed3f72b9e9178cabeafc4ae058defffee964fff66dddaa5024d4fdd6b35
|
|
| MD5 |
0b48ad4aec8f48e037ff3f669cf6250d
|
|
| BLAKE2b-256 |
a63ac1deb81391aa170fb43c2791c5e34d02b75d32a4e5dbc234e96824a9324c
|
File details
Details for the file brminer-0.0.3-py3-none-any.whl.
File metadata
- Download URL: brminer-0.0.3-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
85da49604aa202b2f2a6d437c309b1763a61876d95b2f4e799454cc8d8d7422c
|
|
| MD5 |
0c4ddb61c98a2cf4371738f63b5849c6
|
|
| BLAKE2b-256 |
53a83d8335d7d5c52a3b89818fc92323ced389b0b98b2ba40ba05c55f55465ee
|