You've successfully subscribed to Smartcodehub ™ Blog
Welcome back! You've successfully signed in.

## Machine Learning From scratch | Part 1. Scaler, And Vector

Neeraj Dana

Hello Every One Lets start with the very basic prerequisit of machine learning I wont be taelling you the why and what of machine learning rather lets see some simple maths which can be usefull in our journey of ml

### Scaler And Vector

Two Statments

1. I have Travelled 50Km
2. I have travelled 50km in North-East direction

In first statment if you see we have only one value that is distance which i have travelled so it will be scaller (only one value)

In the second statment we have two things Distance and in which direction so this will be a vector (2 or more values)

In simple words one value is scaler and multiple values (dimentions) are vector

one more example

Lets say my temrature changes 2 unit

so here we know that temratture has changed by 2 unit and that only we know so it will be scaller

and my temprature increased 2 unit or decresed 2 unit

in this statment have 2 dementions temprature and directtion so this will be vector

There are plenty of scalar quantity examples, some of the common examples are:

• Mass
• Speed
• Distance
• Time
• Area
• Volume
• Density
• Temperature

Vector quantity examples are many, some of them are given below:

• Linear momentum
• Acceleration
• Displacement
• Momentum
• Angular velocity
• Force
• Electric field
• Polarization

Next : Vector Dot Products