MACHINE LEARNING RECIPES
DATA CLEANING PYTHON
DATA MUNGING
PANDAS CHEATSHEET
ALL TAGS
# How to do modulus operation in R?

# How to do modulus operation in R?

This recipe helps you do modulus operation in R

We assign numbers to two variables

```
a = 10
b = 4
```

We use the arithmetic operator " %% " to carry out this task and finally store the result in a third variable

```
# storing the result of the modulus arithmetic operation of the two numbers stored in variables 'a' and 'b' in 'result'
result = a %% b
# displaying the value stored in result
result
```

2

Alternatively, we can also find the remainder after division of two numbers without assigning any variables to it. Just like a calculator. This is done simply by writing the operation as mentioned below and pressing 'enter'

```
10 %% 4
```

2

In this data science project, we will predict the credit card fraud in the transactional dataset using some of the predictive models.

In this machine learning churn project, we implement a churn prediction model in python using ensemble techniques.

In this project, we are going to talk about Time Series Forecasting to predict the electricity requirement for a particular house using Prophet.

Data Science Project in Python- Build a machine learning algorithm that automatically suggests the right product prices.

Music Recommendation Project using Machine Learning - Use the KKBox dataset to predict the chances of a user listening to a song again after their very first noticeable listening event.

Data Science Project - Build a recommendation engine which will predict the products to be purchased by an Instacart consumer again.

In this machine learning and IoT project, we are going to test out the experimental data using various predictive models and train the models and break the energy usage.

In this machine learning project, you will develop a machine learning model to accurately forecast inventory demand based on historical sales data.

In this data science project, you will learn how to perform market basket analysis with the application of Apriori and FP growth algorithms based on the concept of association rule learning.

Deep Learning Project- Learn to apply deep learning paradigm to forecast univariate time series data.