{"id":4146,"date":"2024-12-28T09:47:46","date_gmt":"2024-12-28T00:47:46","guid":{"rendered":"https:\/\/secondlife.lol\/?p=4146"},"modified":"2024-12-28T09:47:47","modified_gmt":"2024-12-28T00:47:47","slug":"scatter-plot-visualization","status":"publish","type":"post","link":"https:\/\/secondlife.lol\/zh\/scatter-plot-visualization\/","title":{"rendered":"\u521b\u5efa\u6563\u70b9\u56fe\uff1a\u7528 Python \u5c55\u793a\u6570\u636e"},"content":{"rendered":"<style>.kb-image4146_b9636e-81 .kb-image-has-overlay:after{opacity:0.3;border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-right-radius:5px;border-bottom-left-radius:5px;}.kb-image4146_b9636e-81 img.kb-img, .kb-image4146_b9636e-81 .kb-img img{border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-right-radius:5px;border-bottom-left-radius:5px;box-shadow:0px 0px 14px 0px rgba(0, 0, 0, 0.2);}<\/style>\n<div class=\"wp-block-kadence-image kb-image4146_b9636e-81\"><figure class=\"aligncenter size-medium_large\"><img decoding=\"async\" width=\"768\" height=\"459\" src=\"https:\/\/secondlife.lol\/wp-content\/uploads\/2024\/12\/image-1-33-768x459.jpg\" alt=\"\ud30c\uc774\uc36c\uc73c\ub85c \ubd84\uc0b0\ud615 \ucc28\ud2b8 \uadf8\ub9ac\uae30\" class=\"kb-img wp-image-4147\" srcset=\"https:\/\/secondlife.lol\/wp-content\/uploads\/2024\/12\/image-1-33-768x459.jpg 768w, https:\/\/secondlife.lol\/wp-content\/uploads\/2024\/12\/image-1-33-300x179.jpg 300w, https:\/\/secondlife.lol\/wp-content\/uploads\/2024\/12\/image-1-33-600x359.jpg 600w, https:\/\/secondlife.lol\/wp-content\/uploads\/2024\/12\/image-1-33-18x12.jpg 18w, https:\/\/secondlife.lol\/wp-content\/uploads\/2024\/12\/image-1-33.jpg 993w\" sizes=\"(max-width: 768px) 100vw, 768px\" \/><figcaption>( \ud30c\uc774\uc36c\uc73c\ub85c \ubd84\uc0b0\ud615 \ucc28\ud2b8 \uadf8\ub9ac\uae30 )<\/figcaption><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\uc5ec\ub7ec \ub370\uc774\ud130 \uac04\uc758 \uad00\uacc4\ub97c \ud55c\ub208\uc5d0 \ud30c\uc545\ud558\uace0 \uc2f6\uc73c\uc2e0\uac00\uc694? \uadf8\ub7f4 \ub54c \ubd84\uc0b0\ud615 \ucc28\ud2b8(Scatter Plot)\uac00 \uc81c\uaca9\uc785\ub2c8\ub2e4. \ud2b9\ud788, \ubc94\uc8fc\ubcc4\ub85c \uc0c9\uc0c1\uc744 \ub2ec\ub9ac\ud558\uace0, \ucd94\uc138\uc120\uae4c\uc9c0 \ucd94\uac00\ud558\uba74 \ubcf5\uc7a1\ud55c \ub370\uc774\ud130\ub3c4 \uc27d\uac8c \uc774\ud574\ud560 \uc218 \uc788\ub2f5\ub2c8\ub2e4.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\uc774 \uae00\uc5d0\uc11c\ub294 \ubd84\uc0b0\ud615 \ucc28\ud2b8 \uadf8\ub9ac\uae30\ub97c <a href=\"http:\/\/python.org\" target=\"_blank\" rel=\"noopener\">Python<\/a>\uc758 <code>matplotlib<\/code>\uc640 <code>numpy<\/code>\ub97c \uc0ac\uc6a9\ud574 \ub2e8\uacc4\ubcc4\ub85c \uc124\uba85\ud569\ub2c8\ub2e4. \ub354\ubd88\uc5b4 \ucd94\uc138\uc120 \ucd94\uac00, \uc2a4\ud0c0\uc77c \uc801\uc6a9 \ub4f1 \uc2e4\ubb34\uc5d0\uc11c \uc790\uc8fc \uc4f0\uc774\ub294 \ud301\ub3c4 \ud3ec\ud568\ub418\uc5b4 \uc788\uc73c\ub2c8 \ub193\uce58\uc9c0 \ub9c8\uc138\uc694!<\/p>\n\n\n<style>.kb-table-of-content-nav.kb-table-of-content-id83_5f28a6-34 .kb-table-of-content-wrap{padding-top:var(--global-kb-spacing-sm, 1.5rem);padding-right:var(--global-kb-spacing-sm, 1.5rem);padding-bottom:var(--global-kb-spacing-sm, 1.5rem);padding-left:var(--global-kb-spacing-sm, 1.5rem);border-top:3px solid var(--global-palette2, #2B6CB0);border-right:3px solid var(--global-palette2, #2B6CB0);border-bottom:3px solid var(--global-palette2, #2B6CB0);border-left:3px solid var(--global-palette2, #2B6CB0);border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-right-radius:5px;border-bottom-left-radius:5px;box-shadow:0px 0px 14px 0px rgba(0, 0, 0, 0.2);}.kb-table-of-content-nav.kb-table-of-content-id83_5f28a6-34 .kb-table-of-contents-title-wrap{padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;}.kb-table-of-content-nav.kb-table-of-content-id83_5f28a6-34 .kb-table-of-contents-title-wrap{color:var(--global-palette2, #2B6CB0);}.kb-table-of-content-nav.kb-table-of-content-id83_5f28a6-34 .kb-table-of-contents-title{color:var(--global-palette2, #2B6CB0);font-size:28px;font-weight:regular;font-style:normal;}.kb-table-of-content-nav.kb-table-of-content-id83_5f28a6-34 .kb-table-of-content-wrap .kb-table-of-content-list{color:var(--global-palette1, #3182CE);line-height:2em;font-weight:regular;font-style:normal;margin-top:var(--global-kb-spacing-sm, 1.5rem);margin-right:0px;margin-bottom:0px;margin-left:0px;}.kb-table-of-content-nav.kb-table-of-content-id83_5f28a6-34 .kb-table-of-content-wrap .kb-table-of-content-list .kb-table-of-contents__entry:hover{color:var(--global-palette6, #718096);}@media all and (max-width: 1024px){.kb-table-of-content-nav.kb-table-of-content-id83_5f28a6-34 .kb-table-of-content-wrap{border-top:3px solid var(--global-palette2, #2B6CB0);border-right:3px solid var(--global-palette2, #2B6CB0);border-bottom:3px solid var(--global-palette2, #2B6CB0);border-left:3px solid var(--global-palette2, #2B6CB0);}}@media all and (max-width: 1024px){.kb-table-of-content-nav.kb-table-of-content-id83_5f28a6-34 .kb-table-of-contents-title{font-size:28px;}}@media all and (max-width: 767px){.kb-table-of-content-nav.kb-table-of-content-id83_5f28a6-34 .kb-table-of-content-wrap{border-top:3px solid var(--global-palette2, #2B6CB0);border-right:3px solid var(--global-palette2, #2B6CB0);border-bottom:3px solid var(--global-palette2, #2B6CB0);border-left:3px solid var(--global-palette2, #2B6CB0);}.kb-table-of-content-nav.kb-table-of-content-id83_5f28a6-34 .kb-table-of-contents-title{font-size:28px;}}<\/style>\n\n\n<h2 class=\"wp-block-heading\">\ubd84\uc0b0\ud615 \ucc28\ud2b8\ub780?<\/h2>\n\n\n<style>.kb-image4146_fa143f-3b .kb-image-has-overlay:after{opacity:0.3;border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-right-radius:5px;border-bottom-left-radius:5px;}.kb-image4146_fa143f-3b img.kb-img, .kb-image4146_fa143f-3b .kb-img img{border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-right-radius:5px;border-bottom-left-radius:5px;box-shadow:0px 0px 14px 0px rgba(0, 0, 0, 0.2);}<\/style>\n<div class=\"wp-block-kadence-image kb-image4146_fa143f-3b\"><figure class=\"aligncenter size-medium_large\"><img decoding=\"async\" width=\"768\" height=\"413\" src=\"https:\/\/secondlife.lol\/wp-content\/uploads\/2024\/12\/image-1-34-768x413.jpg\" alt=\"\ubd84\uc0b0\ud615 \ucc28\ud2b8 \uc774\uc6a9 \uc778\uc0ac\uc774\ud2b8\" class=\"kb-img wp-image-4150\" srcset=\"https:\/\/secondlife.lol\/wp-content\/uploads\/2024\/12\/image-1-34-768x413.jpg 768w, https:\/\/secondlife.lol\/wp-content\/uploads\/2024\/12\/image-1-34-300x161.jpg 300w, https:\/\/secondlife.lol\/wp-content\/uploads\/2024\/12\/image-1-34-600x323.jpg 600w, https:\/\/secondlife.lol\/wp-content\/uploads\/2024\/12\/image-1-34-18x10.jpg 18w, https:\/\/secondlife.lol\/wp-content\/uploads\/2024\/12\/image-1-34.jpg 1200w\" sizes=\"(max-width: 768px) 100vw, 768px\" \/><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\ubd84\uc0b0\ud615 \ucc28\ud2b8\ub294 \ub450 \ubcc0\uc218 \uac04\uc758 \uad00\uacc4\ub97c \uc2dc\uac01\uc801\uc73c\ub85c \ub098\ud0c0\ub0b4\ub294 \uac15\ub825\ud55c \ub3c4\uad6c\uc785\ub2c8\ub2e4. X\ucd95\uacfc Y\ucd95\uc5d0 \ub370\uc774\ud130\ub97c \ubc30\uce58\ud558\uace0 \uac01 \uc810\uc758 \uc704\uce58\uac00 \ud2b9\uc815 \ub370\uc774\ud130\ub97c \ud45c\ud604\ud569\ub2c8\ub2e4.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\ubd84\uc0b0\ud615 \ucc28\ud2b8\ub97c \uc0ac\uc6a9\ud558\uba74 \ub2e4\uc74c\uacfc \uac19\uc740 \uc778\uc0ac\uc774\ud2b8\ub97c \uc5bb\uc744 \uc218 \uc788\uc2b5\ub2c8\ub2e4:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\ubcc0\uc218 \uac04\uc758 \uc0c1\uad00\uad00\uacc4(\uc591\uc758 \uc0c1\uad00\uad00\uacc4, \uc74c\uc758 \uc0c1\uad00\uad00\uacc4, \ubb34\uad00\uacc4).<\/li>\n\n\n\n<li>\ub370\uc774\ud130\uc758 \ud328\ud134 \ubc0f \uad70\uc9d1.<\/li>\n\n\n\n<li>\uc774\uc0c1\uce58(Outlier) \ud0d0\uc9c0.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Python\uc73c\ub85c \ubd84\uc0b0\ud615 \ucc28\ud2b8 \uadf8\ub9ac\uae30<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\uc544\ub798 \ucf54\ub4dc\ub294 <strong>\ubc94\uc8fc\ud615 \ub370\uc774\ud130\ubcc4\ub85c \uad6c\ubd84\ub41c \ubd84\uc0b0\ud615 \ucc28\ud2b8<\/strong>\ub97c \uadf8\ub9ac\uba70, \ucd94\uc138\uc120\ub3c4 \ud568\uaed8 \ucd94\uac00\ud569\ub2c8\ub2e4.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>import numpy as np\nimport matplotlib.pyplot as plt\nfrom matplotlib import font_manager, rc\n\n# \ud55c\uae00 \ud3f0\ud2b8 \uc124\uc815\nrc('font', family='HCR Dotum')\n\n# \uc784\uc758\uc758 \ub370\uc774\ud130 \uc0dd\uc131\nnp.random.seed(42)\nx = np.random.normal(0, 1, 100)\ny = x * 0.5 + np.random.normal(0, 0.5, 100)\ncategories = np.random.choice(&#91;'A', 'B', 'C'], 100)\n\n# \uadf8\ub798\ud504 \uc2a4\ud0c0\uc77c \uc124\uc815\nplt.style.use('ggplot')  # ggplot \uc2a4\ud0c0\uc77c\ub85c \ubcc0\uacbd\nplt.figure(figsize=(10, 6))\n\n# \ubc94\uc8fc\ubcc4\ub85c \ub2e4\ub978 \uc0c9\uc0c1\uc73c\ub85c \uc0b0\uc810\ub3c4 \uc0dd\uc131\nfor category in np.unique(categories):\n    mask = categories == category\n    plt.scatter(x&#91;mask], y&#91;mask], \n                label=category, \n                alpha=0.6, \n                s=100)\n\n# \ucd94\uc138\uc120 \ucd94\uac00\nz = np.polyfit(x, y, 1)\np = np.poly1d(z)\nplt.plot(x, p(x), \"r--\", alpha=0.8)\n\n# \uadf8\ub798\ud504 \uafb8\ubbf8\uae30\nplt.title(\"Scatter Plot with Trend Line\", pad=20)\nplt.xlabel(\"X Variable\")\nplt.ylabel(\"Y Variable\")\n\n# \uadf8\ub9ac\ub4dc \ucd94\uac00\nplt.grid(True, linestyle='--', alpha=0.7)\n\n# \ubc94\ub840 \ud45c\uc2dc\nplt.legend(title=\"Categories\", loc='upper left')\n\n# \ucd95 \ubc94\uc704 \uc124\uc815\nplt.xlim(min(x)-0.5, max(x)+0.5)\nplt.ylim(min(y)-0.5, max(y)+0.5)\n\n# \uadf8\ub798\ud504 \uc800\uc7a5 \ubc0f \ud45c\uc2dc\nplt.savefig('scatter_plot.png', dpi=300, bbox_inches='tight')\nplt.show()\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\ucf54\ub4dc \ud574\uc124<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>\ub77c\uc774\ube0c\ub7ec\ub9ac \uc784\ud3ec\ud2b8<\/strong>:\n<ul class=\"wp-block-list\">\n<li><code>numpy<\/code>: \ub370\uc774\ud130\ub97c \uc0dd\uc131\ud558\uace0 \uc5f0\uc0b0\uc5d0 \ud65c\uc6a9.<\/li>\n\n\n\n<li><code>matplotlib.pyplot<\/code>: \ubd84\uc0b0\ud615 \ucc28\ud2b8\ub97c \uc0dd\uc131\ud558\ub294 \uc8fc\uc694 \ub3c4\uad6c.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>\ud55c\uae00 \ud3f0\ud2b8 \uc124\uc815<\/strong>: <code>rc('font', family='HCR Dotum')<\/code>\n<ul class=\"wp-block-list\">\n<li>\ucc28\ud2b8 \uc81c\ubaa9 \ubc0f \ub808\uc774\ube14\uc744 \ud55c\uae00\ub85c \ud45c\uc2dc\ud558\uae30 \uc704\ud574 \ud3f0\ud2b8\ub97c \uc124\uc815\ud569\ub2c8\ub2e4.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>\ub370\uc774\ud130 \uc0dd\uc131<\/strong>: <code>np.random.seed(42) x = np.random.normal(0, 1, 100) y = x * 0.5 + np.random.normal(0, 0.5, 100) categories = np.random.choice(['A', 'B', 'C'], 100)<\/code>\n<ul class=\"wp-block-list\">\n<li><code>x<\/code>: \ud3c9\uade0 0, \ud45c\uc900\ud3b8\ucc28 1\uc758 \uc815\uaddc\ubd84\ud3ec\uc5d0\uc11c \uc0dd\uc131\ub41c \ub370\uc774\ud130.<\/li>\n\n\n\n<li><code>y<\/code>: <code>x<\/code>\uc640 \uc120\ud615 \uad00\uacc4\ub97c \uac00\uc9c0\uba70 \uc57d\uac04\uc758 \ub178\uc774\uc988 \ucd94\uac00.<\/li>\n\n\n\n<li><code>categories<\/code>: A, B, C \uc911 \ud558\ub098\uc758 \ubc94\uc8fc\ub97c \ub79c\ub364\ud558\uac8c \ubd80\uc5ec.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>\ubc94\uc8fc\ubcc4 \uc0b0\uc810\ub3c4 \uc0dd\uc131<\/strong>: <code>for category in np.unique(categories): mask = categories == category plt.scatter(x[mask], y[mask], label=category, alpha=0.6, s=100)<\/code>\n<ul class=\"wp-block-list\">\n<li>\uac01 \ubc94\uc8fc(A, B, C)\uc5d0 \ub300\ud574 \ub2e4\ub978 \uc0c9\uc0c1\uc73c\ub85c \uc0b0\uc810\ub3c4\ub97c \uc0dd\uc131.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>\ucd94\uc138\uc120 \ucd94\uac00<\/strong>: <code>z = np.polyfit(x, y, 1) p = np.poly1d(z) plt.plot(x, p(x), \"r--\", alpha=0.8)<\/code>\n<ul class=\"wp-block-list\">\n<li><code>np.polyfit<\/code>: X\uc640 Y \uac04\uc758 \uc120\ud615 \ud68c\uadc0\ub97c \uacc4\uc0b0.<\/li>\n\n\n\n<li><code>np.poly1d<\/code>: \ud68c\uadc0 \ub2e4\ud56d\uc2dd\uc744 \uc0dd\uc131\ud574 \ucd94\uc138\uc120\uc73c\ub85c \ud45c\ud604.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>\uc2a4\ud0c0\uc77c \ubc0f \uc2dc\uac01\uc801 \uc694\uc18c \uc124\uc815<\/strong>:\n<ul class=\"wp-block-list\">\n<li>\uc81c\ubaa9, X\/Y\ucd95 \ub808\uc774\ube14 \uc124\uc815: <code>plt.title(\"Scatter Plot with Trend Line\", pad=20) plt.xlabel(\"X Variable\") plt.ylabel(\"Y Variable\")<\/code><\/li>\n\n\n\n<li>\ubc94\uc8fc \uc124\uba85\uc740 \ubc94\ub840(<code>plt.legend<\/code>)\ub85c \uc81c\uacf5.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>\uc800\uc7a5 \ubc0f \ucd9c\ub825<\/strong>: <code>plt.savefig('scatter_plot.png', dpi=300, bbox_inches='tight') plt.show()<\/code>\n<ul class=\"wp-block-list\">\n<li>\uace0\ud574\uc0c1\ub3c4\ub85c \ucc28\ud2b8\ub97c \uc800\uc7a5(<code>scatter_plot.png<\/code>)\ud558\uace0 \ucd9c\ub825.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n<style>.wp-block-kadence-advancedheading.kt-adv-heading4146_762ff2-93, .wp-block-kadence-advancedheading.kt-adv-heading4146_762ff2-93[data-kb-block=\"kb-adv-heading4146_762ff2-93\"]{font-style:normal;}.wp-block-kadence-advancedheading.kt-adv-heading4146_762ff2-93 mark.kt-highlight, .wp-block-kadence-advancedheading.kt-adv-heading4146_762ff2-93[data-kb-block=\"kb-adv-heading4146_762ff2-93\"] mark.kt-highlight{font-style:normal;color:#f76a0c;-webkit-box-decoration-break:clone;box-decoration-break:clone;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;}.wp-block-kadence-advancedheading.kt-adv-heading4146_762ff2-93 img.kb-inline-image, .wp-block-kadence-advancedheading.kt-adv-heading4146_762ff2-93[data-kb-block=\"kb-adv-heading4146_762ff2-93\"] img.kb-inline-image{width:150px;vertical-align:baseline;}<\/style>\n<h2 class=\"kt-adv-heading4146_762ff2-93 wp-block-kadence-advancedheading\" data-kb-block=\"kb-adv-heading4146_762ff2-93\">\ubd84\uc0b0\ud615 \ucc28\ud2b8\uc758 \ud65c\uc6a9<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">1. \ubcc0\uc218 \uac04 \uc0c1\uad00\uad00\uacc4 \ubd84\uc11d<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\uc591\uc758 \uc0c1\uad00\uad00\uacc4: X\uac00 \uc99d\uac00\ud558\uba74 Y\ub3c4 \uc99d\uac00\ud558\ub294 \ud328\ud134.\n<ul class=\"wp-block-list\">\n<li>\uc608: \uad11\uace0\ube44(X)\uac00 \uc99d\uac00\ud558\uba74 \ub9e4\ucd9c(Y)\uc774 \uc99d\uac00\ud558\ub294 \uacbd\uc6b0.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>\uc74c\uc758 \uc0c1\uad00\uad00\uacc4: X\uac00 \uc99d\uac00\ud558\uba74 Y\ub294 \uac10\uc18c\ud558\ub294 \ud328\ud134.\n<ul class=\"wp-block-list\">\n<li>\uc608: \uac00\uaca9(X)\uc774 \ub192\uc544\uc9c0\uba74 \ud310\ub9e4\ub7c9(Y)\uc774 \uac10\uc18c\ud558\ub294 \uacbd\uc6b0.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>\ubb34\uad00\uacc4: X\uc640 Y \uc0ac\uc774\uc5d0 \uc544\ubb34\ub7f0 \uad00\uacc4\uac00 \uc5c6\ub294 \uacbd\uc6b0.\n<ul class=\"wp-block-list\">\n<li>\uc608: \ud2b9\uc815 \uc9c0\uc5ed\uc758 \ub0a0\uc528\uc640 \ud574\ub2f9 \uc9c0\uc5ed\uc5d0\uc11c \uc18c\ube44\ub418\ub294 \uc778\ud130\ub137 \ud2b8\ub798\ud53d.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\ubd84\uc0b0\ud615 \ucc28\ud2b8\ub97c \ud1b5\ud574 \uc0c1\uad00\uad00\uacc4\ub97c \uc9c1\uad00\uc801\uc73c\ub85c \ud30c\uc545\ud560 \uc218 \uc788\uc73c\uba70, \uc774\ub97c \uae30\ubc18\uc73c\ub85c \ub354 \uae4a\uc740 \ub370\uc774\ud130 \ubd84\uc11d\uc744 \uc218\ud589\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">2. \ub370\uc774\ud130 \ubd84\ud3ec \ubc0f \uad70\uc9d1 \ud0d0\uc9c0<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\ub370\uc774\ud130 \uad70\uc9d1 \ud655\uc778<br>\ubd84\uc0b0\ud615 \ucc28\ud2b8\ub294 \ub370\uc774\ud130\uac00 \ud2b9\uc815 \uad6c\uac04\uc5d0 \uc9d1\uc911\ub418\uc5b4 \uc788\ub294\uc9c0(\uad70\uc9d1) \ud655\uc778\ud558\ub294 \ub370 \ud6a8\uacfc\uc801\uc785\ub2c8\ub2e4.\n<ul class=\"wp-block-list\">\n<li>\uc608: \uace0\uac1d \uc5f0\ub839\ub300(X)\uc640 \uad6c\ub9e4 \ube48\ub3c4(Y)\ub97c \uc0b0\uc810\ub3c4\ub85c \ud45c\ud604\ud588\uc744 \ub54c, \ud2b9\uc815 \uc5f0\ub839\ub300\uc758 \uace0\uac1d\uc774 \ub354 \uc790\uc8fc \uad6c\ub9e4\ud558\ub294 \ud328\ud134\uc744 \ubc1c\uacac\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>\uc774\uc0c1\uce58 \ud0d0\uc9c0(Outlier Detection)<br>\uc774\uc0c1\uce58 \ub370\uc774\ud130\ub294 \ub2e4\ub978 \ub370\uc774\ud130\uc640 \ud604\uc800\ud788 \ub2e4\ub978 \ud328\ud134\uc744 \ubcf4\uc785\ub2c8\ub2e4. \ubd84\uc0b0\ud615 \ucc28\ud2b8\uc5d0\uc11c \ub208\uc5d0 \ub744\ub294 \uc678\uacfd\uc758 \uc810\uc73c\ub85c \ud45c\uc2dc\ub418\ubbc0\ub85c, \uc774\uc0c1\uce58\ub97c \uc2dc\uac01\uc801\uc73c\ub85c \uc27d\uac8c \ud0d0\uc9c0\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">3. \ub370\uc774\ud130 \ubd84\ub958 \ubc0f \ubc94\uc8fc \uc2dc\uac01\ud654<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\ub370\uc774\ud130\uac00 \uc5ec\ub7ec \ubc94\uc8fc(Category)\ub85c \ub098\ub258\uc5b4 \uc788\uc744 \uacbd\uc6b0, \ubd84\uc0b0\ud615 \ucc28\ud2b8\ub294 \uc774\ub97c \ud6a8\uacfc\uc801\uc73c\ub85c \ud45c\ud604\ud569\ub2c8\ub2e4.\n<ul class=\"wp-block-list\">\n<li>\uc608: \uc81c\ud488 \uce74\ud14c\uace0\ub9ac(A, B, C)\uc5d0 \ub530\ub978 \ub9e4\ucd9c(X)\uacfc \uace0\uac1d \ub9cc\uc871\ub3c4(Y)\ub97c \uc0b0\uc810\ub3c4\ub85c \ud45c\ud604\ud558\uba74, \uac01 \uce74\ud14c\uace0\ub9ac\uc758 \ud2b9\uc131\uc744 \uc0c9\uc0c1\uc73c\ub85c \uad6c\ubd84\ud558\uc5ec \ud30c\uc545\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>\ubc94\uc8fc\ubcc4\ub85c \ub370\uc774\ud130 \ud328\ud134\uc744 \ubd84\uc11d\ud574, \ud2b9\uc815 \uce74\ud14c\uace0\ub9ac\uac00 \ub2e4\ub978 \uce74\ud14c\uace0\ub9ac\ubcf4\ub2e4 \ub354 \uc6b0\uc218\ud55c \uc131\uacfc\ub97c \ubcf4\uc774\ub294\uc9c0 \ud655\uc778\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">4. \ud68c\uadc0 \ubd84\uc11d \ubc0f \uc608\uce21 \ubaa8\ub378\ub9c1<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\ucd94\uc138\uc120 \ucd94\uac00: \ubd84\uc0b0\ud615 \ucc28\ud2b8\uc5d0 \ucd94\uc138\uc120\uc744 \ucd94\uac00\ud558\uba74 \ub370\uc774\ud130 \uac04\uc758 \uad00\uacc4\ub97c \ub354 \uba85\ud655\ud788 \ubd84\uc11d\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.\n<ul class=\"wp-block-list\">\n<li>\uc608: \uc8fc\uac70 \uc9c0\uc5ed(X)\uacfc \uc8fc\ud0dd \uac00\uaca9(Y)\uc744 \uc0b0\uc810\ub3c4\ub85c \ud45c\ud604\ud55c \ub4a4, \ucd94\uc138\uc120\uc744 \ucd94\uac00\ud574 \uc8fc\ud0dd \uac00\uaca9\uc758 \ubcc0\ud654\ub97c \uc2dc\uac01\ud654.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>\uc774\ub7ec\ud55c \ucd94\uc138\ub294 \uc608\uce21 \ubaa8\ub378\uc744 \uc124\uacc4\ud558\uac70\ub098, \ub370\uc774\ud130\ub97c \uae30\ubc18\uc73c\ub85c \ud55c \uc758\uc0ac \uacb0\uc815\uc744 \ub0b4\ub9ac\ub294 \ub370 \uc911\uc694\ud55c \ucc38\uace0 \uc790\ub8cc\uac00 \ub429\ub2c8\ub2e4.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">5. \ub9c8\ucf00\ud305 \ubc0f \uc131\uacfc \ubd84\uc11d<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\uace0\uac1d \ud589\ub3d9 \ubd84\uc11d\n<ul class=\"wp-block-list\">\n<li>\uace0\uac1d\uc758 \ub098\uc774(X)\uc640 \uc6d4\ubcc4 \uad6c\ub9e4 \ud69f\uc218(Y)\ub97c \ud45c\ud604\ud558\uc5ec, \uc5b4\ub5a4 \uc5f0\ub839\ub300\uc758 \uace0\uac1d\uc774 \uac00\uc7a5 \ud65c\ubc1c\ud558\uac8c \ud65c\ub3d9\ud558\ub294\uc9c0 \ud655\uc778.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>\uc131\uacfc \uc9c0\ud45c \ucd94\uc801\n<ul class=\"wp-block-list\">\n<li>\uad11\uace0 \ucea0\ud398\uc778\uc758 \ud074\ub9ad\ub960(X)\uacfc \uc804\ud658\uc728(Y)\uc744 \ud45c\ud604\ud574, \uc5b4\ub5a4 \uad11\uace0\uac00 \ub354 \ud070 \uc131\uacfc\ub97c \ubcf4\uc774\ub294\uc9c0 \ub370\uc774\ud130\ub85c \uc124\uba85\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">\uc815\ub9ac\ud558\uae30<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\uc774 \ud3ec\uc2a4\ud2b8\uc5d0\uc11c\ub294 \ubd84\uc0b0\ud615 \ucc28\ud2b8 \uadf8\ub9ac\uae30\ub97c Python\uc73c\ub85c \uad6c\ud604\ud558\uba70, \ub370\uc774\ud130\uc758 \uad00\uacc4\uc640 \ud328\ud134\uc744 \uc2dc\uac01\ud654\ud558\ub294 \ubc29\ubc95\uc744 \ubc30\uc6e0\uc2b5\ub2c8\ub2e4. \ucd94\uc138\uc120\uacfc \ubc94\uc8fc \uad6c\ubd84\uc744 \ud1b5\ud574 \ub370\uc774\ud130\ub97c \ub354 \uba85\ud655\ud788 \ubd84\uc11d\ud560 \uc218 \uc788\uc5c8\uc8e0.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\uc5ec\ub7ec\ubd84\ub3c4 \uc704 \ucf54\ub4dc\ub97c \ud65c\uc6a9\ud574 \ub2e4\uc591\ud55c \ub370\uc774\ud130\ub97c \uc2dc\uac01\ud654\ud574 \ubcf4\uc138\uc694! \ub370\uc774\ud130 \ubd84\uc11d\uc758 \uccab\uac78\uc74c\uc744 Python\uacfc \ud568\uaed8 \uc2dc\uc791\ud574 \ubcf4\ub294 \uac74 \uc5b4\ub5a8\uae4c\uc694? \ud55c \ubc1c\uc790\uad6d \ub354 \ub098\uc544\uac00\uc11c \ud30c\uc774\uc36c \uc2dc\uac01\ud654 \ub2a5\ub825\uc744 \ud0a4\uc6b0\uc2dc\ub824\uba74 <a href=\"https:\/\/secondlife.lol\/donut-chart-python-visualization\/\" data-type=\"post\" data-id=\"4014\">\ud30c\uc774\uc36c \uc2dc\uac01\ud654\ub85c \ubc30\uc6b0\ub294 \ub3c4\ub11b \ucc28\ud2b8 \uadf8\ub9ac\uae30\uc640 \uc911\ucca9 \ubc29\ubc95<\/a> \ud3ec\uc2a4\ud2b8\ub97c \ud655\uc778\ud574\ubcf4\uc138\uc694!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u60a8\u662f\u5426\u60f3\u4e00\u76ee\u4e86\u7136\u5730\u4e86\u89e3\u591a\u4e2a\u6570\u636e\u4e4b\u95f4\u7684\u5173\u7cfb\uff1f \u5982\u679c\u662f\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528\u5206\u5e03\u5f0f...<\/p>","protected":false},"author":3,"featured_media":4149,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","footnotes":""},"categories":[3],"tags":[162,34,657,177,164,656],"class_list":["post-4146","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-python-coding","tag-matplotlib","tag-python","tag-scatter-plot","tag-177","tag-164","tag-656"],"taxonomy_info":{"category":[{"value":3,"label":"\ud30c\uc774\uc36c(Python)"}],"post_tag":[{"value":162,"label":"Matplotlib"},{"value":34,"label":"python"},{"value":657,"label":"scatter plot"},{"value":177,"label":"\ub370\uc774\ud130 \ubd84\uc11d"},{"value":164,"label":"\ub370\uc774\ud130 \uc2dc\uac01\ud654"},{"value":656,"label":"\ubd84\uc0b0\ud615 \ucc28\ud2b8"}]},"featured_image_src_large":["https:\/\/secondlife.lol\/wp-content\/uploads\/2024\/12\/\ubd84\uc0b0\ud615-\ucc28\ud2b8-\ub9cc\ub4e4\uae30-\uc2dc\uac01\ud654-\ud3ec\uc2a4\ud2b8-\uc378\ub124\uc77c-600x600.jpg",600,600,true],"author_info":{"display_name":"TERE","author_link":"https:\/\/secondlife.lol\/zh\/author\/tere\/"},"comment_info":0,"category_info":[{"term_id":3,"name":"\ud30c\uc774\uc36c(Python)","slug":"python-coding","term_group":0,"term_taxonomy_id":3,"taxonomy":"category","description":"","parent":20,"count":119,"filter":"raw","cat_ID":3,"category_count":119,"category_description":"","cat_name":"\ud30c\uc774\uc36c(Python)","category_nicename":"python-coding","category_parent":20}],"tag_info":[{"term_id":162,"name":"Matplotlib","slug":"matplotlib","term_group":0,"term_taxonomy_id":162,"taxonomy":"post_tag","description":"","parent":0,"count":19,"filter":"raw"},{"term_id":34,"name":"python","slug":"python","term_group":0,"term_taxonomy_id":34,"taxonomy":"post_tag","description":"","parent":0,"count":22,"filter":"raw"},{"term_id":657,"name":"scatter plot","slug":"scatter-plot","term_group":0,"term_taxonomy_id":657,"taxonomy":"post_tag","description":"","parent":0,"count":1,"filter":"raw"},{"term_id":177,"name":"\ub370\uc774\ud130 \ubd84\uc11d","slug":"%eb%8d%b0%ec%9d%b4%ed%84%b0-%eb%b6%84%ec%84%9d","term_group":0,"term_taxonomy_id":177,"taxonomy":"post_tag","description":"","parent":0,"count":36,"filter":"raw"},{"term_id":164,"name":"\ub370\uc774\ud130 \uc2dc\uac01\ud654","slug":"%eb%8d%b0%ec%9d%b4%ed%84%b0-%ec%8b%9c%ea%b0%81%ed%99%94","term_group":0,"term_taxonomy_id":164,"taxonomy":"post_tag","description":"","parent":0,"count":52,"filter":"raw"},{"term_id":656,"name":"\ubd84\uc0b0\ud615 \ucc28\ud2b8","slug":"%eb%b6%84%ec%82%b0%ed%98%95-%ec%b0%a8%ed%8a%b8","term_group":0,"term_taxonomy_id":656,"taxonomy":"post_tag","description":"","parent":0,"count":1,"filter":"raw"}],"_links":{"self":[{"href":"https:\/\/secondlife.lol\/zh\/wp-json\/wp\/v2\/posts\/4146","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/secondlife.lol\/zh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/secondlife.lol\/zh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/secondlife.lol\/zh\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/secondlife.lol\/zh\/wp-json\/wp\/v2\/comments?post=4146"}],"version-history":[{"count":2,"href":"https:\/\/secondlife.lol\/zh\/wp-json\/wp\/v2\/posts\/4146\/revisions"}],"predecessor-version":[{"id":4151,"href":"https:\/\/secondlife.lol\/zh\/wp-json\/wp\/v2\/posts\/4146\/revisions\/4151"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/secondlife.lol\/zh\/wp-json\/wp\/v2\/media\/4149"}],"wp:attachment":[{"href":"https:\/\/secondlife.lol\/zh\/wp-json\/wp\/v2\/media?parent=4146"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/secondlife.lol\/zh\/wp-json\/wp\/v2\/categories?post=4146"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/secondlife.lol\/zh\/wp-json\/wp\/v2\/tags?post=4146"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}