Python 3.11.5 (tags/v3.11.5:cce6ba9, Aug 24 2023, 14:38:34) [MSC v.1936 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license()" for more information.

= RESTART: C:\Users\Karel_\Documents\Skola\Baralarka\Git\Work-UnknowAuthors.py =
XML Loaded
NgramEncoder parameters: Nvalues=[1, 2, 3], ignoreRare=20, ordering="count", segmentRange=(3, None), top=5000
MLPC500 count parametrs: transformer__mode=none, classifier__hidden_layer_sizes=(500,)
KNeighbours-10 tf parametrs: transformer__mode=l1, classifier__n_neighbors=10, classifier__weights=distance
Iteration:38 Selected test books {'04': ['03', '04'], '07': ['07', '02'], '08': ['04', '01'], '09': ['02', '01'], '10': ['06', '04'], '12': ['01', '05'], '14': ['02', '04'], '15': ['04', '03'], '16': ['03', '01'], '18': ['02', '01'], '19': ['05', '01'], '20': ['03', '02'], '23': ['06', '04']}
Train shape-Test shape (segments, features): (6290, 5000)[1290]-(12327, 5000)[7256]
	 MLPC500 count      [12:30-Traceback (most recent call last):
  File "C:\Users\Karel_\Documents\Skola\Baralarka\Git\Work-UnknowAuthors.py", line 175, in <module>
    maxSecondDiff = certainty - np.partition(decision, -2)[-2]
ValueError: operands could not be broadcast together with shapes (12327,) (14,) 

================= RESTART: C:\Users\Karel_\Documents\Skola\Baralarka\Git\Work-UnknowAuthors.py =================
XML Loaded
NgramEncoder parameters: Nvalues=[1, 2, 3], ignoreRare=20, ordering="count", segmentRange=(3, None), top=5000
MLPC500 count parametrs: transformer__mode=none, classifier__hidden_layer_sizes=(500,)
KNeighbours-10 tf parametrs: transformer__mode=l1, classifier__n_neighbors=10, classifier__weights=distance
Iteration:38 Selected test books {'01': ['01', '03'], '06': ['04', '01'], '07': ['06', '04'], '09': ['03', '01'], '10': ['04', '06'], '11': ['05', '03'], '13': ['03', '02'], '15': ['02', '05'], '17': ['01', '04'], '18': ['04', '05'], '19': ['01', '04'], '20': ['02', '01'], '23': ['01', '02']}
Train shape-Test shape (segments, features): (8812, 5000)[2663]-(11178, 5000)[6873]
	 MLPC500 count      [12:37-Traceback (most recent call last):
  File "C:\Users\Karel_\Documents\Skola\Baralarka\Git\Work-UnknowAuthors.py", line 175, in <module>
    maxSecondDiff = certainty - np.partition(decision, -2, axis=-1)[-2]
ValueError: operands could not be broadcast together with shapes (11178,) (14,) 

================= RESTART: C:\Users\Karel_\Documents\Skola\Baralarka\Git\Work-UnknowAuthors.py =================
XML Loaded
NgramEncoder parameters: Nvalues=[1, 2, 3], ignoreRare=20, ordering="count", segmentRange=(3, None), top=5000
MLPC500 count parametrs: transformer__mode=none, classifier__hidden_layer_sizes=(500,)
KNeighbours-10 tf parametrs: transformer__mode=l1, classifier__n_neighbors=10, classifier__weights=distance
Iteration:38 Selected test books {'02': ['01', '03'], '05': ['04', '02'], '08': ['04', '02'], '09': ['01', '06'], '12': ['01', '03'], '14': ['02', '03'], '15': ['05', '03'], '16': ['04', '01'], '18': ['02', '03'], '19': ['01', '04'], '20': ['05', '02'], '21': ['04', '06'], '22': ['01', '05']}
Train shape-Test shape (segments, features): (9474, 5000)[2958]-(10811, 5000)[7808]
	 MLPC500 count      [12:52-12:54] Overall accuracy: 0.2206 Accuracy on known: 0.7263 Unknow detection F1: 0.0509 
		 Averages: Accuracy: 0.5957 Accuracy on known: 0.6949 Unknow detection F1: 0.5882
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
| Histrograms | [0,0.2) | [0.2,0.4) | [0.4,0.5) | [0.5,0.6) | [0.6,0.8) | [0.8,0.85) | [0.85,0.9) | [0.9,0.95) | [0.95,1) |
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
|  Known      |  0.00%  |   1.07%   |   2.61%   |   5.19%   |   11.33%  |   3.75%    |   4.76%    |   7.22%    |  64.08%  |
|  -Correct   |  0.00%  |   0.25%   |   0.80%   |   1.95%   |   4.99%   |   1.89%    |   2.63%    |   4.34%    |  52.63%  |
|  -Incorrect |  0.00%  |   0.82%   |   1.81%   |   3.24%   |   6.34%   |   1.85%    |   2.13%    |   2.88%    |  11.44%  |
|  Unnown     |  0.01%  |   2.97%   |   5.73%   |   8.67%   |   17.71%  |   5.51%    |   6.43%    |   9.00%    |  43.98%  |
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
	 KNeighbours-10 tf  [12:54-12:55] Overall accuracy: 0.1812 Accuracy on known: 0.5654 Unknow detection F1: 0.0647 
		 Averages: Accuracy: 0.4725 Accuracy on known: 0.4563 Unknow detection F1: 0.5429
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
| Histrograms | [0,0.2) | [0.2,0.4) | [0.4,0.5) | [0.5,0.6) | [0.6,0.8) | [0.8,0.85) | [0.85,0.9) | [0.9,0.95) | [0.95,1) |
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
|  Known      |  0.10%  |   18.47%  |   18.00%  |   16.74%  |   23.85%  |   6.74%    |   2.27%    |   5.96%    |  7.87%   |
|  -Correct   |  0.01%  |   4.39%   |   5.89%   |   7.08%   |   12.38%  |   4.43%    |   1.22%    |   4.18%    |  6.05%   |
|  -Incorrect |  0.09%  |   14.08%  |   12.10%  |   9.66%   |   11.47%  |   2.32%    |   1.05%    |   1.78%    |  1.82%   |
|  Unnown     |  0.16%  |   22.73%  |   20.27%  |   17.59%  |   23.44%  |   5.40%    |   2.22%    |   4.10%    |  4.08%   |
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
Iteration:39 Selected test books {'02': ['04', '05'], '06': ['04', '03'], '07': ['02', '05'], '09': ['02', '01'], '10': ['02', '04'], '12': ['03', '06'], '13': ['04', '02'], '17': ['03', '01'], '18': ['01', '03'], '19': ['04', '01'], '21': ['04', '06'], '22': ['04', '05'], '23': ['04', '06']}
Train shape-Test shape (segments, features): (6154, 5000)[1747]-(12920, 5000)[8869]
	 MLPC500 count      [12:55-12:57] Overall accuracy: 0.2539 Accuracy on known: 0.8097 Unknow detection F1: 0.0002 
		 Averages: Accuracy: 0.5869 Accuracy on known: 0.6978 Unknow detection F1: 0.5731
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
| Histrograms | [0,0.2) | [0.2,0.4) | [0.4,0.5) | [0.5,0.6) | [0.6,0.8) | [0.8,0.85) | [0.85,0.9) | [0.9,0.95) | [0.95,1) |
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
|  Known      |  0.00%  |   1.09%   |   2.63%   |   5.18%   |   11.35%  |   3.75%    |   4.77%    |   7.22%    |  64.02%  |
|  -Correct   |  0.00%  |   0.26%   |   0.81%   |   1.94%   |   5.03%   |   1.91%    |   2.65%    |   4.38%    |  52.80%  |
|  -Incorrect |  0.00%  |   0.83%   |   1.82%   |   3.23%   |   6.32%   |   1.84%    |   2.12%    |   2.84%    |  11.22%  |
|  Unnown     |  0.01%  |   3.08%   |   5.84%   |   8.76%   |   17.84%  |   5.53%    |   6.45%    |   9.01%    |  43.50%  |
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
	 KNeighbours-10 tf  [12:57-12:57] Overall accuracy: 0.1560 Accuracy on known: 0.4977 Unknow detection F1: 0.0000 
		 Averages: Accuracy: 0.4644 Accuracy on known: 0.4573 Unknow detection F1: 0.5289
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
| Histrograms | [0,0.2) | [0.2,0.4) | [0.4,0.5) | [0.5,0.6) | [0.6,0.8) | [0.8,0.85) | [0.85,0.9) | [0.9,0.95) | [0.95,1) |
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
|  Known      |  0.10%  |   18.59%  |   18.03%  |   16.69%  |   23.81%  |   6.72%    |   2.26%    |   5.96%    |  7.85%   |
|  -Correct   |  0.01%  |   4.42%   |   5.92%   |   7.08%   |   12.39%  |   4.42%    |   1.22%    |   4.20%    |  6.06%   |
|  -Incorrect |  0.09%  |   14.16%  |   12.10%  |   9.61%   |   11.42%  |   2.30%    |   1.03%    |   1.76%    |  1.79%   |
|  Unnown     |  0.17%  |   23.09%  |   20.30%  |   17.52%  |   23.28%  |   5.36%    |   2.18%    |   4.06%    |  4.04%   |
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
Iteration:40 Selected test books {'01': ['02', '01'], '02': ['05', '01'], '04': ['03', '05'], '06': ['03', '02'], '09': ['04', '02'], '10': ['04', '03'], '12': ['05', '07'], '14': ['05', '01'], '16': ['03', '04'], '18': ['03', '01'], '19': ['03', '04'], '21': ['03', '06'], '22': ['01', '05']}
Train shape-Test shape (segments, features): (7799, 5000)[2040]-(11568, 5000)[8115]
	 MLPC500 count      [12:58-13:00] Overall accuracy: 0.2459 Accuracy on known: 0.8225 Unknow detection F1: 0.0010 
		 Averages: Accuracy: 0.5784 Accuracy on known: 0.7010 Unknow detection F1: 0.5588
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
| Histrograms | [0,0.2) | [0.2,0.4) | [0.4,0.5) | [0.5,0.6) | [0.6,0.8) | [0.8,0.85) | [0.85,0.9) | [0.9,0.95) | [0.95,1) |
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
|  Known      |  0.00%  |   1.09%   |   2.65%   |   5.17%   |   11.32%  |   3.74%    |   4.76%    |   7.22%    |  64.04%  |
|  -Correct   |  0.00%  |   0.26%   |   0.83%   |   1.95%   |   5.05%   |   1.92%    |   2.67%    |   4.41%    |  53.01%  |
|  -Incorrect |  0.00%  |   0.83%   |   1.82%   |   3.22%   |   6.27%   |   1.82%    |   2.09%    |   2.82%    |  11.03%  |
|  Unnown     |  0.01%  |   3.22%   |   5.96%   |   8.87%   |   18.01%  |   5.56%    |   6.47%    |   9.01%    |  42.89%  |
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
	 KNeighbours-10 tf  [13:00-13:00] Overall accuracy: 0.1760 Accuracy on known: 0.5893 Unknow detection F1: 0.0002 
		 Averages: Accuracy: 0.4572 Accuracy on known: 0.4606 Unknow detection F1: 0.5157
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
| Histrograms | [0,0.2) | [0.2,0.4) | [0.4,0.5) | [0.5,0.6) | [0.6,0.8) | [0.8,0.85) | [0.85,0.9) | [0.9,0.95) | [0.95,1) |
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
|  Known      |  0.10%  |   18.59%  |   17.98%  |   16.69%  |   23.74%  |   6.70%    |   2.25%    |   5.94%    |  7.99%   |
|  -Correct   |  0.01%  |   4.47%   |   5.95%   |   7.13%   |   12.43%  |   4.42%    |   1.23%    |   4.21%    |  6.20%   |
|  -Incorrect |  0.09%  |   14.13%  |   12.03%  |   9.56%   |   11.32%  |   2.28%    |   1.02%    |   1.73%    |  1.79%   |
|  Unnown     |  0.18%  |   23.45%  |   20.34%  |   17.50%  |   23.09%  |   5.31%    |   2.16%    |   4.00%    |  3.97%   |
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
Iteration:41 Selected test books {'01': ['05', '03'], '03': ['04', '01'], '04': ['04', '05'], '08': ['04', '02'], '10': ['01', '03'], '12': ['05', '07'], '14': ['04', '01'], '16': ['02', '03'], '18': ['03', '05'], '19': ['05', '01'], '20': ['03', '04'], '21': ['08', '01'], '23': ['02', '05']}
Train shape-Test shape (segments, features): (7516, 5000)[1977]-(11788, 5000)[6758]
	 MLPC500 count      [13:01-13:03] Overall accuracy: 0.3445 Accuracy on known: 0.7958 Unknow detection F1: 0.0170 
		 Averages: Accuracy: 0.5727 Accuracy on known: 0.7033 Unknow detection F1: 0.5456
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
| Histrograms | [0,0.2) | [0.2,0.4) | [0.4,0.5) | [0.5,0.6) | [0.6,0.8) | [0.8,0.85) | [0.85,0.9) | [0.9,0.95) | [0.95,1) |
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
|  Known      |  0.00%  |   1.08%   |   2.63%   |   5.14%   |   11.23%  |   3.71%    |   4.73%    |   7.19%    |  64.30%  |
|  -Correct   |  0.00%  |   0.26%   |   0.82%   |   1.94%   |   5.01%   |   1.91%    |   2.65%    |   4.40%    |  53.33%  |
|  -Incorrect |  0.00%  |   0.82%   |   1.80%   |   3.19%   |   6.21%   |   1.80%    |   2.07%    |   2.79%    |  10.98%  |
|  Unnown     |  0.01%  |   3.25%   |   5.98%   |   8.91%   |   18.04%  |   5.56%    |   6.48%    |   9.02%    |  42.77%  |
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
	 KNeighbours-10 tf  [13:03-13:03] Overall accuracy: 0.2626 Accuracy on known: 0.6020 Unknow detection F1: 0.0196 
		 Averages: Accuracy: 0.4524 Accuracy on known: 0.4641 Unknow detection F1: 0.5036
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
| Histrograms | [0,0.2) | [0.2,0.4) | [0.4,0.5) | [0.5,0.6) | [0.6,0.8) | [0.8,0.85) | [0.85,0.9) | [0.9,0.95) | [0.95,1) |
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
|  Known      |  0.10%  |   18.48%  |   17.87%  |   16.60%  |   23.72%  |   6.73%    |   2.29%    |   6.00%    |  8.21%   |
|  -Correct   |  0.01%  |   4.45%   |   5.95%   |   7.12%   |   12.51%  |   4.48%    |   1.28%    |   4.27%    |  6.33%   |
|  -Incorrect |  0.09%  |   14.03%  |   11.92%  |   9.48%   |   11.20%  |   2.25%    |   1.02%    |   1.73%    |  1.88%   |
|  Unnown     |  0.18%  |   23.49%  |   20.35%  |   17.52%  |   23.09%  |   5.29%    |   2.16%    |   3.99%    |  3.93%   |
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
Iteration:42 Selected test books {'01': ['01', '03'], '02': ['01', '05'], '03': ['05', '01'], '04': ['05', '03'], '06': ['04', '03'], '07': ['04', '05'], '09': ['03', '06'], '11': ['01', '04'], '16': ['04', '03'], '17': ['05', '01'], '19': ['01', '02'], '21': ['04', '08'], '23': ['01', '04']}
Train shape-Test shape (segments, features): (8221, 5000)[1879]-(10985, 5000)[6848]
	 MLPC500 count      [13:04-13:06] Overall accuracy: 0.2908 Accuracy on known: 0.7716 Unknow detection F1: 0.0006 
		 Averages: Accuracy: 0.5660 Accuracy on known: 0.7049 Unknow detection F1: 0.5326
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
| Histrograms | [0,0.2) | [0.2,0.4) | [0.4,0.5) | [0.5,0.6) | [0.6,0.8) | [0.8,0.85) | [0.85,0.9) | [0.9,0.95) | [0.95,1) |
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
|  Known      |  0.00%  |   1.10%   |   2.63%   |   5.13%   |   11.26%  |   3.71%    |   4.72%    |   7.17%    |  64.29%  |
|  -Correct   |  0.00%  |   0.26%   |   0.82%   |   1.95%   |   5.03%   |   1.92%    |   2.65%    |   4.40%    |  53.46%  |
|  -Incorrect |  0.00%  |   0.84%   |   1.81%   |   3.18%   |   6.22%   |   1.79%    |   2.07%    |   2.77%    |  10.83%  |
|  Unnown     |  0.01%  |   3.30%   |   6.04%   |   8.97%   |   18.15%  |   5.57%    |   6.50%    |   9.05%    |  42.41%  |
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
	 KNeighbours-10 tf  [13:06-13:06] Overall accuracy: 0.1896 Accuracy on known: 0.5035 Unknow detection F1: 0.0000 
		 Averages: Accuracy: 0.4462 Accuracy on known: 0.4650 Unknow detection F1: 0.4916
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
| Histrograms | [0,0.2) | [0.2,0.4) | [0.4,0.5) | [0.5,0.6) | [0.6,0.8) | [0.8,0.85) | [0.85,0.9) | [0.9,0.95) | [0.95,1) |
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
|  Known      |  0.11%  |   18.56%  |   17.91%  |   16.59%  |   23.64%  |   6.71%    |   2.28%    |   5.99%    |  8.20%   |
|  -Correct   |  0.02%  |   4.47%   |   5.98%   |   7.13%   |   12.53%  |   4.48%    |   1.28%    |   4.28%    |  6.34%   |
|  -Incorrect |  0.09%  |   14.09%  |   11.92%  |   9.46%   |   11.12%  |   2.23%    |   1.00%    |   1.71%    |  1.86%   |
|  Unnown     |  0.18%  |   23.51%  |   20.30%  |   17.50%  |   23.10%  |   5.32%    |   2.16%    |   4.01%    |  3.93%   |
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
Iteration:43 Selected test books {'02': ['05', '03'], '05': ['04', '03'], '06': ['05', '03'], '07': ['07', '05'], '08': ['02', '01'], '09': ['04', '02'], '10': ['06', '02'], '12': ['05', '06'], '14': ['04', '05'], '16': ['03', '01'], '20': ['04', '03'], '21': ['01', '03'], '22': ['03', '01']}
Train shape-Test shape (segments, features): (6448, 5000)[1944]-(12823, 5000)[7877]
	 MLPC500 count      [13:07-13:09] Overall accuracy: 0.2756 Accuracy on known: 0.7143 Unknow detection F1: 0.0003 
		 Averages: Accuracy: 0.5592 Accuracy on known: 0.7051 Unknow detection F1: 0.5203
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
| Histrograms | [0,0.2) | [0.2,0.4) | [0.4,0.5) | [0.5,0.6) | [0.6,0.8) | [0.8,0.85) | [0.85,0.9) | [0.9,0.95) | [0.95,1) |
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
|  Known      |  0.00%  |   1.11%   |   2.65%   |   5.16%   |   11.30%  |   3.74%    |   4.75%    |   7.18%    |  64.12%  |
|  -Correct   |  0.00%  |   0.26%   |   0.83%   |   1.96%   |   5.06%   |   1.94%    |   2.67%    |   4.41%    |  53.38%  |
|  -Incorrect |  0.00%  |   0.85%   |   1.82%   |   3.19%   |   6.24%   |   1.80%    |   2.08%    |   2.76%    |  10.74%  |
|  Unnown     |  0.01%  |   3.35%   |   6.10%   |   9.02%   |   18.24%  |   5.59%    |   6.52%    |   9.04%    |  42.13%  |
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
	 KNeighbours-10 tf  [13:09-13:09] Overall accuracy: 0.2163 Accuracy on known: 0.5609 Unknow detection F1: 0.0000 
		 Averages: Accuracy: 0.4408 Accuracy on known: 0.4672 Unknow detection F1: 0.4802
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
| Histrograms | [0,0.2) | [0.2,0.4) | [0.4,0.5) | [0.5,0.6) | [0.6,0.8) | [0.8,0.85) | [0.85,0.9) | [0.9,0.95) | [0.95,1) |
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
|  Known      |  0.11%  |   18.52%  |   17.86%  |   16.57%  |   23.66%  |   6.71%    |   2.28%    |   6.03%    |  8.25%   |
|  -Correct   |  0.02%  |   4.47%   |   5.98%   |   7.15%   |   12.60%  |   4.50%    |   1.29%    |   4.33%    |  6.39%   |
|  -Incorrect |  0.09%  |   14.05%  |   11.88%  |   9.42%   |   11.06%  |   2.22%    |   0.99%    |   1.70%    |  1.86%   |
|  Unnown     |  0.18%  |   23.65%  |   20.32%  |   17.50%  |   23.03%  |   5.29%    |   2.14%    |   3.97%    |  3.92%   |
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
Iteration:44 Selected test books {'01': ['01', '05'], '02': ['01', '05'], '03': ['03', '02'], '04': ['04', '03'], '05': ['02', '01'], '11': ['01', '04'], '12': ['06', '01'], '13': ['03', '02'], '14': ['03', '02'], '16': ['01', '02'], '18': ['02', '04'], '19': ['04', '03'], '21': ['08', '04']}
Train shape-Test shape (segments, features): (7221, 5000)[1698]-(11804, 5000)[7455]
	 MLPC500 count      [13:09-13:11] Overall accuracy: 0.2925 Accuracy on known: 0.7898 Unknow detection F1: 0.0048 
		 Averages: Accuracy: 0.5532 Accuracy on known: 0.7070 Unknow detection F1: 0.5086
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
| Histrograms | [0,0.2) | [0.2,0.4) | [0.4,0.5) | [0.5,0.6) | [0.6,0.8) | [0.8,0.85) | [0.85,0.9) | [0.9,0.95) | [0.95,1) |
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
|  Known      |  0.00%  |   1.11%   |   2.64%   |   5.13%   |   11.27%  |   3.71%    |   4.74%    |   7.14%    |  64.26%  |
|  -Correct   |  0.00%  |   0.26%   |   0.82%   |   1.95%   |   5.04%   |   1.93%    |   2.67%    |   4.39%    |  53.63%  |
|  -Incorrect |  0.00%  |   0.84%   |   1.82%   |   3.17%   |   6.22%   |   1.78%    |   2.07%    |   2.75%    |  10.63%  |
|  Unnown     |  0.01%  |   3.41%   |   6.16%   |   9.06%   |   18.34%  |   5.62%    |   6.54%    |   9.05%    |  41.81%  |
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
	 KNeighbours-10 tf  [13:11-13:12] Overall accuracy: 0.2413 Accuracy on known: 0.6123 Unknow detection F1: 0.0484 
		 Averages: Accuracy: 0.4363 Accuracy on known: 0.4705 Unknow detection F1: 0.4704
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
| Histrograms | [0,0.2) | [0.2,0.4) | [0.4,0.5) | [0.5,0.6) | [0.6,0.8) | [0.8,0.85) | [0.85,0.9) | [0.9,0.95) | [0.95,1) |
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
|  Known      |  0.11%  |   18.46%  |   17.79%  |   16.50%  |   23.60%  |   6.75%    |   2.29%    |   6.07%    |  8.43%   |
|  -Correct   |  0.02%  |   4.48%   |   5.96%   |   7.13%   |   12.61%  |   4.55%    |   1.31%    |   4.40%    |  6.60%   |
|  -Incorrect |  0.09%  |   13.98%  |   11.82%  |   9.37%   |   10.99%  |   2.20%    |   0.98%    |   1.68%    |  1.83%   |
|  Unnown     |  0.19%  |   23.68%  |   20.34%  |   17.51%  |   23.00%  |   5.28%    |   2.13%    |   3.97%    |  3.90%   |
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
Iteration:45 Selected test books {'02': ['05', '04'], '03': ['02', '05'], '04': ['04', '02'], '05': ['02', '04'], '06': ['05', '02'], '07': ['06', '02'], '11': ['03', '01'], '12': ['05', '07'], '13': ['02', '05'], '14': ['05', '01'], '16': ['01', '02'], '17': ['05', '03'], '22': ['03', '01']}
Train shape-Test shape (segments, features): (7706, 5000)[1717]-(11338, 5000)[7433]
	 MLPC500 count      [13:12-13:14] Overall accuracy: 0.2770 Accuracy on known: 0.8033 Unknow detection F1: 0.0011 
		 Averages: Accuracy: 0.5470 Accuracy on known: 0.7092 Unknow detection F1: 0.4973
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
| Histrograms | [0,0.2) | [0.2,0.4) | [0.4,0.5) | [0.5,0.6) | [0.6,0.8) | [0.8,0.85) | [0.85,0.9) | [0.9,0.95) | [0.95,1) |
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
|  Known      |  0.00%  |   1.10%   |   2.61%   |   5.07%   |   11.17%  |   3.68%    |   4.70%    |   7.10%    |  64.55%  |
|  -Correct   |  0.00%  |   0.26%   |   0.81%   |   1.93%   |   5.00%   |   1.91%    |   2.65%    |   4.37%    |  53.98%  |
|  -Incorrect |  0.00%  |   0.84%   |   1.80%   |   3.14%   |   6.18%   |   1.77%    |   2.05%    |   2.73%    |  10.57%  |
|  Unnown     |  0.01%  |   3.42%   |   6.17%   |   9.08%   |   18.38%  |   5.63%    |   6.55%    |   9.08%    |  41.69%  |
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
	 KNeighbours-10 tf  [13:14-13:14] Overall accuracy: 0.2108 Accuracy on known: 0.6120 Unknow detection F1: 0.0000 
		 Averages: Accuracy: 0.4313 Accuracy on known: 0.4737 Unknow detection F1: 0.4599
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
| Histrograms | [0,0.2) | [0.2,0.4) | [0.4,0.5) | [0.5,0.6) | [0.6,0.8) | [0.8,0.85) | [0.85,0.9) | [0.9,0.95) | [0.95,1) |
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
|  Known      |  0.11%  |   18.35%  |   17.72%  |   16.48%  |   23.65%  |   6.76%    |   2.30%    |   6.10%    |  8.52%   |
|  -Correct   |  0.02%  |   4.47%   |   5.96%   |   7.15%   |   12.71%  |   4.58%    |   1.33%    |   4.44%    |  6.71%   |
|  -Incorrect |  0.09%  |   13.88%  |   11.76%  |   9.34%   |   10.94%  |   2.18%    |   0.96%    |   1.66%    |  1.81%   |
|  Unnown     |  0.18%  |   23.72%  |   20.38%  |   17.51%  |   22.98%  |   5.28%    |   2.12%    |   3.95%    |  3.87%   |
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
Iteration:46 Selected test books {'03': ['01', '03'], '04': ['01', '05'], '05': ['01', '04'], '09': ['03', '02'], '10': ['04', '01'], '16': ['05', '01'], '17': ['05', '03'], '18': ['03', '05'], '19': ['01', '05'], '20': ['04', '02'], '21': ['04', '01'], '22': ['02', '03'], '23': ['04', '06']}
Train shape-Test shape (segments, features): (10566, 5000)[2903]-(9664, 5000)[6431]
	 MLPC500 count      [13:15-13:18] Overall accuracy: 0.2750 Accuracy on known: 0.7751 Unknow detection F1: 0.0462 
		 Averages: Accuracy: 0.5411 Accuracy on known: 0.7106 Unknow detection F1: 0.4875
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
| Histrograms | [0,0.2) | [0.2,0.4) | [0.4,0.5) | [0.5,0.6) | [0.6,0.8) | [0.8,0.85) | [0.85,0.9) | [0.9,0.95) | [0.95,1) |
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
|  Known      |  0.00%  |   1.10%   |   2.62%   |   5.06%   |   11.18%  |   3.67%    |   4.69%    |   7.07%    |  64.60%  |
|  -Correct   |  0.00%  |   0.26%   |   0.81%   |   1.93%   |   5.00%   |   1.91%    |   2.65%    |   4.36%    |  54.14%  |
|  -Incorrect |  0.00%  |   0.84%   |   1.81%   |   3.14%   |   6.19%   |   1.76%    |   2.04%    |   2.71%    |  10.45%  |
|  Unnown     |  0.01%  |   3.46%   |   6.23%   |   9.12%   |   18.45%  |   5.64%    |   6.56%    |   9.09%    |  41.44%  |
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
	 KNeighbours-10 tf  [13:18-13:18] Overall accuracy: 0.2195 Accuracy on known: 0.5895 Unknow detection F1: 0.0647 
		 Averages: Accuracy: 0.4267 Accuracy on known: 0.4762 Unknow detection F1: 0.4513
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
| Histrograms | [0,0.2) | [0.2,0.4) | [0.4,0.5) | [0.5,0.6) | [0.6,0.8) | [0.8,0.85) | [0.85,0.9) | [0.9,0.95) | [0.95,1) |
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
|  Known      |  0.11%  |   18.31%  |   17.68%  |   16.44%  |   23.66%  |   6.78%    |   2.31%    |   6.12%    |  8.60%   |
|  -Correct   |  0.01%  |   4.49%   |   5.97%   |   7.15%   |   12.75%  |   4.61%    |   1.35%    |   4.48%    |  6.80%   |
|  -Incorrect |  0.09%  |   13.82%  |   11.71%  |   9.28%   |   10.91%  |   2.17%    |   0.96%    |   1.65%    |  1.80%   |
|  Unnown     |  0.19%  |   23.82%  |   20.36%  |   17.47%  |   22.89%  |   5.26%    |   2.12%    |   3.96%    |  3.92%   |
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
Iteration:47 Selected test books {'01': ['01', '02'], '02': ['02', '03'], '04': ['03', '05'], '07': ['05', '06'], '08': ['04', '01'], '09': ['04', '02'], '11': ['04', '05'], '13': ['05', '02'], '14': ['01', '02'], '16': ['03', '01'], '17': ['01', '04'], '20': ['02', '04'], '21': ['01', '03']}
Train shape-Test shape (segments, features): (9925, 5000)[3210]-(10612, 5000)[6412]
	 MLPC500 count      [13:19-13:21] Overall accuracy: 0.2966 Accuracy on known: 0.7305 Unknow detection F1: 0.0243 
		 Averages: Accuracy: 0.5359 Accuracy on known: 0.7110 Unknow detection F1: 0.4776
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
| Histrograms | [0,0.2) | [0.2,0.4) | [0.4,0.5) | [0.5,0.6) | [0.6,0.8) | [0.8,0.85) | [0.85,0.9) | [0.9,0.95) | [0.95,1) |
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
|  Known      |  0.00%  |   1.12%   |   2.63%   |   5.07%   |   11.20%  |   3.67%    |   4.69%    |   7.06%    |  64.56%  |
|  -Correct   |  0.00%  |   0.27%   |   0.81%   |   1.93%   |   5.02%   |   1.91%    |   2.65%    |   4.36%    |  54.16%  |
|  -Incorrect |  0.00%  |   0.85%   |   1.82%   |   3.14%   |   6.18%   |   1.76%    |   2.04%    |   2.70%    |  10.40%  |
|  Unnown     |  0.01%  |   3.52%   |   6.30%   |   9.17%   |   18.57%  |   5.65%    |   6.58%    |   9.09%    |  41.12%  |
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
	 KNeighbours-10 tf  [13:21-13:21] Overall accuracy: 0.2307 Accuracy on known: 0.5252 Unknow detection F1: 0.0727 
		 Averages: Accuracy: 0.4225 Accuracy on known: 0.4772 Unknow detection F1: 0.4433
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
| Histrograms | [0,0.2) | [0.2,0.4) | [0.4,0.5) | [0.5,0.6) | [0.6,0.8) | [0.8,0.85) | [0.85,0.9) | [0.9,0.95) | [0.95,1) |
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
|  Known      |  0.11%  |   18.35%  |   17.66%  |   16.40%  |   23.61%  |   6.76%    |   2.31%    |   6.14%    |  8.66%   |
|  -Correct   |  0.01%  |   4.52%   |   5.99%   |   7.16%   |   12.78%  |   4.60%    |   1.35%    |   4.49%    |  6.82%   |
|  -Incorrect |  0.09%  |   13.83%  |   11.67%  |   9.24%   |   10.83%  |   2.16%    |   0.96%    |   1.65%    |  1.85%   |
|  Unnown     |  0.19%  |   24.01%  |   20.39%  |   17.43%  |   22.80%  |   5.21%    |   2.12%    |   3.92%    |  3.91%   |
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
Iteration:48 Selected test books {'01': ['02', '05'], '02': ['04', '01'], '05': ['05', '02'], '07': ['05', '07'], '09': ['02', '04'], '10': ['03', '04'], '13': ['03', '01'], '14': ['01', '04'], '15': ['04', '02'], '17': ['02', '03'], '18': ['05', '02'], '21': ['06', '01'], '22': ['04', '02']}
Train shape-Test shape (segments, features): (7362, 5000)[1899]-(11864, 5000)[8605]
	 MLPC500 count      [13:22-13:24] Overall accuracy: 0.2396 Accuracy on known: 0.8555 Unknow detection F1: 0.0127 
		 Averages: Accuracy: 0.5297 Accuracy on known: 0.7140 Unknow detection F1: 0.4679
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
| Histrograms | [0,0.2) | [0.2,0.4) | [0.4,0.5) | [0.5,0.6) | [0.6,0.8) | [0.8,0.85) | [0.85,0.9) | [0.9,0.95) | [0.95,1) |
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
|  Known      |  0.00%  |   1.12%   |   2.62%   |   5.04%   |   11.14%  |   3.64%    |   4.67%    |   7.04%    |  64.72%  |
|  -Correct   |  0.00%  |   0.27%   |   0.81%   |   1.91%   |   5.00%   |   1.90%    |   2.65%    |   4.37%    |  54.49%  |
|  -Incorrect |  0.00%  |   0.85%   |   1.81%   |   3.13%   |   6.14%   |   1.74%    |   2.02%    |   2.67%    |  10.23%  |
|  Unnown     |  0.01%  |   3.58%   |   6.37%   |   9.24%   |   18.67%  |   5.67%    |   6.60%    |   9.11%    |  40.75%  |
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
	 KNeighbours-10 tf  [13:24-13:24] Overall accuracy: 0.1829 Accuracy on known: 0.6490 Unknow detection F1: 0.0127 
		 Averages: Accuracy: 0.4175 Accuracy on known: 0.4808 Unknow detection F1: 0.4343
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
| Histrograms | [0,0.2) | [0.2,0.4) | [0.4,0.5) | [0.5,0.6) | [0.6,0.8) | [0.8,0.85) | [0.85,0.9) | [0.9,0.95) | [0.95,1) |
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
|  Known      |  0.11%  |   18.31%  |   17.61%  |   16.38%  |   23.56%  |   6.77%    |   2.32%    |   6.19%    |  8.76%   |
|  -Correct   |  0.01%  |   4.54%   |   6.00%   |   7.19%   |   12.84%  |   4.63%    |   1.37%    |   4.55%    |  6.94%   |
|  -Incorrect |  0.09%  |   13.77%  |   11.60%  |   9.20%   |   10.72%  |   2.14%    |   0.94%    |   1.64%    |  1.82%   |
|  Unnown     |  0.19%  |   24.17%  |   20.44%  |   17.43%  |   22.74%  |   5.18%    |   2.10%    |   3.88%    |  3.86%   |
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
Iteration:49 Selected test books {'02': ['04', '01'], '03': ['05', '02'], '05': ['01', '05'], '06': ['02', '01'], '08': ['02', '03'], '12': ['07', '03'], '14': ['02', '03'], '16': ['03', '04'], '17': ['03', '02'], '18': ['01', '04'], '19': ['02', '01'], '22': ['05', '03'], '23': ['05', '04']}
Train shape-Test shape (segments, features): (8884, 5000)[2353]-(10796, 5000)[7774]
	 MLPC500 count      [13:24-13:26] Overall accuracy: 0.2435 Accuracy on known: 0.8700 Unknow detection F1: 0.0000 
		 Averages: Accuracy: 0.5239 Accuracy on known: 0.7172 Unknow detection F1: 0.4584
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
| Histrograms | [0,0.2) | [0.2,0.4) | [0.4,0.5) | [0.5,0.6) | [0.6,0.8) | [0.8,0.85) | [0.85,0.9) | [0.9,0.95) | [0.95,1) |
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
|  Known      |  0.00%  |   1.11%   |   2.59%   |   5.00%   |   11.04%  |   3.61%    |   4.63%    |   6.99%    |  65.04%  |
|  -Correct   |  0.00%  |   0.26%   |   0.80%   |   1.90%   |   4.96%   |   1.89%    |   2.63%    |   4.35%    |  54.93%  |
|  -Incorrect |  0.00%  |   0.85%   |   1.79%   |   3.10%   |   6.08%   |   1.72%    |   2.00%    |   2.64%    |  10.10%  |
|  Unnown     |  0.01%  |   3.59%   |   6.39%   |   9.25%   |   18.74%  |   5.67%    |   6.61%    |   9.11%    |  40.62%  |
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
	 KNeighbours-10 tf  [13:26-13:27] Overall accuracy: 0.1892 Accuracy on known: 0.6760 Unknow detection F1: 0.0000 
		 Averages: Accuracy: 0.4129 Accuracy on known: 0.4848 Unknow detection F1: 0.4255
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
| Histrograms | [0,0.2) | [0.2,0.4) | [0.4,0.5) | [0.5,0.6) | [0.6,0.8) | [0.8,0.85) | [0.85,0.9) | [0.9,0.95) | [0.95,1) |
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
|  Known      |  0.10%  |   18.24%  |   17.53%  |   16.36%  |   23.57%  |   6.81%    |   2.32%    |   6.22%    |  8.83%   |
|  -Correct   |  0.01%  |   4.54%   |   5.99%   |   7.22%   |   12.96%  |   4.70%    |   1.40%    |   4.61%    |  7.04%   |
|  -Incorrect |  0.09%  |   13.70%  |   11.54%  |   9.14%   |   10.61%  |   2.12%    |   0.93%    |   1.61%    |  1.79%   |
|  Unnown     |  0.20%  |   24.30%  |   20.44%  |   17.41%  |   22.66%  |   5.17%    |   2.09%    |   3.88%    |  3.87%   |
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
Iteration:50 Selected test books {'01': ['05', '04'], '04': ['03', '02'], '07': ['04', '05'], '09': ['06', '01'], '10': ['06', '01'], '11': ['02', '04'], '13': ['01', '02'], '15': ['01', '05'], '16': ['04', '01'], '18': ['03', '05'], '19': ['04', '05'], '20': ['03', '02'], '21': ['01', '06']}
Train shape-Test shape (segments, features): (8062, 5000)[2144]-(11409, 5000)[6623]
	 MLPC500 count      [13:27-13:29] Overall accuracy: 0.3173 Accuracy on known: 0.7445 Unknow detection F1: 0.0171 
		 Averages: Accuracy: 0.5198 Accuracy on known: 0.7178 Unknow detection F1: 0.4496
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
| Histrograms | [0,0.2) | [0.2,0.4) | [0.4,0.5) | [0.5,0.6) | [0.6,0.8) | [0.8,0.85) | [0.85,0.9) | [0.9,0.95) | [0.95,1) |
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
|  Known      |  0.00%  |   1.11%   |   2.59%   |   5.01%   |   11.05%  |   3.61%    |   4.64%    |   6.99%    |  64.99%  |
|  -Correct   |  0.00%  |   0.26%   |   0.80%   |   1.91%   |   4.97%   |   1.90%    |   2.64%    |   4.35%    |  54.96%  |
|  -Incorrect |  0.00%  |   0.85%   |   1.79%   |   3.10%   |   6.08%   |   1.72%    |   2.00%    |   2.65%    |  10.03%  |
|  Unnown     |  0.01%  |   3.62%   |   6.41%   |   9.27%   |   18.79%  |   5.68%    |   6.61%    |   9.12%    |  40.48%  |
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
	 KNeighbours-10 tf  [13:29-13:30] Overall accuracy: 0.2176 Accuracy on known: 0.4904 Unknow detection F1: 0.0402 
		 Averages: Accuracy: 0.4090 Accuracy on known: 0.4849 Unknow detection F1: 0.4177
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
| Histrograms | [0,0.2) | [0.2,0.4) | [0.4,0.5) | [0.5,0.6) | [0.6,0.8) | [0.8,0.85) | [0.85,0.9) | [0.9,0.95) | [0.95,1) |
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
|  Known      |  0.10%  |   18.21%  |   17.54%  |   16.35%  |   23.58%  |   6.82%    |   2.33%    |   6.22%    |  8.84%   |
|  -Correct   |  0.01%  |   4.54%   |   6.00%   |   7.22%   |   12.95%  |   4.69%    |   1.40%    |   4.61%    |  7.07%   |
|  -Incorrect |  0.09%  |   13.68%  |   11.54%  |   9.13%   |   10.63%  |   2.12%    |   0.93%    |   1.61%    |  1.78%   |
|  Unnown     |  0.20%  |   24.45%  |   20.46%  |   17.39%  |   22.58%  |   5.15%    |   2.07%    |   3.86%    |  3.85%   |
+-------------+---------+-----------+-----------+-----------+-----------+------------+------------+------------+----------+
