O'Reilly logo

R Statistical Application Development by Example Beginner's Guide by Prabhanjan Narayanachar Tattar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Classification tree for the German credit data

In Chapter 7, The Logistic Regression Model, we constructed a logistic regression model, and in the previous chapter, we obtained the ridge regression version for the German credit data problem. However, problems such as these and many others may have non-linearity built in them, and it is worthwhile to look at the same problem by using a classification tree. Also, we saw another model performance of the German credit data using the train, validate, and test approach. We will have the following approach. First, we will partition the German dataset into three parts, namely train, validate, and test. The classification tree will be built by using the data in the train set and then it will be applied ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required