![]() |
VOOZH | about |
Machine Learning is a subset of Artificial Intelligence (AI) which enables systems to learn and make predictions without explicit programming. In machine learning, algorithms and models are developed to identify patterns and trends within data, allowing systems to predict outcomes based on observed data. These models learn from the data and store rules that can be applied to new or unseen datasets for prediction of data.
Step 1: Install Anaconda (Linux, Windows) and launch the navigator.
Step 2: Open Anaconda Navigator and click the Install button for RStudio.
👁 anaconda-navigatorStep 3: After installation, create a new environment. Anaconda will then send a prompt asking to enter a name for the new environment and the launch the R studio.
👁 create-new-environmentMethod 1: R commands can run from the console provided in R studio. After opening Rstudio simply type R commands to the console.
👁 running-R-commandMethod 2: R commands can be stored in a file and can be executed in an anaconda prompt. This can be achieved by the following steps.
conda activate <ENVIRONMENT_NAME>
Rscript <FILE_NAME>.R
Packages contain a set of predefined functions that perform various tasks. The most used machine learning packages are Caret, e1071, nnet, kernlab and randomForest. There are two methods that can be used to install these packages for your R program.
conda activate <ENVIRONMENT_NAME>
install.packages(c("<PACKAGE_1>", "<PACKAGE_2>", ..., "<PACKAGE_N>"))