The C5.0 algorithm allows us to assign a penalty to different types of errors, in order to discourage a tree from making more costly mistakes. The penalties are designatedin a cost matrix, which specifies how much costlier each error is, relative to any
other prediction.