forked from vc1492a/PyNomaly
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
identical obs neighborhood edge case fix, test env change
- Loading branch information
Showing
8 changed files
with
69 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
!coverage.py: This is a private format, don't read it directly!{"lines": {"/Users/valentinoconstantinou/Files/Coding_Stuff/Data Science/PyNomaly/PyNomaly/loop.py": [1, 2, 3, 4, 5, 7, 8, 9, 12, 19, 36, 38, 40, 43, 44, 45, 47, 48, 49, 50, 51, 52, 56, 58, 59, 60, 61, 62, 63, 64, 65, 67, 68, 69, 73, 74, 75, 76, 78, 79, 81, 83, 84, 85, 86, 87, 89, 91, 93, 94, 95, 96, 97, 99, 101, 103, 104, 105, 106, 107, 109, 111, 113, 114, 115, 116, 117, 119, 121, 122, 123, 125, 126, 127, 129, 130, 131, 133, 134, 136, 137, 139, 140, 143, 144, 145, 146, 147, 148, 151, 152, 153, 155, 156, 158, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 173, 174, 175, 176, 177, 179, 181, 182, 183, 185, 187, 189, 191, 192, 194, 196, 198, 199, 200, 202, 204, 205, 206, 208, 210, 211, 213, 214, 216, 217, 218, 220, 222, 224, 225, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 265, 266, 267, 268, 269, 270, 272, 273, 274, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 292, 293, 294, 295, 296, 297, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 316, 317, 318, 320, 321, 322, 323, 324, 325, 327, 329, 330, 331, 332, 333, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 349, 351, 353, 354, 355, 357, 358, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 375], "/Users/valentinoconstantinou/Files/Coding_Stuff/Data Science/PyNomaly/PyNomaly/__init__.py": [1]}} | ||
!coverage.py: This is a private format, don't read it directly!{"lines": {"/Users/valentinoconstantinou/Files/Coding_Stuff/Data Science/PyNomaly/PyNomaly/__init__.py": [1], "/Users/valentinoconstantinou/Files/Coding_Stuff/Data Science/PyNomaly/PyNomaly/loop.py": [1, 2, 3, 4, 5, 7, 8, 9, 12, 19, 36, 38, 40, 43, 44, 45, 47, 48, 50, 51, 52, 53, 57, 58, 63, 69, 70, 71, 73, 75, 77, 78, 79, 80, 81, 82, 83, 84, 86, 87, 88, 92, 93, 94, 95, 97, 98, 100, 102, 103, 104, 105, 106, 108, 110, 112, 113, 114, 115, 116, 118, 120, 122, 123, 124, 125, 126, 128, 130, 132, 133, 134, 135, 136, 138, 140, 141, 142, 144, 145, 146, 148, 149, 150, 152, 153, 155, 156, 158, 159, 162, 163, 164, 165, 166, 167, 170, 171, 172, 174, 175, 177, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 194, 195, 196, 197, 198, 200, 202, 203, 204, 206, 208, 210, 212, 213, 215, 216, 217, 219, 221, 222, 223, 225, 227, 228, 229, 231, 233, 234, 236, 237, 239, 240, 241, 243, 245, 247, 248, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 291, 292, 293, 294, 295, 296, 298, 299, 300, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 318, 319, 320, 321, 322, 323, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 342, 343, 344, 346, 347, 348, 349, 350, 351, 353, 355, 356, 357, 358, 359, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 375, 377, 379, 380, 381, 383, 384, 386, 387, 388, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 402, 403, 405]}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
from PyNomaly import loop | ||
from sklearn.datasets import fetch_kddcup99 | ||
|
||
data = fetch_kddcup99(subset='smtp', percent10=False) | ||
train_data, target = data.data, data.target | ||
m = loop.LocalOutlierProbability(train_data[0:1000].astype(float), extent=3, n_neighbors=6).fit() | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,12 +3,12 @@ | |
setup( | ||
name='PyNomaly', | ||
packages=['PyNomaly'], | ||
version='0.2.5', | ||
version='0.2.6', | ||
description='A Python 3 implementation of LoOP: Local Outlier Probabilities, a local density based outlier detection method providing an outlier score in the range of [0,1].', | ||
author='Valentino Constantinou', | ||
author_email='[email protected]', | ||
url='https://github.com/vc1492a/PyNomaly', | ||
download_url='https://github.com/vc1492a/PyNomaly/archive/0.2.5.tar.gz', | ||
download_url='https://github.com/vc1492a/PyNomaly/archive/0.2.6.tar.gz', | ||
keywords=['outlier', 'anomaly', 'detection', 'machine', 'learning', 'probability'], | ||
classifiers=[], | ||
license='Apache License, Version 2.0', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
!coverage.py: This is a private format, don't read it directly!{"lines": {"/Users/valentinoconstantinou/Files/Coding_Stuff/Data Science/PyNomaly/PyNomaly/loop.py": [128, 1, 2, 3, 4, 5, 7, 8, 9, 138, 139, 12, 19, 84, 85, 98, 36, 38, 108, 175, 177, 178, 179, 118, 73, 57, 140], "/Users/valentinoconstantinou/Files/Coding_Stuff/Data Science/PyNomaly/PyNomaly/__init__.py": [1]}} |