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.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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
  • 220 views
  • 0 likes
  • 2 in conversation