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.
Metadata
Release files for brminer 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| brminer-0.0.3.tar.gz | 3.5 kB | Without provenance | Details for brminer-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| brminer-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for brminer-0.0.3-py3-none-any.whl |
Total release size: 8.0 kB
Release files / brminer-0.0.3.tar.gz
| Download URL | brminer-0.0.3.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7c8f8ed3f72b9e9178cabeafc4ae058defffee964fff66dddaa5024d4fdd6b35
|
|
BLAKE2b-256 checksum How to use checksums |
a63ac1deb81391aa170fb43c2791c5e34d02b75d32a4e5dbc234e96824a9324c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / brminer-0.0.3-py3-none-any.whl
| Download URL | brminer-0.0.3-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
85da49604aa202b2f2a6d437c309b1763a61876d95b2f4e799454cc8d8d7422c
|
|
BLAKE2b-256 checksum How to use checksums |
53a83d8335d7d5c52a3b89818fc92323ced389b0b98b2ba40ba05c55f55465ee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for brminer 0.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.