Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7739977
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T08:39:29+00:00 2026-06-01T08:39:29+00:00

Classification and regression trees by Breiman et al mentioned about using linear combination of

  • 0

Classification and regression trees by Breiman et al mentioned about using linear combination of predictors when splitting a node. I was trying to find a way to try this out with R in vain.

There are tree or rpart packages which assume splitting on an univariate predictor and they do not allow any customization with linear combination. Do I have to create my own package?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T08:39:30+00:00Added an answer on June 1, 2026 at 8:39 am

    I haven’t used it before, but you might have a look at the oblique.tree package on CRAN.

    The example in ?oblique.tree does in fact add the PCA output at covariates,

    data(crabs, package = "MASS")
    aug.crabs.data <- data.frame(   g=factor(rep(1:4,each=50)),
                    predict(princomp(crabs[,4:8]))[,2:3])
    

    yielding data that looks like this:

    enter image description here

    where the covariates are the 2nd and 3rd principal components. It can then apparently fit a decision tree that splits on linear combinations of these variables:

    ob.tree <- oblique.tree(formula     = g~.,
                data        = aug.crabs.data,
                oblique.splits  = "only")
    plot(ob.tree)
    text(ob.tree,cex = 0.5)
    

    enter image description here

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hi I am trying out classification for imbalanced dataset in R using kernlab package,
I'm building a binary classification tree using mutual information gain as the splitting function.
Are there any libs implementing classification and regression trees in java? Something very close
I'm trying to implement the Minimum Distance Algorithm for image classification using GDAL and
I am trying out Liblinear for linear SVM classification on some 2D points (I
When doing regression or classification, what is the correct (or better) way to preprocess
Summary: I'm trying to do classification of some images depending on the angles between
I am trying to use the random forests package for classification in R. The
I am planning to implement spam filter using Naive Bayesian classification model. Online I
I have been using the lib-svm binaries for classification of my data. For training

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.