Skip to content

Commit 57dd1d3

Browse files
committed
Add NSCC
1 parent be0fb12 commit 57dd1d3

File tree

7 files changed

+40
-19
lines changed

7 files changed

+40
-19
lines changed

Journal article/main.aux

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
\@writefile{toc}{\contentsline {subsection}{\numberline {\unhbox \voidb@x \hbox {II-A}}Nearest Centroid Classifier}{1}}
55
\@writefile{toc}{\contentsline {subsection}{\numberline {\unhbox \voidb@x \hbox {II-B}}Nearest Sub-class Centroid Classifier}{1}}
66
\@writefile{toc}{\contentsline {subsection}{\numberline {\unhbox \voidb@x \hbox {II-C}}Nearest Neighbour Classifier}{1}}
7-
\@writefile{toc}{\contentsline {subsection}{\numberline {\unhbox \voidb@x \hbox {II-D}}Perceptron trained using Backpropagation}{1}}
87
\bibcite{IEEEhowto:kopka}{1}
8+
\@writefile{toc}{\contentsline {subsection}{\numberline {\unhbox \voidb@x \hbox {II-D}}Perceptron trained using Backpropagation}{2}}
99
\@writefile{toc}{\contentsline {subsection}{\numberline {\unhbox \voidb@x \hbox {II-E}}Perceptron trained using Mean Square Error}{2}}
1010
\@writefile{toc}{\contentsline {section}{\numberline {III}Results}{2}}
1111
\@writefile{toc}{\contentsline {section}{\numberline {IV}Conclusion}{2}}

Journal article/main.fdb_latexmk

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Fdb version 3
2-
["pdflatex"] 1513097977 "main.tex" "main.pdf" "main" 1513097977
2+
["pdflatex"] 1513099207 "main.tex" "main.pdf" "main" 1513099207
33
"/usr/share/texmf-dist/fonts/enc/dvips/base/8r.enc" 1510784367 4850 80dc9bab7f31fb78a000ccfed0e27cab ""
44
"/usr/share/texmf-dist/fonts/map/fontname/texfonts.map" 1510784337 3287 e6b82fe08f5336d4d5ebc73fb1152e87 ""
55
"/usr/share/texmf-dist/fonts/tfm/adobe/times/ptmb7t.tfm" 1510784341 2172 fd0c924230362ff848a33632ed45dc23 ""
@@ -17,6 +17,9 @@
1717
"/usr/share/texmf-dist/fonts/tfm/public/cm/cmr8.tfm" 1510784344 1292 21c1c5bfeaebccffdb478fd231a0997d ""
1818
"/usr/share/texmf-dist/fonts/tfm/public/cm/cmsy6.tfm" 1510784344 1116 933a60c408fc0a863a92debe84b2d294 ""
1919
"/usr/share/texmf-dist/fonts/tfm/public/cm/cmsy8.tfm" 1510784344 1120 8b7d695260f3cff42e636090a8002094 ""
20+
"/usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi10.pfb" 1510784334 36299 5f9df58c2139e7edcf37c8fca4bd384d ""
21+
"/usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi7.pfb" 1510784334 36281 c355509802a035cadc5f15869451dcee ""
22+
"/usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmr7.pfb" 1510784334 32762 224316ccc9ad3ca0423a14971cfa7fc1 ""
2023
"/usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmsy10.pfb" 1510784334 32569 5e5ddc8df908dea60932f3c484a54c0d ""
2124
"/usr/share/texmf-dist/fonts/type1/urw/times/utmb8a.pfb" 1510784331 44729 811d6c62865936705a31c797a1d5dada ""
2225
"/usr/share/texmf-dist/fonts/type1/urw/times/utmbi8a.pfb" 1510784331 44656 0cbca70e0534538582128f6b54593cca ""
@@ -53,8 +56,8 @@
5356
"/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map" 1512469076 2399468 cd50ac8978eb0c6504f5f6da528ede46 ""
5457
"/var/lib/texmf/web2c/pdftex/pdflatex.fmt" 1510828241 7736839 f7a91338fb39ebea778d5e686e1a4943 ""
5558
"IEEEtran.cls" 1412935638 202657 f6698b073bb6e66a6e6436a00d85499c ""
56-
"main.aux" 1513096747 1247 13a0eaf7347ebf7c5eeaa40718487999 ""
57-
"main.tex" 1513097977 29587 5cf663429a3edf92889be0625451a692 ""
59+
"main.aux" 1513099058 1247 3229973a9a4e86f7fef5c3271e6fd6f3 ""
60+
"main.tex" 1513099205 30372 9ffedc05e84af2ea58f98cdddb34e946 ""
5861
"picture.png" 1412935638 14848 03aea4a00da11fd0cb69b384b3655503 ""
5962
(generated)
6063
"main.log"

Journal article/main.fls

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,9 @@ INPUT /usr/share/texmf-dist/fonts/vf/adobe/times/ptmb7t.vf
133133
INPUT /usr/share/texmf-dist/fonts/tfm/adobe/times/ptmb8r.tfm
134134
INPUT main.aux
135135
INPUT /usr/share/texmf-dist/fonts/enc/dvips/base/8r.enc
136+
INPUT /usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi10.pfb
137+
INPUT /usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi7.pfb
138+
INPUT /usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmr7.pfb
136139
INPUT /usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmsy10.pfb
137140
INPUT /usr/share/texmf-dist/fonts/type1/urw/times/utmb8a.pfb
138141
INPUT /usr/share/texmf-dist/fonts/type1/urw/times/utmbi8a.pfb

Journal article/main.log

Lines changed: 22 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live 2017/Arch Linux) (preloaded format=pdflatex 2017.11.16) 12 DEC 2017 17:59
1+
This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live 2017/Arch Linux) (preloaded format=pdflatex 2017.11.16) 12 DEC 2017 18:20
22
entering extended mode
33
restricted \write18 enabled.
44
file:line:error style messages enabled.
@@ -233,23 +233,32 @@ LaTeX Font Info: External font `cmex10' loaded for size
233233
(Font) <7> on input line 495.
234234
LaTeX Font Info: External font `cmex10' loaded for size
235235
(Font) <5> on input line 495.
236+
./main.tex:517: Undefined control sequence.
237+
l.517 \tab
238+
The classification of elements is done the same way as for the Ne...
239+
The control sequence at the end of the top line
240+
of your error message was never \def'ed. If you have
241+
misspelled it (e.g., `\hobx'), type `I' and the correct
242+
spelling (e.g., `I\hbox'). Otherwise just continue,
243+
and I'll forget about whatever was undefined.
244+
236245
[1{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}
237246

238247

239248
]
240249
LaTeX Font Info: External font `cmex10' loaded for size
241-
(Font) <8> on input line 678.
250+
(Font) <8> on input line 684.
242251
LaTeX Font Info: External font `cmex10' loaded for size
243-
(Font) <6> on input line 678.
244-
<picture.png, id=11, 84.315pt x 98.3675pt>
252+
(Font) <6> on input line 684.
253+
<picture.png, id=14, 84.315pt x 98.3675pt>
245254
File: picture.png Graphic file (type png)
246255
<use picture.png>
247-
Package pdftex.def Info: picture.png used on input line 694. on input line 694.
248-
Package pdftex.def Info: Requested size: 72.27145pt x 84.3167pt on input line 694.
256+
Package pdftex.def Info: picture.png used on input line 700. on input line 700.
257+
Package pdftex.def Info: Requested size: 72.27145pt x 84.3167pt on input line 700.
249258
File: picture.png Graphic file (type png)
250259
<use picture.png>
251-
Package pdftex.def Info: picture.png used on input line 694. on input line 694.
252-
Package pdftex.def Info: Requested size: 72.27145pt x 84.3167pt on input line 694.
260+
Package pdftex.def Info: picture.png used on input line 700. on input line 700.
261+
Package pdftex.def Info: Requested size: 72.27145pt x 84.3167pt on input line 700.
253262
[2 <./picture.png>] (./main.aux) )
254263
Here is how much of TeX's memory you used:
255264
2304 strings out of 492985
@@ -258,12 +267,12 @@ Here is how much of TeX's memory you used:
258267
5854 multiletter control sequences out of 15000+600000
259268
39835 words of font info for 73 fonts, out of 8000000 for 9000
260269
1144 hyphenation exceptions out of 8191
261-
41i,10n,37p,638b,315s stack positions out of 5000i,500n,10000p,200000b,80000s
262-
{/usr/share/texmf-dist/fonts/enc/dvips/base/8r.enc}</usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmsy10.pfb></usr/share/texmf-dist/fonts/type1/urw/times/utmb8a.pfb></usr/share/texmf-dist/fonts/type1/urw/times/utmbi8a.pfb></usr/share/texmf-dist/fonts/type1/urw/times/utmr8a.pfb></usr/share/texmf-dist/fonts/type1/urw/times/utmri8a.pfb>
263-
Output written on main.pdf (2 pages, 81657 bytes).
270+
41i,10n,37p,631b,315s stack positions out of 5000i,500n,10000p,200000b,80000s
271+
{/usr/share/texmf-dist/fonts/enc/dvips/base/8r.enc}</usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi10.pfb></usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi7.pfb></usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmr7.pfb></usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmsy10.pfb></usr/share/texmf-dist/fonts/type1/urw/times/utmb8a.pfb></usr/share/texmf-dist/fonts/type1/urw/times/utmbi8a.pfb></usr/share/texmf-dist/fonts/type1/urw/times/utmr8a.pfb></usr/share/texmf-dist/fonts/type1/urw/times/utmri8a.pfb>
272+
Output written on main.pdf (2 pages, 105350 bytes).
264273
PDF statistics:
265-
38 PDF objects out of 1000 (max. 8388607)
266-
24 compressed objects within 1 object stream
274+
50 PDF objects out of 1000 (max. 8388607)
275+
33 compressed objects within 1 object stream
267276
0 named destinations out of 1000 (max. 500000)
268277
18 words of extra memory for PDF output out of 10000 (max. 10000000)
269278

Journal article/main.pdf

23.1 KB
Binary file not shown.

Journal article/main.synctex.gz

811 Bytes
Binary file not shown.

Journal article/main.tex

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -505,10 +505,16 @@ \section{Methods}
505505
The methods, or classification algorithms in this case, will be described and explained in this section.
506506

507507
\subsection{Nearest Centroid Classifier}
508-
This first algorithm is rudimentary and very simple to understand. Firstly, during the training phase, a mean vector is calculated for each class, by averaging all the training samples of the given class. Then, in the classification phase, each test sample is classified by calculating its euclidean distance to each mean vector: the lowest distance indicates the nearest class for the test element. The euclidean distance formula is: INSERT FORMULA HERE \\ with xn being the tested sample and mc the mean vector of class c. The distance is calculated via the l-norm of the substraction of the two vectors, to the power of two.
508+
This first algorithm is rudimentary and very simple to understand. Firstly, during the training phase, a mean vector is calculated for each class, by averaging all the training samples of the given class. Then, in the classification phase, each test sample is classified by calculating its euclidean distance to each mean vector: the lowest distance indicates the nearest class for the test element. The euclidean distance formula is:
509+
\begin{equation}
510+
||x_{n} - m_{c}||_{2}^2
511+
\end{equation}
512+
with $x_{n}$ being the tested sample of index $n$, and $m_{c}$ the mean vector of class $c$. The distance is calculated via the $l_{2}$-norm of the substraction of the two vectors, to the power of two.
509513

510514
\subsection{Nearest Sub-class Centroid Classifier}
511-
\blindtext
515+
This classifier is basically an enhanced version of the Nearest Centroid Classifier, where the K-means algorithm has been applied in the training phase. This results in a clustered class, which holds N mean vectors corresponding to N sub-classes (clusters) instead of just one mean class vector. The number of sub-classes N is, theoretically, giving better and more accurate results for a higher value, as it yields more choices for the testing phase.
516+
517+
\tab The classification of elements is done the same way as for the Nearest Centroid, however each test sample is compared to each mean sub-class vector of each class. The number of sub-classes is to be fine-tuned empirically, depending on the desired precision/speed ratio.
512518

513519
\subsection{Nearest Neighbour Classifier}
514520
\blindtext

0 commit comments

Comments
 (0)