Ensemble with Random Forest in Python

We use the data from sklearn library, and the IDE is sublime text3. Most of the code comes from the book: https://www.goodreads.com/book/show/32439431-introduction-to-machine-learning-with-python?from_search=true


CART, A Regression Tree Model for Wine Choosing

Compared with regression traditionally, decision trees may be better suited for tasks with many features or many complex, non-linear relationships among features and outcome. These situations present challenges for regression. Regression modeling also makes assumptions about how numeric data is distributed that are often violated in real-world data. This is not the case for trees.… Continue reading CART, A Regression Tree Model for Wine Choosing

A Quick Classification Example with C5.0 in R

Get the data: (http://archive.ics.uci.edu/ml)   For a bank, to release loan to a customer who might defaul is risky. To avoid this situation we can inscrease the cost to do so, thus educing the rate it happens with a costMatrix like this: actual predicted no yes no   0   4 yes  1   0 Cost is a parametre… Continue reading A Quick Classification Example with C5.0 in R