Interpretation of the Confusion Matrix

Actual Positive, Predicted Positive = TP Actual Positive, Predicted Negative = FN Actual Negative, Predicted Negative = TN Actual Negative, Predicted Positive = FP We know from the sample, Actual Positive = TP + FN Actual Negative = TN + FP Prevalence: If the sample can present the population, then prevalence is the ratio: Actual … Continue reading Interpretation of the Confusion Matrix

The Math behind Linear SVC Classifier

This article is reposted from my Kaggle account. Here is the original link: https://www.kaggle.com/xingewang/the-math-behind-linear-svc-classifier In case there are some Latex format altered below. Linear Support Vector Classifier (Binary Case) The reason why I wrote this article: explanation of SVC/SVM on the internet is overwhelming, but I could not find anything to clarify all the doubts I … Continue reading The Math behind Linear SVC Classifier

Useful functions in “reshape2” package in R —- stack(), melt()

  In many situations, data is presented in a format that is not ready to dive straight to exploratory data analysis or to use a desired statistical method. The reshape2 package for R provides useful functionality to avoid having to hack data around in a spreadsheet prior to import into R. stack() function For example, we have the data frame read … Continue reading Useful functions in “reshape2” package in R —- stack(), melt()

The logic behind the hypothesis Testing and p value

The logic behind the hypothesis testing There are two ways to prove your research hypothesis. For example, you want to prove the average grade of English class is higher than 60. You can prove it directly if you have all the information about your interested population. For example, if you are interested in the average … Continue reading The logic behind the hypothesis Testing and p value

Linux resources

  You will need to be able to execute basic commands in Linux, like ls, cd, and make. You will also need to get comfortable running programs from the command line. A basic overview of Linux commands: https://www.digitalocean.com/community/tutorials/an-introduction-to-linux-basics A longer overview: http://manuals.bioinformatics.ucr.edu/home/linux-basics More details about I/O, file and directory structures, processes, and permissions: http://linuxcommand.org/learning_the_shell.php