BookmarkSubscribeRSS Feed
softgalaxy
Calcite | Level 5

Hi,

 

I am using the SAS Heart data set (pictures shown below) and using ModelStudio pipeline and always getting the error relating to "Logistic Regression Error", Kindly advise as appropriate,

 

Thanks, 

 

1 REPLY 1
Stu_SAS
SAS Employee

Hey @softgalaxy! Your target is interval, so you should not be running a classification model. Try fitting a model that supports interval targets instead, such as a regression, decision tree, or gradient boosting. A more appropriate target for logistic regression would be something like DeathCause or Status.

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

How to choose a machine learning algorithm

Use this tutorial as a handy guide to weigh the pros and cons of these commonly used machine learning algorithms.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 626 views
  • 1 like
  • 2 in conversation