BookmarkSubscribeRSS Feed
teresacorzo
Calcite | Level 5

I’m modelling with reject inference in SAS Visual Machine Learning, I have used the reject inference node with parcelling.

Previously, I’ve created models with reject inference in SAS Miner, where it assigned a weight to every registry in the dataset, assigning 1 to accepted and a given weight between 0 and 1 to the inferred data. However, in SAS Viya, the weights are all 1, in accepted and inferred.

I don’t need all the data in my modelling augmented data, but I don’t want to lose information by creating a random sample that mimics the weight assigned previously in Miner. The weight is given by the following equation:

teresacorzo_0-1729002401895.png

 

 

I’ve tried assing this weight manually, assigning it as a Weight variable, but the node doesn’t read it, it includes all the observations for the rejected data with no calculated weight.

 

teresacorzo_1-1729002401897.png

 

teresacorzo_2-1729002401899.png

 

 

Train set Accepted:

teresacorzo_3-1729002401900.png

 

Inferred:

teresacorzo_4-1729002401901.png

 

I haven’t found enough information in internet to solve this problem.

Thanks!

2 REPLIES 2
Sa_S
SAS Employee
Thank you for the post- we are responding in your TS case. Thanks, and have a great day!
RoseCliver
Calcite | Level 5

@teresacorzo wrote:

I’m modelling with reject inference in SAS Visual Machine Learning, I have used the reject inference node with parcelling.

Previously, I’ve created models with reject inference in SAS Miner, where it assigned a weight to every registry in the dataset, assigning 1 to accepted and a given weight between 0 and 1 to the inferred data. However, in SAS Viya, the weights are all 1, in accepted and inferred.

I don’t need all the data in my modelling augmented data, but I don’t want to lose information by creating a random sample that mimics the weight assigned previously in Miner. The weight is given by the following equation:

teresacorzo_0-1729002401895.png

 

 

I’ve tried assing this weight manually, assigning it as a Weight variable, but the node doesn’t read it, it includes all the observations for the rejected data with no calculated weight.

 

teresacorzo_1-1729002401897.png

 

teresacorzo_2-1729002401899.png

 

 

Train set Accepted:

teresacorzo_3-1729002401900.png

 

Inferred:

teresacorzo_4-1729002401901.png

 

I haven’t found enough information in internet to solve this problem.

Thanks!


In SAS Visual Machine Learning, the Reject Inference Node does not automatically assign weights. Manually compute weights as in SAS Miner, then assign them using a custom "Weight" variable in the dataset. Ensure this variable is explicitly defined in the model settings to apply it during training.

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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
  • 2 replies
  • 1491 views
  • 0 likes
  • 3 in conversation