Table of contents : Table of Contents Installation and Use of R Installation of R Use of R Scientific Research Design Research Concepts Variable Measurement Unit of Analysis Sampling and Hypothesis Testing Statistical Analysis Overview of Machine Learning Introduction Machine Learning Training Data Development of a Cyber bullying Prediction Model Based on Machine Learning Naïve Bayes Classification Model Logistic Regression Model Random Forest Model Decision Tree Model Neural Network Model Support Vector Machine Model Association Analysis Cluster Analysis and Segmentation Machine Learning Model Evaluation Machine Learning Model Evaluation Using Misclassification Tables Machine Learning Model Evaluation Using ROC Curves Artificial Intelligence Calculate the Effect of Input Variables on Output Variables (Prediction Probability) Using Training Data with Input Variables to Create Dependent Variables Creating Data with the Same Training-Data and Predicted-Data Classifications Evaluating Existing Training Data and High Quality Training Data Creating an Artificial Intelligence with Machine Learning Visualization Visualization of Text Data Visualization of Time Series Data Visualization of Geographical Data Developing Machine Learning–Based Predictive Models of Adverse Drug Responses Introduction Research Subjects and Analysis Method Result Discussion and Conclusion Index