{"id":30056,"date":"2024-10-28T03:19:23","date_gmt":"2024-10-28T03:19:23","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=30056"},"modified":"2024-11-26T06:50:12","modified_gmt":"2024-11-26T06:50:12","slug":"%eb%94%a5%eb%9f%ac%eb%8b%9d-%ed%8c%8c%ec%9d%b4%ed%86%a0%ec%b9%98-%ea%b0%95%ec%a2%8c-%ec%84%9c%ed%8f%ac%ed%8a%b8-%eb%b2%a1%ed%84%b0-%eb%a8%b8%ec%8b%a0","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/30056\/","title":{"rendered":"\ub525\ub7ec\ub2dd \ud30c\uc774\ud1a0\uce58 \uac15\uc88c, \uc11c\ud3ec\ud2b8 \ubca1\ud130 \uba38\uc2e0"},"content":{"rendered":"<p><body><\/p>\n<p>\uc774\ubc88 \uae00\uc5d0\uc11c\ub294 \uba38\uc2e0\ub7ec\ub2dd\uc758 \uc911\uc694\ud55c \uae30\ubc95\uc778 \uc11c\ud3ec\ud2b8 \ubca1\ud130 \uba38\uc2e0(Support Vector Machine, SVM)\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc54c\uc544\ubcf4\uace0, \uc774\ub97c \ud30c\uc774\ud1a0\uce58\ub97c \uc774\uc6a9\ud574\uc11c \uad6c\ud604\ud574\ubcf4\ub3c4\ub85d \ud558\uaca0\uc2b5\ub2c8\ub2e4. \uc11c\ud3ec\ud2b8 \ubca1\ud130 \uba38\uc2e0\uc740 \ud2b9\ud788 \ubd84\ub958 \ubb38\uc81c\uc5d0\uc11c \ub6f0\uc5b4\ub09c \uc131\ub2a5\uc744 \ubc1c\ud718\ud569\ub2c8\ub2e4. SVM\uc740 \ucd5c\ub300 \ub9c8\uc9c4 \uc6d0\uce59(maximum margin principle)\uc744 \uae30\ubc18\uc73c\ub85c \ud558\ub294 \ubd84\ub958 \uc54c\uace0\ub9ac\uc998\uc73c\ub85c, \uc8fc\ub85c \uc120\ud615 \ubd84\ub958\uae30(linear classifier)\ub85c \uc0ac\uc6a9\ub418\uc9c0\ub9cc, \ucee4\ub110 \uae30\ubc95(kernel trick)\uc744 \ud1b5\ud574 \ube44\uc120\ud615 \ub370\uc774\ud130\uc5d0 \ub300\ud574\uc11c\ub3c4 \ud6a8\uacfc\uc801\uc73c\ub85c \uc801\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>1. \uc11c\ud3ec\ud2b8 \ubca1\ud130 \uba38\uc2e0(SVM)\uc774\ub780?<\/h2>\n<p>\uc11c\ud3ec\ud2b8 \ubca1\ud130 \uba38\uc2e0\uc740 \ub450 \uac1c\uc758 \ud074\ub798\uc2a4 \uc0ac\uc774\ub97c \ubd84\ub9ac\ud558\ub294 \ucd5c\uc801\uc758 \ucd08\ud3c9\uba74(hyperplane)\uc744 \ucc3e\ub294 \uc54c\uace0\ub9ac\uc998\uc785\ub2c8\ub2e4. \uc5ec\uae30\uc11c &#8216;\ucd5c\uc801&#8217;\uc774\ub77c\ub294 \uac83\uc740 \ub9c8\uc9c4(margin)\uc744 \ucd5c\ub300\ud654\ud558\ub294 \uac83\uc744 \uc758\ubbf8\ud558\ub294\ub370, \ub9c8\uc9c4\uc740 \ucd08\ud3c9\uba74\uc5d0\uc11c \uac00\uc7a5 \uac00\uae4c\uc6b4 \ub370\uc774\ud130 \ud3ec\uc778\ud2b8(\uc11c\ud3ec\ud2b8 \ubca1\ud130)\uae4c\uc9c0\uc758 \uac70\ub9ac\ub97c \ub9d0\ud569\ub2c8\ub2e4. SVM\uc740 \uc774\ub7ec\ud55c \ub9c8\uc9c4\uc744 \ucd5c\ub300\ud654\ud558\uc5ec, \uc8fc\uc5b4\uc9c4 \ub370\uc774\ud130\uc5d0 \ub300\ud574 \uc77c\ubc18\ud654 \ub2a5\ub825\uc744 \ub192\uc774\ub3c4\ub85d \uc124\uacc4\ub418\uc5c8\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>1.1. SVM\uc758 \uae30\ubcf8 \uc6d0\ub9ac<\/h3>\n<p>SVM\uc758 \uae30\ubcf8 \ub3d9\uc791 \uc6d0\ub9ac\ub294 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4:<\/p>\n<ol>\n<li>\uc11c\ud3ec\ud2b8 \ubca1\ud130: \ub370\uc774\ud130 \ud3ec\uc778\ud2b8 \uc911\uc5d0\uc11c \ucd08\ud3c9\uba74\uc5d0 \uac00\uc7a5 \uac00\uae4c\uc6b4 \ub370\uc774\ud130 \ud3ec\uc778\ud2b8\ub97c \uc11c\ud3ec\ud2b8 \ubca1\ud130\ub77c\uace0 \ud569\ub2c8\ub2e4.<\/li>\n<li>\ucd08\ud3c9\uba74: \uc8fc\uc5b4\uc9c4 \ub450 \ud074\ub798\uc2a4 \ub370\uc774\ud130\ub97c \ubd84\ub9ac\ud558\ub294 \uc120\ud615 \uacb0\uc815 \uacbd\uacc4\ub97c \uc0dd\uc131\ud569\ub2c8\ub2e4.<\/li>\n<li>\ub9c8\uc9c4: \ucd08\ud3c9\uba74\uacfc \uc11c\ud3ec\ud2b8 \ubca1\ud130 \uac04\uc758 \ucd5c\ub300 \uac70\ub9ac\ub97c \ucd5c\uc801\ud654\ud558\uc5ec \ubd84\ub958 \ub2a5\ub825\uc744 \ud5a5\uc0c1\uc2dc\ud0b5\ub2c8\ub2e4.<\/li>\n<li>\ucee4\ub110 \ud2b8\ub9ad: SVM\uc5d0\uc11c \ube44\uc120\ud615 \ubd84\ub9ac \ubb38\uc81c\ub97c \ud574\uacb0\ud558\uae30 \uc704\ud574 \uace0\uc548\ub41c \uae30\ubc95\uc785\ub2c8\ub2e4. \uc774\ub97c \ud1b5\ud574 \uace0\ucc28\uc6d0 \ub370\uc774\ud130\ub85c \ub9e4\ud551\ud558\uc5ec \uc120\ud615 \ubd84\ub9ac\ub97c \uac00\ub2a5\ud558\uac8c \ud569\ub2c8\ub2e4.<\/li>\n<\/ol>\n<h2>2. SVM\uc758 \uc218\ud559\uc801 \ubc30\uacbd<\/h2>\n<p>SVM\uc758 \uae30\ubcf8 \ubaa9\ud45c\ub294 \ub2e4\uc74c\uacfc \uac19\uc740 \ucd5c\uc801\ud654 \ubb38\uc81c\ub97c \ud574\uacb0\ud558\ub294 \uac83\uc785\ub2c8\ub2e4:<\/p>\n<h3>2.1. \ucd5c\uc801\ud654 \ubb38\uc81c \uc124\uc815<\/h3>\n<p>\uc8fc\uc5b4\uc9c4 \ub370\uc774\ud130\uac00 <code>(x_i, y_i)<\/code> \ud615\ud0dc\ub85c \uc788\uc744 \ub54c, \uc5ec\uae30\uc11c <code>x_i<\/code>\ub294 \uc785\ub825 \ub370\uc774\ud130\uc774\uace0 <code>y_i<\/code>\ub294 \ud074\ub798\uc2a4 \ub808\uc774\ube14(1 \ub610\ub294 -1)\uc785\ub2c8\ub2e4. SVM\uc740 \ub2e4\uc74c\uacfc \uac19\uc740 \ucd5c\uc801\ud654 \ubb38\uc81c\ub97c \uc124\uc815\ud569\ub2c8\ub2e4:<\/p>\n<pre><code>minimize (1\/2) ||w||^2\nsubject to y_i (w * x_i + b) &gt;= 1<\/code><\/pre>\n<p>\uc5ec\uae30\uc11c <code>w<\/code>\ub294 \ucd08\ud3c9\uba74\uc758 \uae30\uc6b8\uae30 \ubca1\ud130, <code>b<\/code>\ub294 \uc808\ud3b8(bias)\uc744 \uc758\ubbf8\ud569\ub2c8\ub2e4. \uc704\uc758 \uc2dd\uc740 \ucd5c\uc801\uc758 \uacbd\uacc4\ub97c \uc815\uc758\ud558\uace0 \ub9c8\uc9c4\uc744 \ucd5c\ub300\ud654\ud558\ub294 \uac83\uc785\ub2c8\ub2e4.<\/p>\n<h3>2.2. \ucee4\ub110 \uae30\ubc95<\/h3>\n<p>\ube44\uc120\ud615 \ub370\uc774\ud130\ub97c \ub2e4\ub8e8\uae30 \uc704\ud574 SVM\uc740 \ucee4\ub110 \ud568\uc218\ub97c \uc0ac\uc6a9\ud569\ub2c8\ub2e4. \ucee4\ub110 \ud568\uc218\ub294 \ub370\uc774\ud130\ub97c \uace0\ucc28\uc6d0 \uacf5\uac04\uc73c\ub85c \ub9e4\ud551\ud558\uc5ec \uc11c\ub85c \ubd84\ub9ac \uac00\ub2a5\ud55c \ud615\ud0dc\ub85c \ubcc0\ud658\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4. \uc790\uc8fc \uc0ac\uc6a9\ub418\ub294 \ucee4\ub110 \ud568\uc218\ub294 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4:<\/p>\n<ul>\n<li>\uc120\ud615 \ucee4\ub110: <code>K(x, x') = x * x'<\/code><\/li>\n<li>\ub2e4\ud56d\uc2dd \ucee4\ub110: <code>K(x, x') = (alpha * (x * x') + c)^d<\/code><\/li>\n<li>\uac00\uc6b0\uc2dc\uc548 RBF \ucee4\ub110: <code>K(x, x') = exp(-gamma * ||x - x'||^2)<\/code><\/li>\n<\/ul>\n<h2>3. PyTorch\ub85c SVM \uad6c\ud604\ud558\uae30<\/h2>\n<p>\uc774\uc81c PyTorch\ub97c \uc0ac\uc6a9\ud558\uc5ec SVM\uc744 \uad6c\ud604\ud574\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. PyTorch\ub294 \ub525\ub7ec\ub2dd \ud504\ub808\uc784\uc6cc\ud06c\uc774\uc9c0\ub9cc, \uc218\uce58 \uacc4\uc0b0\uc774 \uac00\ub2a5\ud558\uae30 \ub54c\ubb38\uc5d0 SVM\uacfc \uac19\uc740 \uc54c\uace0\ub9ac\uc998\ub3c4 \uc27d\uac8c \uad6c\ud604\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ub2e4\uc74c \ub2e8\uacc4\ub85c \uc9c4\ud589\ud558\uaca0\uc2b5\ub2c8\ub2e4:<\/p>\n<h3>3.1. \ud328\ud0a4\uc9c0 \uc124\uce58 \ubc0f \ub370\uc774\ud130 \uc900\ube44<\/h3>\n<p>\uba3c\uc800 \ud544\uc694\ud55c \ud328\ud0a4\uc9c0\ub97c \uc124\uce58\ud558\uace0, \uc0ac\uc6a9\ud560 \ub370\uc774\ud130\ub97c \uc0dd\uc131\ud569\ub2c8\ub2e4.<\/p>\n<pre><code>import torch\nimport numpy as np\nimport matplotlib.pyplot as plt\nfrom sklearn.datasets import make_moons\nfrom sklearn.model_selection import train_test_split\n\n# \ub370\uc774\ud130 \uc0dd\uc131\nX, y = make_moons(n_samples=100, noise=0.1, random_state=42)\ny = np.where(y == 0, -1, 1)  # \ub808\uc774\ube14\uc744 -1\uacfc 1\ub85c \ubcc0\ud658\n\n# \ub370\uc774\ud130 \ubd84\ud560\nX_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.2, random_state=42)\n\n# \ub370\uc774\ud130 \ud150\uc11c \ubcc0\ud658\nX_train_tensor = torch.FloatTensor(X_train)\ny_train_tensor = torch.FloatTensor(y_train)\nX_test_tensor = torch.FloatTensor(X_test)\ny_test_tensor = torch.FloatTensor(y_test)<\/code><\/pre>\n<h3>3.2. SVM \ubaa8\ub378 \uad6c\ucd95<\/h3>\n<p>\uc774\uc81c SVM \ubaa8\ub378\uc744 \uad6c\ucd95\ud558\uaca0\uc2b5\ub2c8\ub2e4. \ubaa8\ub378\uc740 \uc785\ub825 \ub370\uc774\ud130\uc640 \ub808\uc774\ube14\uc744 \uc774\uc6a9\ud558\uc5ec \uac00\uc911\uce58 <code>w<\/code>\uc640 \uc808\ud3b8 <code>b<\/code>\ub97c \ud559\uc2b5\ud569\ub2c8\ub2e4.<\/p>\n<pre><code>class SVM(torch.nn.Module):\n    def __init__(self):\n        super(SVM, self).__init__()\n        self.w = torch.nn.Parameter(torch.randn(2, requires_grad=True))\n        self.b = torch.nn.Parameter(torch.randn(1, requires_grad=True))\n    \n    def forward(self, x):\n        return torch.matmul(x, self.w) + self.b\n    \n    def hinge_loss(self, y, output):\n        return torch.mean(torch.clamp(1 - y * output, min=0))<\/code><\/pre>\n<h3>3.3. \ud2b8\ub808\uc774\ub2dd \ubc0f \ud14c\uc2a4\ud2b8<\/h3>\n<p>\ubaa8\ub378\uc744 \ud559\uc2b5\ud558\uae30 \uc804\uc5d0 \uc635\ud2f0\ub9c8\uc774\uc800\uc640 \ud559\uc2b5\ub960\uc744 \uc124\uc815\ud569\ub2c8\ub2e4.<\/p>\n<pre><code># \ud558\uc774\ud37c\ud30c\ub77c\ubbf8\ud130 \uc124\uc815\nlearning_rate = 0.01\nnum_epochs = 1000\n\nmodel = SVM()\noptimizer = torch.optim.SGD(model.parameters(), lr=learning_rate)\n\n# \ud559\uc2b5 \uacfc\uc815\nfor epoch in range(num_epochs):\n    optimizer.zero_grad()\n    \n    # \ubaa8\ub378 \uc608\uce21\n    output = model(X_train_tensor)\n    \n    # \uc190\uc2e4 \uacc4\uc0b0 (Hinge Loss)\n    loss = model.hinge_loss(y_train_tensor, output)\n    \n    # \uc5ed\uc804\ud30c\n    loss.backward()\n    optimizer.step()\n\n    if (epoch+1) % 100 == 0:\n        print(f'Epoch [{epoch+1}\/{num_epochs}], Loss: {loss.item():.4f}')<\/code><\/pre>\n<h3>3.4. \uacb0\uacfc \uc2dc\uac01\ud654<\/h3>\n<p>\ubaa8\ub378 \ud559\uc2b5\uc774 \uc644\ub8cc\ub418\uba74, \uacb0\uc815 \uacbd\uacc4\ub97c \uc2dc\uac01\ud654\ud558\uc5ec \ubaa8\ub378\uc758 \uc131\ub2a5\uc744 \ud3c9\uac00\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<pre><code># \uacb0\uc815 \uacbd\uacc4 \uc2dc\uac01\ud654\ndef plot_decision_boundary(model, X, y):\n    x_min, x_max = X[:, 0].min() - 1, X[:, 0].max() + 1\n    y_min, y_max = X[:, 1].min() - 1, X[:, 1].max() + 1\n    xx, yy = np.meshgrid(np.linspace(x_min, x_max, 100), np.linspace(y_min, y_max, 100))\n    grid = torch.FloatTensor(np.c_[xx.ravel(), yy.ravel()])\n    \n    with torch.no_grad():\n        model.eval()\n        Z = model(grid)\n        Z = Z.view(xx.shape)\n        plt.contourf(xx, yy, Z.data.numpy(), levels=50, alpha=0.5)\n    \n    plt.scatter(X[:, 0], X[:, 1], c=y, s=20, edgecolor='k')\n    plt.title(\"SVM Decision Boundary\")\n    plt.xlabel(\"Feature 1\")\n    plt.ylabel(\"Feature 2\")\n    plt.show()\n\nplot_decision_boundary(model, X, y)<\/code><\/pre>\n<h2>4. SVM\uc758 \uc7a5\ub2e8\uc810<\/h2>\n<p>SVM\uc740 \ub180\ub77c\uc6b4 \uc131\ub2a5\uc744 \ubc1c\ud718\ud558\uc9c0\ub9cc, \ubaa8\ub4e0 \uc54c\uace0\ub9ac\uc998\uacfc \ub9c8\ucc2c\uac00\uc9c0\ub85c \uc7a5\ub2e8\uc810\uc774 \uc874\uc7ac\ud569\ub2c8\ub2e4.<\/p>\n<h3>4.1. \uc7a5\uc810<\/h3>\n<ul>\n<li>\uace0\ucc28\uc6d0 \ub370\uc774\ud130\uc5d0 \ub300\ud574 \ud6a8\uacfc\uc801\uc785\ub2c8\ub2e4.<\/li>\n<li>\ub9c8\uc9c4 \ucd5c\uc801\ud654\ub85c \uc778\ud574 \uc77c\ubc18\ud654 \uc131\ub2a5\uc774 \uc6b0\uc218\ud569\ub2c8\ub2e4.<\/li>\n<li>\ube44\uc120\ud615 \ubd84\ub958\ub97c \uc704\ud55c \ub2e4\uc591\ud55c \ucee4\ub110 \ubc29\ubc95\uc774 \uc874\uc7ac\ud569\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h3>4.2. \ub2e8\uc810<\/h3>\n<ul>\n<li>\ud070 \ub370\uc774\ud130\uc14b\uc5d0 \ub300\ud574\uc11c\ub294 \ud559\uc2b5 \uc2dc\uac04\uc774 \uae38\uc5b4\uc9c8 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<li>C\uc640 \u03b3\ub97c \uc798 \uc870\uc808\ud574\uc57c \uc131\ub2a5\uc774 \uc88b\uc544\uc9d1\ub2c8\ub2e4.<\/li>\n<li>\uba54\ubaa8\ub9ac \ubc0f \uacc4\uc0b0 \ubcf5\uc7a1\ub3c4\uac00 \ub192\uc544\uc9c8 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h2>5. \uacb0\ub860<\/h2>\n<p>\uc11c\ud3ec\ud2b8 \ubca1\ud130 \uba38\uc2e0\uc740 \uac15\ub825\ud55c \uc131\ub2a5\uc744 \uac00\uc9c4 \ubd84\ub958 \uc54c\uace0\ub9ac\uc998\uc73c\ub85c, \ud2b9\ud788 \ud68c\uadc0\uac00 \uc544\ub2cc \ubd84\ub958 \ubb38\uc81c\uc5d0\uc11c \ub9e4\uc6b0 \uc720\uc6a9\ud558\uac8c \uc0ac\uc6a9\ub420 \uc218 \uc788\uc2b5\ub2c8\ub2e4. PyTorch\ub97c \ud65c\uc6a9\ud558\uc5ec SVM\uc744 \uad6c\ud604\ud574\ubcf4\uba70, \uae30\uacc4 \ud559\uc2b5\uc758 \uae30\ucd08\uc801\uc778 \uac1c\ub150\uc744 \ub2e4\uc2dc \ud55c\ubc88 \ub418\uc0c8\uae30\ub294 \uae30\ud68c\uac00 \ub418\uc5c8\uae30\ub97c \ubc14\ub78d\ub2c8\ub2e4. \ub354 \ub098\uc544\uac00 SVM\uc744 \ud65c\uc6a9\ud55c \uc2e4\uc804 \ud504\ub85c\uc81d\ud2b8\ub098 \uc5f0\uad6c\ub85c \ub098\uc544\uac08 \uc218 \uc788\ub294 \ubc1c\ud310\uc774 \ub418\uc5c8\uc73c\uba74 \uc88b\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>6. References<\/h2>\n<ul>\n<li>Vapnik, V. (1998). Statistical Learning Theory. John Wiley &amp; Sons.<\/li>\n<li>Bishop, C. M. (2006). Pattern Recognition and Machine Learning. Springer.<\/li>\n<li>Russell, S. &amp; Norvig, P. (2010). Artificial Intelligence: A Modern Approach. Prentice Hall.<\/li>\n<\/ul>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\uc774\ubc88 \uae00\uc5d0\uc11c\ub294 \uba38\uc2e0\ub7ec\ub2dd\uc758 \uc911\uc694\ud55c \uae30\ubc95\uc778 \uc11c\ud3ec\ud2b8 \ubca1\ud130 \uba38\uc2e0(Support Vector Machine, SVM)\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc54c\uc544\ubcf4\uace0, \uc774\ub97c \ud30c\uc774\ud1a0\uce58\ub97c \uc774\uc6a9\ud574\uc11c \uad6c\ud604\ud574\ubcf4\ub3c4\ub85d \ud558\uaca0\uc2b5\ub2c8\ub2e4. \uc11c\ud3ec\ud2b8 \ubca1\ud130 \uba38\uc2e0\uc740 \ud2b9\ud788 \ubd84\ub958 \ubb38\uc81c\uc5d0\uc11c \ub6f0\uc5b4\ub09c \uc131\ub2a5\uc744 \ubc1c\ud718\ud569\ub2c8\ub2e4. SVM\uc740 \ucd5c\ub300 \ub9c8\uc9c4 \uc6d0\uce59(maximum margin principle)\uc744 \uae30\ubc18\uc73c\ub85c \ud558\ub294 \ubd84\ub958 \uc54c\uace0\ub9ac\uc998\uc73c\ub85c, \uc8fc\ub85c \uc120\ud615 \ubd84\ub958\uae30(linear classifier)\ub85c \uc0ac\uc6a9\ub418\uc9c0\ub9cc, \ucee4\ub110 \uae30\ubc95(kernel trick)\uc744 \ud1b5\ud574 \ube44\uc120\ud615 \ub370\uc774\ud130\uc5d0 \ub300\ud574\uc11c\ub3c4 \ud6a8\uacfc\uc801\uc73c\ub85c \uc801\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. 1. &hellip; <a href=\"https:\/\/atmokpo.com\/w\/30056\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;\ub525\ub7ec\ub2dd \ud30c\uc774\ud1a0\uce58 \uac15\uc88c, \uc11c\ud3ec\ud2b8 \ubca1\ud130 \uba38\uc2e0&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[33],"tags":[],"class_list":["post-30056","post","type-post","status-publish","format-standard","hentry","category-33"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\ub525\ub7ec\ub2dd \ud30c\uc774\ud1a0\uce58 \uac15\uc88c, \uc11c\ud3ec\ud2b8 \ubca1\ud130 \uba38\uc2e0 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/atmokpo.com\/w\/30056\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\ub525\ub7ec\ub2dd \ud30c\uc774\ud1a0\uce58 \uac15\uc88c, \uc11c\ud3ec\ud2b8 \ubca1\ud130 \uba38\uc2e0 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"\uc774\ubc88 \uae00\uc5d0\uc11c\ub294 \uba38\uc2e0\ub7ec\ub2dd\uc758 \uc911\uc694\ud55c \uae30\ubc95\uc778 \uc11c\ud3ec\ud2b8 \ubca1\ud130 \uba38\uc2e0(Support Vector Machine, SVM)\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc54c\uc544\ubcf4\uace0, \uc774\ub97c \ud30c\uc774\ud1a0\uce58\ub97c \uc774\uc6a9\ud574\uc11c \uad6c\ud604\ud574\ubcf4\ub3c4\ub85d \ud558\uaca0\uc2b5\ub2c8\ub2e4. \uc11c\ud3ec\ud2b8 \ubca1\ud130 \uba38\uc2e0\uc740 \ud2b9\ud788 \ubd84\ub958 \ubb38\uc81c\uc5d0\uc11c \ub6f0\uc5b4\ub09c \uc131\ub2a5\uc744 \ubc1c\ud718\ud569\ub2c8\ub2e4. SVM\uc740 \ucd5c\ub300 \ub9c8\uc9c4 \uc6d0\uce59(maximum margin principle)\uc744 \uae30\ubc18\uc73c\ub85c \ud558\ub294 \ubd84\ub958 \uc54c\uace0\ub9ac\uc998\uc73c\ub85c, \uc8fc\ub85c \uc120\ud615 \ubd84\ub958\uae30(linear classifier)\ub85c \uc0ac\uc6a9\ub418\uc9c0\ub9cc, \ucee4\ub110 \uae30\ubc95(kernel trick)\uc744 \ud1b5\ud574 \ube44\uc120\ud615 \ub370\uc774\ud130\uc5d0 \ub300\ud574\uc11c\ub3c4 \ud6a8\uacfc\uc801\uc73c\ub85c \uc801\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. 1. &hellip; \ub354 \ubcf4\uae30 &quot;\ub525\ub7ec\ub2dd \ud30c\uc774\ud1a0\uce58 \uac15\uc88c, \uc11c\ud3ec\ud2b8 \ubca1\ud130 \uba38\uc2e0&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/30056\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-10-28T03:19:23+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T06:50:12+00:00\" \/>\n<meta name=\"author\" content=\"root\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:site\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:label1\" content=\"\uae00\uc4f4\uc774\" \/>\n\t<meta name=\"twitter:data1\" content=\"root\" \/>\n\t<meta name=\"twitter:label2\" content=\"\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04\" \/>\n\t<meta name=\"twitter:data2\" content=\"2\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/atmokpo.com\/w\/30056\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/30056\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"\ub525\ub7ec\ub2dd \ud30c\uc774\ud1a0\uce58 \uac15\uc88c, \uc11c\ud3ec\ud2b8 \ubca1\ud130 \uba38\uc2e0\",\"datePublished\":\"2024-10-28T03:19:23+00:00\",\"dateModified\":\"2024-11-26T06:50:12+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/30056\/\"},\"wordCount\":71,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"\ud30c\uc774\ud1a0\uce58 \uac15\uc88c\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/30056\/\",\"url\":\"https:\/\/atmokpo.com\/w\/30056\/\",\"name\":\"\ub525\ub7ec\ub2dd \ud30c\uc774\ud1a0\uce58 \uac15\uc88c, \uc11c\ud3ec\ud2b8 \ubca1\ud130 \uba38\uc2e0 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-10-28T03:19:23+00:00\",\"dateModified\":\"2024-11-26T06:50:12+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/30056\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/30056\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/30056\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\ub525\ub7ec\ub2dd \ud30c\uc774\ud1a0\uce58 \uac15\uc88c, \uc11c\ud3ec\ud2b8 \ubca1\ud130 \uba38\uc2e0\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/atmokpo.com\/w\/#website\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/atmokpo.com\/w\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"contentUrl\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"width\":400,\"height\":400,\"caption\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\"},\"image\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/bebubo4\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\",\"name\":\"root\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"caption\":\"root\"},\"sameAs\":[\"http:\/\/atmokpo.com\/w\"],\"url\":\"https:\/\/atmokpo.com\/w\/author\/root\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\ub525\ub7ec\ub2dd \ud30c\uc774\ud1a0\uce58 \uac15\uc88c, \uc11c\ud3ec\ud2b8 \ubca1\ud130 \uba38\uc2e0 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/atmokpo.com\/w\/30056\/","og_locale":"ko_KR","og_type":"article","og_title":"\ub525\ub7ec\ub2dd \ud30c\uc774\ud1a0\uce58 \uac15\uc88c, \uc11c\ud3ec\ud2b8 \ubca1\ud130 \uba38\uc2e0 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"\uc774\ubc88 \uae00\uc5d0\uc11c\ub294 \uba38\uc2e0\ub7ec\ub2dd\uc758 \uc911\uc694\ud55c \uae30\ubc95\uc778 \uc11c\ud3ec\ud2b8 \ubca1\ud130 \uba38\uc2e0(Support Vector Machine, SVM)\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc54c\uc544\ubcf4\uace0, \uc774\ub97c \ud30c\uc774\ud1a0\uce58\ub97c \uc774\uc6a9\ud574\uc11c \uad6c\ud604\ud574\ubcf4\ub3c4\ub85d \ud558\uaca0\uc2b5\ub2c8\ub2e4. \uc11c\ud3ec\ud2b8 \ubca1\ud130 \uba38\uc2e0\uc740 \ud2b9\ud788 \ubd84\ub958 \ubb38\uc81c\uc5d0\uc11c \ub6f0\uc5b4\ub09c \uc131\ub2a5\uc744 \ubc1c\ud718\ud569\ub2c8\ub2e4. SVM\uc740 \ucd5c\ub300 \ub9c8\uc9c4 \uc6d0\uce59(maximum margin principle)\uc744 \uae30\ubc18\uc73c\ub85c \ud558\ub294 \ubd84\ub958 \uc54c\uace0\ub9ac\uc998\uc73c\ub85c, \uc8fc\ub85c \uc120\ud615 \ubd84\ub958\uae30(linear classifier)\ub85c \uc0ac\uc6a9\ub418\uc9c0\ub9cc, \ucee4\ub110 \uae30\ubc95(kernel trick)\uc744 \ud1b5\ud574 \ube44\uc120\ud615 \ub370\uc774\ud130\uc5d0 \ub300\ud574\uc11c\ub3c4 \ud6a8\uacfc\uc801\uc73c\ub85c \uc801\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. 1. &hellip; \ub354 \ubcf4\uae30 \"\ub525\ub7ec\ub2dd \ud30c\uc774\ud1a0\uce58 \uac15\uc88c, \uc11c\ud3ec\ud2b8 \ubca1\ud130 \uba38\uc2e0\"","og_url":"https:\/\/atmokpo.com\/w\/30056\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-10-28T03:19:23+00:00","article_modified_time":"2024-11-26T06:50:12+00:00","author":"root","twitter_card":"summary_large_image","twitter_creator":"@bebubo4","twitter_site":"@bebubo4","twitter_misc":{"\uae00\uc4f4\uc774":"root","\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04":"2\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/atmokpo.com\/w\/30056\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/30056\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"\ub525\ub7ec\ub2dd \ud30c\uc774\ud1a0\uce58 \uac15\uc88c, \uc11c\ud3ec\ud2b8 \ubca1\ud130 \uba38\uc2e0","datePublished":"2024-10-28T03:19:23+00:00","dateModified":"2024-11-26T06:50:12+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/30056\/"},"wordCount":71,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["\ud30c\uc774\ud1a0\uce58 \uac15\uc88c"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/30056\/","url":"https:\/\/atmokpo.com\/w\/30056\/","name":"\ub525\ub7ec\ub2dd \ud30c\uc774\ud1a0\uce58 \uac15\uc88c, \uc11c\ud3ec\ud2b8 \ubca1\ud130 \uba38\uc2e0 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-10-28T03:19:23+00:00","dateModified":"2024-11-26T06:50:12+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/30056\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/30056\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/30056\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"\ub525\ub7ec\ub2dd \ud30c\uc774\ud1a0\uce58 \uac15\uc88c, \uc11c\ud3ec\ud2b8 \ubca1\ud130 \uba38\uc2e0"}]},{"@type":"WebSite","@id":"https:\/\/atmokpo.com\/w\/#website","url":"https:\/\/atmokpo.com\/w\/","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","description":"","publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/atmokpo.com\/w\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Organization","@id":"https:\/\/atmokpo.com\/w\/#organization","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","url":"https:\/\/atmokpo.com\/w\/","logo":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/","url":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","contentUrl":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","width":400,"height":400,"caption":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8"},"image":{"@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/bebubo4"]},{"@type":"Person","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7","name":"root","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","caption":"root"},"sameAs":["http:\/\/atmokpo.com\/w"],"url":"https:\/\/atmokpo.com\/w\/author\/root\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/30056","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/comments?post=30056"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/30056\/revisions"}],"predecessor-version":[{"id":30057,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/30056\/revisions\/30057"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=30056"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=30056"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=30056"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}