{"id":6825,"date":"2026-11-04T13:47:32","date_gmt":"2026-11-04T05:47:32","guid":{"rendered":"https:\/\/bap2.cm.nsysu.edu.tw\/?page_id=6825"},"modified":"2026-11-04T13:47:32","modified_gmt":"2026-11-04T05:47:32","slug":"10-logistic-regression-ib533-2026-09","status":"publish","type":"page","link":"https:\/\/bap2.cm.nsysu.edu.tw\/?page_id=6825&lang=en","title":{"rendered":"10. Logistic Regression  (IB533 2026.09)"},"content":{"rendered":"<h5 style=\"padding-left: 60px;\"><span style=\"font-family: terminal, monaco, monospace;\"><b>Unit Outlines\uff1a<\/b><\/span><\/h5>\n<h5 style=\"padding-left: 90px;\"><span style=\"font-family: terminal, monaco, monospace;\">\u25a0 Logistic Regression<\/span><\/h5>\n<h5 style=\"padding-left: 120px;\"><span style=\"font-family: terminal, monaco, monospace;\">\u00a7 method\uff1aglm(\u2026 , family = binomial)<\/span><\/h5>\n<h5 style=\"padding-left: 120px;\"><span style=\"font-family: terminal, monaco, monospace;\">\u00a7 model fitting &amp; prediction<\/span><\/h5>\n<h5 style=\"padding-left: 120px;\"><span style=\"font-family: terminal, monaco, monospace;\">\u00a7 interpreting the coefficients<\/span><\/h5>\n<h5 style=\"padding-left: 90px;\"><span style=\"font-family: terminal, monaco, monospace;\">\u25a0 Measures of Model Accuracy<\/span><\/h5>\n<h5 style=\"padding-left: 120px;\"><span style=\"font-family: terminal, monaco, monospace;\">\u00a7 Accuracy, Sensibility, Specificity<\/span><\/h5>\n<h5 style=\"padding-left: 120px;\"><span style=\"font-family: terminal, monaco, monospace;\">\u00a7 Confusion Matrix and Accuracy Metrics<\/span><\/h5>\n<h5 style=\"padding-left: 120px;\"><span style=\"font-family: terminal, monaco, monospace;\">\u00a7 ROC and AUC<\/span><\/h5>\n<hr \/>\n<h5 style=\"padding-left: 60px;\"><span style=\"font-family: terminal, monaco, monospace;\"><b>Notebooks<\/b><b>\uff1a<\/b><\/span><\/h5>\n<h5 style=\"padding-left: 90px;\"><span style=\"font-family: terminal, monaco, monospace;\">\u25c6 UNIT10A\uff1a Logistic Regression (<a href=\"https:\/\/bap2.cm.nsysu.edu.tw\/bap2\/2026\/1151ib533\/unit10A.html\">unit10A.html<\/a>)<\/span><\/h5>\n<h5 style=\"padding-left: 90px;\"><span style=\"font-family: terminal, monaco, monospace;\">\u25c6 UNIT10B\uff1aLogisticReg. &#8211; The Coefficients (<a href=\"https:\/\/bap2.cm.nsysu.edu.tw\/bap2\/2026\/1151ib533\/unit10B.html\">unit10B.html<\/a>)<\/span><\/h5>\n<h5 style=\"padding-left: 90px;\"><span style=\"font-family: terminal, monaco, monospace;\">\u25c6 UNIT10C LogisticReg. &#8211; Model Accuracy (<a href=\"https:\/\/bap2.cm.nsysu.edu.tw\/bap2\/2026\/1151ib533\/unit10C.html\">unit10C.html<\/a>)<\/span><\/h5>\n<hr \/>\n<h5 style=\"padding-left: 60px;\"><span style=\"font-family: terminal, monaco, monospace;\"><b>Google Drive\uff1a\u00a0<\/b><\/span><\/h5>\n<h6 style=\"padding-left: 90px;\"><span style=\"font-family: terminal, monaco, monospace;\">\u25c6 Unit10:\u00a0 [ <a href=\"https:\/\/drive.google.com\/drive\/folders\/1TACC9x6b9EOpyWaUvZZ8jyl0copfL1uI?usp=drive_link\">~\/ib533\/10_LogisticReg\/<\/a> ]<\/span><\/h6>\n<hr \/>\n<h5 style=\"padding-left: 60px;\"><span style=\"font-family: terminal, monaco, monospace;\"><b>Unit10\u00a0 Personal Assignments \uff1a Due at\u00a0 2025\/11\/23 (Mon.) 23:59<\/b><\/span><\/h5>\n<h6 style=\"padding-left: 90px;\"><span style=\"font-family: terminal, monaco, monospace;\">Trace the code and answer the quiz in uni10A|B.Rmd,<\/span><\/h6>\n<h6 style=\"padding-left: 90px;\"><span style=\"font-family: terminal, monaco, monospace;\">knit and upload the HTML files to<\/span><\/h6>\n<h6 style=\"padding-left: 90px;\"><span style=\"font-family: terminal, monaco, monospace;\">upload it to \u3010 <a href=\"https:\/\/drive.google.com\/drive\/folders\/1zBvjfoG_3DeHK3cykCIPIxgzmkJdR5jD?usp=drive_link\">~\/person\/10_LogisticReg<\/a> \u3011with filename &#8220;&lt;student.id&gt;_unit10A|B.html&#8221;<\/span><\/h6>\n<hr \/>\n<h5 style=\"padding-left: 60px;\"><span style=\"font-family: terminal, monaco, monospace;\"><b>Video Recording\uff1a<\/b><\/span><\/h5>\n<h5 style=\"padding-left: 90px;\"><span style=\"font-family: terminal, monaco, monospace;\">\u25c6 Unit10 Video Recording<\/span><\/h5>\n<hr \/>\n<h5 style=\"padding-left: 60px;\"><span style=\"font-family: terminal, monaco, monospace;\"><b>References :<\/b><\/span><\/h5>\n<h6 style=\"padding-left: 90px;\"><span style=\"font-family: terminal, monaco, monospace;\">\u25c6\u00a0\u00a0<a href=\"https:\/\/bap2.cm.nsysu.edu.tw\/\">Portal of Big Data BA Platform<\/a><\/span><\/h6>\n<h6 style=\"padding-left: 90px;\"><span style=\"font-family: terminal, monaco, monospace;\">\u25c6\u00a0\u00a0<a href=\"https:\/\/bap2.cm.nsysu.edu.tw\/?page_id=2039&amp;lang=en\">R: Self Learning Roadmap<\/a><\/span><\/h6>\n<h6 style=\"padding-left: 90px;\"><span style=\"font-family: terminal, monaco, monospace;\">\u25c6\u00a0 John Hopkins: R Programming <a href=\"https:\/\/www.coursera.org\/learn\/r-programming\">online course<\/a><\/span><\/h6>\n<h6 style=\"padding-left: 90px;\"><span style=\"font-family: terminal, monaco, monospace;\">\u25c6\u00a0\u00a0John Hopkins: R Programming <a href=\"https:\/\/www.cs.upc.edu\/~robert\/teaching\/estadistica\/rprogramming.pdf\">eBook<\/a><\/span><\/h6>\n<h6 style=\"padding-left: 90px;\"><span style=\"font-family: terminal, monaco, monospace;\">\u25c6\u00a0\u00a0Harvard: Data Science <a href=\"https:\/\/www.edx.org\/professional-certificate\/harvardx-data-science\">online course<\/a><\/span><\/h6>\n<h6 style=\"padding-left: 90px;\"><span style=\"font-family: terminal, monaco, monospace;\">\u25c6\u00a0 Harvard: Data Science <a href=\"https:\/\/rafalab.github.io\/dsbook\/?fbclid=IwAR1x6AsYApxZb5VUIK8KIaUxH-bP6vkOP0KejwCjyajHoDuKHrVlijyzDDc\">ebook<\/a><\/span><\/h6>\n<h6 style=\"padding-left: 90px;\"><span style=\"font-family: terminal, monaco, monospace;\">\u25c6\u00a0\u00a0<a href=\"https:\/\/www.data-to-viz.com\/\">From Data to Viz<\/a><\/span><\/h6>\n<h5 style=\"padding-left: 90px;\"><span style=\"font-family: terminal, monaco, monospace;\">\u25c6\u00a0\u00a0Probability Cheat Sheet (<a href=\"https:\/\/static1.squarespace.com\/static\/54bf3241e4b0f0d81bf7ff36\/t\/55e9494fe4b011aed10e48e5\/1441352015658\/probability_cheatsheet.pdf\">pdf<\/a>)<\/span><\/h5>\n<h5 style=\"padding-left: 90px;\"><span style=\"font-family: terminal, monaco, monospace;\">\u25c6\u00a0 Intro. Probability and Statistics Using R (<a href=\"https:\/\/www.nongnu.org\/ipsur\/\">IPSUR<\/a>)<\/span><\/h5>\n<h5 style=\"padding-left: 90px;\"><span style=\"font-family: terminal, monaco, monospace;\">\u25c6\u00a0 Statistical Analysis Using R, UCLA (<a href=\"https:\/\/stats.idre.ucla.edu\/other\/mult-pkg\/whatstat\/ \">URL<\/a>)<\/span><\/h5>\n<h5 style=\"padding-left: 90px;\"><span style=\"font-family: terminal, monaco, monospace;\">\u25c6\u00a0 CLUSTER ANALYSIS IN R: PRACTICAL GUIDE (<a href=\"https:\/\/www.datanovia.com\/en\/blog\/cluster-analysis-in-r-practical-guide\/\">URL<\/a>)<\/span><\/h5>\n<h5 style=\"padding-left: 90px;\"><span style=\"font-family: terminal, monaco, monospace;\">\u25c6\u00a0 Principal Component Methods in R: Practical Guide (<a href=\"http:\/\/www.sthda.com\/english\/articles\/31-principal-component-methods-in-r-practical-guide\/\">URL<\/a>)<\/span><\/h5>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Unit Outlines\uff1a \u25a0 Logistic Regression \u00a7 method\uff1aglm(\u2026 , family = binomial) \u00a7 model fitting &amp; prediction \u00a7 interpreting the coefficients \u25a0 Measures of Model Accuracy \u00a7 Accuracy, Sensibility, Specificity \u00a7 Confusion Matrix and Accuracy Metrics \u00a7 ROC and AUC Notebooks\uff1a \u25c6 UNIT10A\uff1a Logistic Regression (unit10A.html) \u25c6 UNIT10B\uff1aLogisticReg. &#8211; The Coefficients (unit10B.html) \u25c6 UNIT10C LogisticReg. &#8211; Model Accuracy (unit10C.html) Google Drive\uff1a\u00a0 \u25c6 Unit10:\u00a0 [ ~\/ib533\/10_LogisticReg\/ ] Unit10\u00a0 Personal Assignments \uff1a Due at\u00a0 2025\/11\/23 (Mon.) 23:59 Trace the code and answer the quiz in uni10A|B.Rmd, knit and upload the HTML files to upload it to \u3010 ~\/person\/10_LogisticReg \u3011with filename &#8220;&lt;student.id&gt;_unit10A|B.html&#8221; Video Recording\uff1a \u25c6 Unit10 Video Recording References : \u25c6\u00a0\u00a0Portal of Big Data BA Platform \u25c6\u00a0\u00a0R: Self Learning Roadmap \u25c6\u00a0 John Hopkins: R Programming online course \u25c6\u00a0\u00a0John Hopkins: R Programming eBook \u25c6\u00a0\u00a0Harvard: Data Science online course \u25c6\u00a0 Harvard: Data Science ebook \u25c6\u00a0\u00a0From Data to Viz \u25c6\u00a0\u00a0Probability Cheat Sheet (pdf) \u25c6\u00a0 Intro. Probability and Statistics Using R (IPSUR) \u25c6\u00a0 Statistical Analysis Using R, UCLA (URL) \u25c6\u00a0 CLUSTER ANALYSIS IN R: PRACTICAL GUIDE (URL) \u25c6\u00a0 Principal Component Methods in R: Practical Guide (URL) &nbsp;<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"class_list":["post-6825","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/bap2.cm.nsysu.edu.tw\/index.php?rest_route=\/wp\/v2\/pages\/6825","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bap2.cm.nsysu.edu.tw\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/bap2.cm.nsysu.edu.tw\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/bap2.cm.nsysu.edu.tw\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/bap2.cm.nsysu.edu.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6825"}],"version-history":[{"count":1,"href":"https:\/\/bap2.cm.nsysu.edu.tw\/index.php?rest_route=\/wp\/v2\/pages\/6825\/revisions"}],"predecessor-version":[{"id":6826,"href":"https:\/\/bap2.cm.nsysu.edu.tw\/index.php?rest_route=\/wp\/v2\/pages\/6825\/revisions\/6826"}],"wp:attachment":[{"href":"https:\/\/bap2.cm.nsysu.edu.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6825"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}