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

# How to exponential operation in R?

This recipe helps you exponential operation in R

0

## Recipe Objective

Exponential Operation is an arithmetic operation in R which calculates the power of one numeric variable with another. This recipe demonstrates how to carry out the Exponential operation using two numeric variables while storing them in a third variable.

## Step 1: Creating two numeric variables

We assign numbers to two variables

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

## Step 2: Exponential Operation (a^b)

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 ```
```10000
```

Alternatively, we can also complete the operation 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 ```
```10000
```

#### Relevant Projects

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

##### Build an Image Classifier for Plant Species Identification
In this machine learning project, we will use binary leaf images and extracted features, including shape, margin, and texture to accurately identify plant species using different benchmark classification techniques.

##### Data Science Project-TalkingData AdTracking Fraud Detection
Machine Learning Project in R-Detect fraudulent click traffic for mobile app ads using R data science programming language.

##### Machine Learning project for Retail Price Optimization
In this machine learning pricing project, we implement a retail price optimization algorithm using regression trees. This is one of the first steps to building a dynamic pricing model.

##### Data Science Project in Python on BigMart Sales Prediction
The goal of this data science project is to build a predictive model and find out the sales of each product at a given Big Mart store.

##### Machine Learning or Predictive Models in IoT - Energy Prediction Use Case
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.

##### Mercari Price Suggestion Challenge Data Science Project
Data Science Project in Python- Build a machine learning algorithm that automatically suggests the right product prices.

##### Loan Eligibility Prediction in Python using H2O.ai
In this loan prediction project you will build predictive models in Python using H2O.ai to predict if an applicant is able to repay the loan or not.

##### Census Income Data Set Project - Predict Adult Census Income
Use the Adult Income dataset to predict whether income exceeds 50K yr based on census data.

##### Ensemble Machine Learning Project - All State Insurance Claims Severity Prediction
In this ensemble machine learning project, we will predict what kind of claims an insurance company will get. This is implemented in python using ensemble machine learning algorithms.