• No products in the cart.

204.5.4 Issue with Non Linear Decision Boundary

Understanding intermediate outputs.
Link to the previous post : https://course.dvanalyticsmds.com/204-5-3-practice-non-linear-decision-boundary/

In the  previous post we just tried solving a non linear data using linear boundary. We can use multiple linear boundaries to separate classes in this kind of datasets.

However, this will cause some issues which we will understand but visualizing the problem and think about a possible solution too.

Non-Linear Decision Boundaries-Issue

Logistic Regression line doesn’t seem to be a good option when we have non-linear decision boundaries.

Non-Linear Decision Boundaries

We can try to build two different models and have two difference linear decision boundaries. These two models will give us intermediate outputs and combining both will give us the final output.

Non-Linear Decision Boundaries-Solution

Intermediate Output1 Intermediate Output2
out(x)= \(g(\sum w_kx_k)\) say h1 out(x)= \(g(\sum w_kx_k)\) say h2

The Intermediate output

  • Using the x’s directly; predicting y is challenging.
  • We can predict h, the intermediate output, which will indeed predict Y

Finding the Weights for Intermediate Outputs

If we increase the number of intermediate outputs and add a few layers of intermediate models, we end up with a basic neural network.
The next post is a practice session on implementing intermediate outputs in python.
Link to the next post  :  https://course.dvanalyticsmds.com/204-5-5-practice-implementing-intermediate-outputs-in-python/

DV Analytics

DV Data & Analytics is a leading data science,  Cyber Security training and consulting firm, led by industry experts. We are aiming to train and prepare resources to acquire the most in-demand data science job opportunities in India and abroad.

Bangalore Center

DV Data & Analytics Bangalore Private Limited
#52, 2nd Floor:
Malleshpalya Maruthinagar Bengaluru.
Bangalore 560075
India
(+91) 9019 030 033 (+91) 8095 881 188
Email: info@dvanalyticsmds.com

Bhubneshwar Center

DV Data & Analytics Private Limited Bhubaneswar
Plot No A/7 :
Adjacent to Maharaja Cine Complex, Bhoinagar, Acharya Vihar
Bhubaneswar 751022
(+91) 8095 881 188 (+91) 8249 430 414
Email: info@dvanalyticsmds.com

top
© 2020. All Rights Reserved.