DATA MUNGING
# How to Divide each element of a matrix by a numerical value?

# How to Divide each element of a matrix by a numerical value?

This recipe helps you Divide each element of a matrix by a numerical value

This python source code does the following 1. Creates your won numpy array 2. Uses lambda function to perform arithmetic manipulation 3. Uses vectorize function to perform arithmetic manipulation

In [1]:

```
## How to Divide each electment of a matrix by a numerical value
def Kickstarter_Example_18():
print()
print(format('How to divide each element of a matrix by a numerical value',
'*^72'))
# Load library
import numpy as np
# Create two vectors
matrixA = np.array([[2, 3, 23],
[5, 6, 25],
[8, 9, 28]])
# Create a function that adds 100 to something
add_100 = lambda i: i / 9
# Create a vectorized function
vectorized_add_100 = np.vectorize(add_100)
# Apply function to all elements in matrix
print(); print(vectorized_add_100(matrixA))
Kickstarter_Example_18()
```

Machine Learning Project in R- Predict the customer churn of telecom sector and find out the key drivers that lead to churn. Learn how the logistic regression model using R can be used to identify the customer churn in telecom dataset.

In this project, we are going to work on Sequence to Sequence Prediction using IMDB Movie Review Dataset using Keras in Python.

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.

In this data science project in R, we are going to talk about subjective segmentation which is a clustering technique to find out product bundles in sales data.

Data Science Project in R -Build a machine learning algorithm to predict the future sale prices of homes.

There are different time series forecasting methods to forecast stock price, demand etc. In this machine learning project, you will learn to determine which forecasting method to be used when and how to apply with time series forecasting example.

Data Science Project in Python- Given his or her job role, predict employee access needs using amazon employee database.

In this machine learning project, you will uncover the predictive value in an uncertain world by using various artificial intelligence, machine learning, advanced regression and feature transformation techniques.

In this project, we are going to talk about H2O and functionality in terms of building Machine Learning models.

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