BookmarkSubscribeRSS Feed
himali
Calcite | Level 5

Hi,

 

I am trying to run fastclus and want to understand how does these options work in a PROC FASTCLUS. Does maxiter option override replace option or there is a difference in these two?

Proc fastclus data=all
out = cluster_exp
radius = .0001
delete = 1000
maxiter = 10000
maxclusters = 15 
Converge=0.001
replace = none;
var Factor:;
run;

 

1 REPLY 1
Rick_SAS
SAS Super FREQ

See the Overview section of the doc to see the algoritm.  When I read the doc, it sounds like the MAXITER= and the REPLACE= option are independent.  The MAXITER= option specifies how many times you should repeat Step 3 if the algorithm. The REPLACE= option specifies how Step 3 occurs.  

 

I've never used the REPLACE= option, but to me the doc says that your code will use random seeds.as the initial cluster centers. Because you've set REPLACE=NONE,  those centers will not change for the next 10,000 iterations.  

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 save with the early bird rate—just $795!

Register now

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 1698 views
  • 0 likes
  • 2 in conversation