# Assumptions of Machine Learning Algorithms

The performance of a machine learning algorithm on a particular dataset often depends on whether the features of the dataset satisfies the assumptions of that machine learning algorithm. Not all machine learning algorithms have assumptions this is why all algorithms differ from each other. So, in this article, I will take you through the assumptions of machine learning algorithms.

## Assumptions of Machine Learning Algorithms

If you know the assumptions of some commonly used machine learning models, you will easily learn how to select the best algorithm to use on a particular problem. Not all machine learning algorithms have assumptions this is why all algorithms differ from each other. So in the section below, I will introduce you to the assumptions of some commonly used machine learning algorithms.

#### Assumptions of Linear Regression:

Below are the assumptions of the linear regression algorithm that you should know:

1. There is a linear relationship between dependent and independent features.
2. All the features are multivariate normally.
3. There is very little or no multicollinearity in the dataset.
4. There is very little or no autocorrelation in the dataset.
5. It also assumes that there is homoscedasticity in the data set.

#### Assumptions of Logistic Regression:

Below are the assumptions of the logistic regression algorithm that you should know:

1. It assumes that there is an appropriate structure of the output label.
2. All observations are independent of each other.
3. There is little or no multicollinearity in the dataset.
4. It also assumes that the dataset consists of a very large sample.

#### Assumptions of Naive Bayes:

The Naive Bayes algorithm is said to be naive because of its naive assumption which implies that the conditional independence of causes. Simply put, the presence of one cause is not normally independent of the presence of other causes. This can be considered very difficult to accept in many cases where the probability of a particular feature is strictly correlated with another feature.

#### Assumptions of Support Vector Machines:

Below are the assumptions of support vector machines that you should know:

1. Support Vector Machines is a family of algorithms that can operate in linear and non-linear data sets.
2. Along with neural networks, SVMs are probably the best choice among many tasks where it is not easy to find a good separation hyperplane.
3. Support vectors are the most useful data points because they are the most likely to be misclassified.

### Summary

In this article, I have introduced you to the assumptions of the most commonly used machine learning models. The more powerful a machine learning algorithm, the fewer assumptions it has. Hope you liked this article on the assumptions of Machine Learning Algorithms. Please feel free to ask your valuable questions in the comments section below. ##### Aman Kharwal

I'm a writer and data scientist on a mission to educate others about the incredible power of data📈.

Articles: 1501
{"ft_lang_label":"__label__en","ft_lang_prob":0.93020344,"math_prob":0.9279434,"size":2842,"snap":"2023-40-2023-50","text_gpt3_token_len":531,"char_repetition_ratio":0.18569416,"word_repetition_ratio":0.1585903,"special_character_ratio":0.1794511,"punctuation_ratio":0.08213552,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.997243,"pos_list":[0,1,2],"im_url_duplicate_count":[null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-10-02T14:12:01Z\",\"WARC-Record-ID\":\"<urn:uuid:a5cd0e9f-3a45-4110-83f4-ac55311b86d2>\",\"Content-Length\":\"114556\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:931e7e2e-ad60-4e46-81c7-c516e8f308cc>\",\"WARC-Concurrent-To\":\"<urn:uuid:d5774cce-0531-453f-8460-ca7f76ec4cd6>\",\"WARC-IP-Address\":\"192.0.78.224\",\"WARC-Target-URI\":\"https://thecleverprogrammer.com/2021/05/11/assumptions-of-machine-learning-algorithms/\",\"WARC-Payload-Digest\":\"sha1:C7X7MJCGUKKI4SFKIRYXUUH66VSDGVJR\",\"WARC-Block-Digest\":\"sha1:NOSIYEYQPRJTOMZRBCUH2LSBQEIIW7GJ\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-40/CC-MAIN-2023-40_segments_1695233511000.99_warc_CC-MAIN-20231002132844-20231002162844-00174.warc.gz\"}"}