Github link
How to Compile
$ make
gcc -g -fPIC -shared -o sandbox.so sandboxso.c -ldl
gcc -g -o sandbox sandbox.c
How to Run
$ ./sandbox
no command given.
Shao-Wei Chiu changed 4 years agoView mode Like Bookmark
School: National Chiao Tung University
Name: Shao-Wei ( Willy ) Chiu
Note: This report was made on Hackmd.io and restricted by the .pdf format, the .gif animation would not display. Please view it on https://hackmd.io/@swchiu/SJQehejA8, thanks.
PCA / LDA
When dataset's feature space grows into very high dimensions, there would be some useless feature. We prefer to extract the more important features for our dataset.
let
$$
Shao-Wei Chiu changed 4 years agoView mode Like Bookmark
School: National Chiao Tung University
Name: Shao-Wei Chiu
Note: This report was made on Hackmd.io and restricted by the .pdf format, the .gif animation would not display. Please view it on https://hackmd.io/@swchiu/BJwOjuc3U, thanks.
Kernel K-means
Kernel k-means is an approach to k-means algorithm, but mapping the data into higher degree dimentions.
And the mapping-function called Kernel.
K-means algorithm is that after comparing the data similarity, we cluster the more similarity datas to the same group.
Shao-Wei Chiu changed 4 years agoView mode Like Bookmark
file descriptors
while user open a file, kernel then handle a table called file descriptor table which store the opened file information(i.e., a pointer to the file), and the table index is file descriptor.
So, the file descriptor is a non negative integer.
stdin stdout, stderr
0 stdin
1 stdout
2 stderr
Shao-Wei Chiu changed 5 years agoView mode Like Bookmark