a user interface to your sas programs - phuse wiki 2017 ad presentations/ad01.pdf · a user...
TRANSCRIPT
![Page 1: A User Interface To Your SAS Programs - PhUSE Wiki 2017 AD Presentations/AD01.pdf · A User Interface To Your SAS Programs ... Machine Learning from Disaster § The Titanic dataset](https://reader034.vdocument.in/reader034/viewer/2022051600/5aaab0297f8b9a9a188e88bb/html5/thumbnails/1.jpg)
©OCSLifeSciences
www.ocs-lifesciences.com 1
AUserInterfaceToYourSASPrograms
HailemichaelM.Worku,OCSLifeSciences,theNetherlands
![Page 2: A User Interface To Your SAS Programs - PhUSE Wiki 2017 AD Presentations/AD01.pdf · A User Interface To Your SAS Programs ... Machine Learning from Disaster § The Titanic dataset](https://reader034.vdocument.in/reader034/viewer/2022051600/5aaab0297f8b9a9a188e88bb/html5/thumbnails/2.jpg)
©OCSLifeSciences
www.ocs-lifesciences.com 2
Agenda§ IntroducHon§ CaseStudy:SASBaseforaReproducibleResearch§ AnAlterna/veApproach:viaSASEG§ ApplicaHon:
§ Front-end/Interface§ Back-end/‘TheMagic’§ ProcessFlowDiagram/logic
§ Conclusion
![Page 3: A User Interface To Your SAS Programs - PhUSE Wiki 2017 AD Presentations/AD01.pdf · A User Interface To Your SAS Programs ... Machine Learning from Disaster § The Titanic dataset](https://reader034.vdocument.in/reader034/viewer/2022051600/5aaab0297f8b9a9a188e88bb/html5/thumbnails/3.jpg)
©OCSLifeSciences
www.ocs-lifesciences.com 3
IntroducHon
§ SASprogramsareusuallyplaintextSASscripts.§ Werantheminamanualorautomatedfashion.§ Challengesfor‘normal’Users:§ LackofinteracHvitywithusers(e.g.,inputparameters).§ Difficultforuserswhohaveli\leornoaffinityfor
programming.§ Usersareo]eninterestedonthefinalreportfor
revieworsubmission.
![Page 4: A User Interface To Your SAS Programs - PhUSE Wiki 2017 AD Presentations/AD01.pdf · A User Interface To Your SAS Programs ... Machine Learning from Disaster § The Titanic dataset](https://reader034.vdocument.in/reader034/viewer/2022051600/5aaab0297f8b9a9a188e88bb/html5/thumbnails/4.jpg)
©OCSLifeSciences
www.ocs-lifesciences.com 4
CaseStudy1:SASBaseforDataAnalysis
§ TheCLASSdatasetisavailableinSASHELPlibrary.§ SASprogramsforimporHng,exploringandgeneraHng
reportonCLASSdataset.§ Moreoutputsthanwhatyouwouldnormallyexpect.
![Page 5: A User Interface To Your SAS Programs - PhUSE Wiki 2017 AD Presentations/AD01.pdf · A User Interface To Your SAS Programs ... Machine Learning from Disaster § The Titanic dataset](https://reader034.vdocument.in/reader034/viewer/2022051600/5aaab0297f8b9a9a188e88bb/html5/thumbnails/5.jpg)
©OCSLifeSciences
www.ocs-lifesciences.com 5
CaseStudy1(Cont’d):TheChallenges?
§ WhatIf–aquesHonby‘normal’users?§ Areportforweightofsubjectsbygender(bothor
single).§ Excludeasubjectwhoseweightvalueisbelow/above
certainthresholdvalue.§ Importanytypeofclassdatasetandperformsimilar
tasks.§ Dousers‘care’aboutwhatishappingintheback-end/
The‘Magic’???
![Page 6: A User Interface To Your SAS Programs - PhUSE Wiki 2017 AD Presentations/AD01.pdf · A User Interface To Your SAS Programs ... Machine Learning from Disaster § The Titanic dataset](https://reader034.vdocument.in/reader034/viewer/2022051600/5aaab0297f8b9a9a188e88bb/html5/thumbnails/6.jpg)
©OCSLifeSciences
www.ocs-lifesciences.com 6
AlternaHveApproach:viaSASEG
§ There'sarelaHvelyaccessiblesoluHoninSASEnterpriseGuide(EG).§ SASEGisanIDEdedicatedforSASdevelopment.
§ Add-InsinSASEGprovideafamiliar,customizableuserinterfacethatconnectstocustomSASprogramsinthebackground.
§ Thefront-end/userinterfacecanbebuiltusinghighlevelprogramminglanguages(.NET,C#,Java,etc).
![Page 7: A User Interface To Your SAS Programs - PhUSE Wiki 2017 AD Presentations/AD01.pdf · A User Interface To Your SAS Programs ... Machine Learning from Disaster § The Titanic dataset](https://reader034.vdocument.in/reader034/viewer/2022051600/5aaab0297f8b9a9a188e88bb/html5/thumbnails/7.jpg)
©OCSLifeSciences
www.ocs-lifesciences.com 7
CaseStudy2:TempConverterAppThe Interface: TheBack-end/‘Magic’:
%lettxtFld_tempInput=37.75;%letcomboBox_fromTo=2;%include"temp_converter_pro.sas";
![Page 8: A User Interface To Your SAS Programs - PhUSE Wiki 2017 AD Presentations/AD01.pdf · A User Interface To Your SAS Programs ... Machine Learning from Disaster § The Titanic dataset](https://reader034.vdocument.in/reader034/viewer/2022051600/5aaab0297f8b9a9a188e88bb/html5/thumbnails/8.jpg)
©OCSLifeSciences
www.ocs-lifesciences.com 8
CaseStudy3:Real-worldApplicaHons§ Thetemperatureconversionadd-in(TCApp)iseasierto
explainandunderstand.§ However,real-worldapplicaHonsaremorecomplex
andaimedfordifferenttasks.§ Titanic:MachineLearningfromDisaster§ TheTitanicdatasetisaboutsurvivalonTitanicship
thatwasmadeavailableonlineforfree(Kaggle:h\ps://www.kaggle.com/).
![Page 9: A User Interface To Your SAS Programs - PhUSE Wiki 2017 AD Presentations/AD01.pdf · A User Interface To Your SAS Programs ... Machine Learning from Disaster § The Titanic dataset](https://reader034.vdocument.in/reader034/viewer/2022051600/5aaab0297f8b9a9a188e88bb/html5/thumbnails/9.jpg)
©OCSLifeSciences
www.ocs-lifesciences.com 9
Titanic:MachineLearningfromDisaster
§ TitanicDataset:§ Kaggleprovidestwosetofdatasets:theTrainingset
(train.csv)andtheTestset(test.csv).§ Thedatasetisabout2,224travelersandcrewwho
wereontheship(e.g.,age,gender,#siblings,#parents,fare,etc)
§ Themaindifferencebetweenthetwoinputfilesistheresponsevariable(survived:1=Yes;0=No).
§ Prizesforwinnersandjobopportunity.
![Page 10: A User Interface To Your SAS Programs - PhUSE Wiki 2017 AD Presentations/AD01.pdf · A User Interface To Your SAS Programs ... Machine Learning from Disaster § The Titanic dataset](https://reader034.vdocument.in/reader034/viewer/2022051600/5aaab0297f8b9a9a188e88bb/html5/thumbnails/10.jpg)
©OCSLifeSciences
www.ocs-lifesciences.com 10
TheTitanicExplorerApp:Front-end/Interface
![Page 11: A User Interface To Your SAS Programs - PhUSE Wiki 2017 AD Presentations/AD01.pdf · A User Interface To Your SAS Programs ... Machine Learning from Disaster § The Titanic dataset](https://reader034.vdocument.in/reader034/viewer/2022051600/5aaab0297f8b9a9a188e88bb/html5/thumbnails/11.jpg)
©OCSLifeSciences
www.ocs-lifesciences.com 11
TheTitanicExplorerApp:ProcessFlowDiagram
![Page 12: A User Interface To Your SAS Programs - PhUSE Wiki 2017 AD Presentations/AD01.pdf · A User Interface To Your SAS Programs ... Machine Learning from Disaster § The Titanic dataset](https://reader034.vdocument.in/reader034/viewer/2022051600/5aaab0297f8b9a9a188e88bb/html5/thumbnails/12.jpg)
©OCSLifeSciences
www.ocs-lifesciences.com 12
TheTitanicExplorerApp:Back-end/The‘Magic’
§ ThemainapplicaHonhasthreemaincomponents:§ ImporHngrawCSVfiles(train.csv&test.csv).§ MachineLearning(ML)part:
§ Preprocessingstep.§ Exploringstep.§ Fiwng/TesHngMLtechniques.
§ GeneraHngreport.§ Modularapproachistheway-to-go.
![Page 13: A User Interface To Your SAS Programs - PhUSE Wiki 2017 AD Presentations/AD01.pdf · A User Interface To Your SAS Programs ... Machine Learning from Disaster § The Titanic dataset](https://reader034.vdocument.in/reader034/viewer/2022051600/5aaab0297f8b9a9a188e88bb/html5/thumbnails/13.jpg)
©OCSLifeSciences
www.ocs-lifesciences.com 13
Conclusion§ Usersaremainlyinterestedonthefollowing4tasks:
§ Loadingstudy/researchdata.§ Preprocessimporteddata.§ Performmaintasks(e.g.,explore,analyze,etc).§ Generateareportforreview/submission.
§ Usersarenoto]eninterestedaboutthe‘Magic'.§ BuildingsuchapplicaHon/add-incouldimproveUser’s
experience.§ SASprogramsusedfortheback-endisplaxorm
independent.
![Page 14: A User Interface To Your SAS Programs - PhUSE Wiki 2017 AD Presentations/AD01.pdf · A User Interface To Your SAS Programs ... Machine Learning from Disaster § The Titanic dataset](https://reader034.vdocument.in/reader034/viewer/2022051600/5aaab0297f8b9a9a188e88bb/html5/thumbnails/14.jpg)
©OCSLifeSciences
www.ocs-lifesciences.com 14
ThankYou!
QuesHons???