proc cas; table.loadTable / caslib='Public' path='mydata.sashdat' casOut={name='PROMOTED_TABLE', promote=TRUE}; run;
proc cas; image.matchImages / table={name="images_to_search", caslib="casuser"} queryImage={path="template.jpg", caslib="casuser"} methodOptions={method="TEMPLATEMATCH"} casOut={name="template_match_results", caslib="casuser", replace=true}; run;
proc cas; image.matchImages / table={name="images_to_search", caslib="casuser"} queryImage={path="object_to_find.jpg", caslib="casuser"} methodOptions={method="DESCRIPTORMATCH", descType="ORB", thresholdRatio=0.7} threshold=0.6 highlight=true decode=true ...
proc cas; loadactionset 'entityRes'; run; entityRes.match / inTable={name='contacts' caslib='casuser'}, outTable={name='contacts_matched' caslib='casuser', replace=true}, clusterId='cID', matchRules={{rule={columns={'name'}} }}; run; fedsql.execDirect query=...
proc cas; loadactionset 'entityRes'; run; entityRes.match / inTable={name='contacts', caslib='casuser'}, columns={'name', 'address'}, outTable={name='contacts_matched_detailed', caslib='casuser', replace=true}, clusterId='GroupID', clusterIdLabel='Group Iden...
proc cas; source trainPgm; regression.logistic table=table, class={'Gender','HomeOwner'}, model={depvar='Loan_Default', effects={'Gender', 'HomeOwner', 'Income', 'CreditScore'}}, weight=weight, output={casOut=casout, copyVars={'Loan_Default', 'Gender'}}, store={name='logistic_model', replace=true...
proc cas; source trainPgm_gb; decisionTree.gbtreeTrain table=table, target='Loan_Default', inputs={'Gender', 'HomeOwner', 'Income', 'CreditScore'}, nominals={'Gender', 'HomeOwner', 'Loan_Default'}, weight=weight, saveState={name='gbtree_model', caslib='CASUSER', replace=true}; decisionTree.gbtree...
An internal data governance policy prohibits storing sensitive Personally Identifiable Information (PII) in personal CAS workspaces. An IT administrator must perform a spot audit on a specific user's personal caslib (`CASUSER(finance_user)`) to check for non-compliant data without disrupting the ...
A CAS server is experiencing memory pressure. A CAS administrator needs to quickly investigate if any users are storing excessively large tables in their personal caslibs. The goal is to get a server-wide overview of personal data storage without checking users one by one.
An automated nightly script is being developed to catalog all tables in personal caslibs. The script must be robust and not terminate unexpectedly. It needs to correctly handle users who are logged in but have no tables, and it must not fail with an authorization error when checking for a user wh...