It is easy to use Machine Learning algorithm that can even work without hyper-parameter tuning. It can be used for both classification and regression tasks. It is a supervised learning algorithm…