# Understanding Naïve Bayes algorithm

## Bayes Theorem

Bayes theorem says that if event B has occurred, then we can find the probability of event A given B. …

# Performance Metrics: Receiver Operating Characteristic (ROC)- Area Under Curve (AUC)

## ROC Curve

The Receiver Operating characteristic (ROC) curve is explicitly used for binary classification. However, it can be extended for multiclass classification.

# Local Outlier Factor (LOF) — Algorithm for outlier identification

## Detection of the anomaly using LOF values

1. INTRODUCTION
2. K-DISTANCE AND K-NEIGHBORS
3. REACHABILITY DISTANCE (RD)
4. LOCAL REACHABILITY DISTANCE (LRD)
5. LOCAL OUTLIER FACTOR (LOF)
6. EXAMPLE
9. CONCLUSION
10. REFERENCES

## 1. INTRODUCTION

An outlier is a data point that is different or far from the rest of the data points. …

# K-Nearest Neighbors (KNN) algorithm

## An algorithm which finds the nearest neighbors

1. What is KNN?
2. Working of KNN algorithm
3. What happens when K changes?
4. How to select appropriate K?
5. Limitation of KNN
6. Real-world application of KNN
7. Conclusion

## 1. What is KNN?

K nearest neighbors (KNN) is a supervised machine learning algorithm. A supervised machine learning algorithm’s goal is to learn a function such that f(X) =… ## Vaibhav Jayaswal

A machine learning enthusiast. I have pursued my masters from Indian Institute of Technology, Bombay.