-
Notifications
You must be signed in to change notification settings - Fork 1
/
Day 1
68 lines (39 loc) · 3.5 KB
/
Day 1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
Machine Learning is an idea to learn from examples and experience, without being explicitly programmed.
Instead of writing code, you feed data to the generic algorithm, and it builds logic based on the data given.
Examples of Machine Learning
There are many examples of machine learning. Here are a few examples of classification problems where the goal is to categorize objects into a fixed set of categories.
Face detection: Identify faces in images (or indicate if a face is present).
Email filtering: Classify emails into spam and not-spam.
Medical diagnosis: Diagnose a patient as a sufferer or non-sufferer of some disease.
Weather prediction: Predict, for instance, whether or not it will rain tomorrow.
Need of Machine Learning:
Machine Learning is a field which is raised out of Artificial Intelligence(AI).
Applying AI, we wanted to build better and intelligent machines.
But except for few mere tasks such as finding the shortest path between point A and B, we were unable to program more complex and constantly evolving challenges.
There was a realisation that the only way to be able to achieve this task was to let machine learn from itself.
This sounds similar to a child learning from its self. So machine learning was developed as a new capability for computers.
And now machine learning is present in so many segments of technology, that we don’t even realise it while using it.
Finding patterns in data on planet earth is possible only for human brains. The data being very massive, the time taken to compute is increased, and this is where Machine Learning comes into action, to help people with large data in minimum time.
If big data and cloud computing are gaining importance for their contributions, machine learning as technology helps analyse those big chunks of data, easing the task of data scientists in an automated process and gaining equal importance and recognition.
The techniques we use for data mining have been around for many years, but they were not effective as they did not have the competitive power to run the algorithms. If you run deep learning with access to better data, the output we get will lead to dramatic breakthroughs which is machine learning.
Kinds of Machine Learning
There are three kinds of Machine Learning Algorithms.
a. Supervised Learning
b. Unsupervised Learning
c. Reinforcement Learning
source: https://towardsdatascience.com/introduction-to-machine-learning-db7c668822c4
So today i'll be starting with simple linear regression.
The simple linear regression model is represented like this: Ε(y) = (β0 +β1 x).
The simple linear regression equation is graphed as a straight line.
(β0 is the y intercept of the regression line.
β1 is the slope.
Ε(y) is the mean or expected value of y for a given value of x.
(x is independent variable and y is a dependent variable ,beta is ).
For theory you can find it anywhere on the internet but i'll point to some few important points to remember:
#1 Linear regression models are used to show or predict the relationship between two variables or factors.
#2 When there is one independent variable,we call it simple linear regression model but when there are more then one independent variables
we call it multiple linear regression.
#3 Regression is generally used in continous values rather than discrete values.
#4 It is a supervised machine learning algorithm.
That's all for today. Tommorow i will be implementing linear regression with both Scikit learn(popular Machine learning library) and from
scratch in python.(I don't know R lol).