BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
IvanGV
Calcite | Level 5

Hi, how are you?

I've been starting to use SAS Enterprise Miner 7.1 H1 and I was wondering if there's any efficent way of programming arbitrary parameters' searches.

For example:

- When tuning K for K-NN, I manually created 10 nodes with 10 different K values.

- When tuning Hidden Units for a Neural Network, I had to do the same thing.

When you want to get greedy with your search space, programming it this way becomes quite tedious.

Is there a way to use a single encapsulating node and easily set different parameters combinations to be tested, instead of having to manually set different model nodes?

Thanks a lot!

Best regards,

Ivan.

1 ACCEPTED SOLUTION

Accepted Solutions
M_Maldonado
Barite | Level 11

Hi Ivan,

This is supported for neural networks using the AutoNeural node.

For other models the only alternative that comes to mind is to use macro programming on base SAS to do multiple calls of a procedure with different parameters.

I hope this helps,

Miguel

View solution in original post

4 REPLIES 4
M_Maldonado
Barite | Level 11

Hi Ivan,

This is supported for neural networks using the AutoNeural node.

For other models the only alternative that comes to mind is to use macro programming on base SAS to do multiple calls of a procedure with different parameters.

I hope this helps,

Miguel

IvanGV
Calcite | Level 5

Thank you Miguel, I'm already using AutoNeural so I'll look into macro programming.

If anyone has any code samples to use as reference, I would appreciate those very much, thank you.

Ivan.

camontanezp
Calcite | Level 5
Hi Miguel and Ivan,

I also wonder if there is an example code and if you could guide me to where to write the macro, is it done by adding a SAS code node to the diagram? Thanks.
AnnaBrown
Community Manager

Hi camontanezp,

 

Welcome to the SAS Data Mining and Machine Learning Community, thanks for your question! Since it's been quite a while since Miguel and Ivan's discussion, I recommend opening a New Message with your question and reference this thread in that post. 

 

Best,

Anna

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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
  • 4 replies
  • 3499 views
  • 0 likes
  • 4 in conversation