...

Full Bio

Top 14 Different Demanded Programming Languages And Their Uses - All Programmer Should Know

today

What Is The Programming Language You Are Looking For And Why?

3 days ago

Top 10 Most Popular Machine Learning Companies In 2019

6 days ago

6 Things To Deal With The Great Data Scientist Shortage

6 days ago

Top 5 Ways The Rust Programming Language Will Be Demanded In 2019

7 days ago

Highest Paying Programming Language, Skills: Here Are The Top Earners

621156 views

Which Programming Languages in Demand & Earn The Highest Salaries?

431835 views

Top 10 Best Countries for Software Engineers to Work & High in-Demand Programming Languages

406482 views

50+ Data Structure, Algorithms & Programming Languages Interview Questions for Programmers

254526 views

Which Country Has The Best Programming Language Programmer?

218007 views

### 6 Steps To Write Any Machine Learning Algorithm From Scratch: Perceptron Case Study

- What is it?
- What is it typically used for?
- When CAN'T I use this?

- The single layer Perceptron is the most basic neural network. It's typically used for binary classification problems (1 or 0, "yes" or "no").
- It's a linear classifier, so it can only really be used when there's a linear decision boundary. Some simple uses might be sentiment analysis (positive or negative response) or loan default prediction ("will default", "will not default"). For both cases, the decision boundary would need to be linear.
- If the decision boundary is non-linear, you really can't use the Perceptron. For those problems, you'll need to use something different.

- The Elements of Statistical Learning, Section 4.5.1
- Understanding Machine Learning: From Theory To Algorithms, Section 21.4

- Jason Brownlee's article on his Machine Learning Mastery blog, How To Implement The Perceptron Algorithm From Scratch In Python
- Sebastian Raschka's blog post, Single-Layer Neural Networks, and Gradient Descent

- Initialize the weights
- Multiply weights by inputs and sum them up
- Compare the result against the threshold to compute the output (1 or 0)
- Update the weights
- Repeat

- You'll gain an even deeper understanding because you're teaching others what you just learned.
- You can showcase it to potential employers. It's one thing to show that you can implement an algorithm from a machine learning library, but it's even more impressive if you can implement it yourself from scratch.