Lecture 2: A Short Introduction to R Programming
Machine learning is a discipline based on data and algorithms, so naturally, we need a programming language to implement algorithms and conduct experiments. For many reasons, the R language is a good choice, with its open-source nature and simple syntax being the primary ones. It’s important to note that this course does not focus on advanced applications of R, so we aim to minimize the learning curve, allowing students to quickly understand and master the language for convenient experimentation. In short, our ultimate goal is to understand models and algorithms through experimentation.
Outline:
- 2.1 An Overview of R Language
- 2.2 A Prowerful Weapon, Rstudio
- 2.3 Love at First Sight?
- 2.4 Data type and structure in R
- 2.5 Flow Control
- 2.6 About Probability
- 2.7 Other Useful Things