The LendingClub is a peer-to-peer lending company that directly connects borrowers and potential lenders/investors. In this notebook, you will build a classification model to predict whether or not a loan provided by LendingClub is likely to default. In this assignment, you will practice:
-Use Pandas Dataframes to do feature engineering -Train a decision tree model to predict the sentiment of product reviews. -Visualize the decision tree -Predict the probability of a certain label using the tree -Investigate how the complexity of the tree affects the results
Any cell with #TODO is code from myself, Cecilis Barnes. All other code from this assignment belongs to the copyright below.
Copyright ©2021 Emily Fox, Hunter Schafer, and Valentina Staneva All rights reserved. Permission is hereby granted to students registered for University of Washington CSE/STAT 416 for use solely during Spring Quarter 2020 for purposes of the course. No other use, copying, distribution, or modification is permitted without prior written consent. Copyrights for third-party components of this work must be honored. Instructors interested in reusing these course materials should contact the author.