<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>달리는 말킹</title>
    <link>https://runninghorseking.tistory.com/</link>
    <description>히이이이잉~</description>
    <language>ko</language>
    <pubDate>Sun, 14 Jun 2026 15:18:35 +0900</pubDate>
    <generator>TISTORY</generator>
    <ttl>100</ttl>
    <managingEditor>말킹</managingEditor>
    <item>
      <title>SOA/ASA/PA 기출 및 내용정리 - 20.06시험(기록용)</title>
      <link>https://runninghorseking.tistory.com/88</link>
      <description>&lt;p data-ke-size=&quot;size16&quot;&gt;&lt;b&gt;Task5 Perform a principal components analysis&lt;/b&gt;&lt;/p&gt;
&lt;p style=&quot;color: #333333; text-align: start;&quot; data-ke-size=&quot;size16&quot;&gt;&amp;nbsp; Principal components analysis is a method to summarize high dimensional numeric data with fewer dimensions while preserving the spread of the data. It can be particularly helpful when variables are highly correlated. PCA finds orthogonal linear combinations of the input variables (which are typically centered and scaled) called principal components (PCs) that maximize variance to retain as much information as possible. The principal components are ordered according to their variance. The sum of their variances is the total variance explained. It is then common to look at the proportion of variance explained by each principal component to decide how many PCs to use.&lt;/p&gt;
&lt;p style=&quot;color: #333333; text-align: start;&quot; data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;Advantages&lt;/p&gt;
&lt;p style=&quot;color: #333333; text-align: start;&quot; data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;PCA could allow us to build a simpler model with fewer features. PCA can help visualize high-dimensional data to explore relationships between variables. PCA can help identify latent variables.&lt;/p&gt;
&lt;p style=&quot;color: #333333; text-align: start;&quot; data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;Disadvantages&lt;/p&gt;
&lt;p style=&quot;color: #333333; text-align: start;&quot; data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;Using a subset of the principal components results in some information loss. The principal components will be less interpretable than the original variable inputs. Although PCA reduces dimensionality in the model, the original variables must still be collected for future predictions, so no efficiency is obtained.&lt;/p&gt;
&lt;p style=&quot;color: #333333; text-align: start;&quot; data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style=&quot;color: #333333; text-align: start;&quot; data-ke-size=&quot;size16&quot;&gt;&lt;b&gt;Task6 Construct a decision tree&lt;/b&gt;&lt;/p&gt;
&lt;p style=&quot;color: #333333; text-align: start;&quot; data-ke-size=&quot;size16&quot;&gt;&amp;nbsp; When a decision tree is trained, it can become very large and include splits that are not particularly valuable for predictions on new data. When examining the fit of a tree, it is a good idea to try to prune a tree when it has many splits that do not improve performance. Pruning reduces the size of the tree, hopefully removing less valuable splits from the tree. This process reduces overfitting the tree on the training data, can lead to better predictions, and results in a simpler, more interpretable tree.&lt;/p&gt;
&lt;p style=&quot;color: #333333; text-align: start;&quot; data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style=&quot;color: #333333; text-align: start;&quot; data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style=&quot;color: #333333; text-align: start;&quot; data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style=&quot;color: #333333; text-align: start;&quot; data-ke-size=&quot;size16&quot;&gt;&lt;b&gt;Task9 Discuss the bias-variance tradeoff&lt;/b&gt;&lt;/p&gt;
&lt;p style=&quot;color: #333333; text-align: start;&quot; data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;Bias is the expected loss caused by the model not being complex enough to capture the signal in the data. Variance is the expected loss from the model being too complex and overfitting to the training data.&lt;/p&gt;
&lt;p style=&quot;color: #333333; text-align: start;&quot; data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;With high variance (overfitting), the model will perform better on the training set than on a test set. With high bias (underfitting), the model will perform poorly on both the training set and the test set.&lt;/p&gt;
&lt;p style=&quot;color: #333333; text-align: start;&quot; data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;</description>
      <category>SOA/PA</category>
      <category>ASA</category>
      <category>bias</category>
      <category>bias-variance tradeoff</category>
      <category>Decision Tree</category>
      <category>pa</category>
      <category>PCA</category>
      <category>SOA</category>
      <category>Variance</category>
      <author>말킹</author>
      <guid isPermaLink="true">https://runninghorseking.tistory.com/88</guid>
      <comments>https://runninghorseking.tistory.com/88#entry88comment</comments>
      <pubDate>Sat, 13 Apr 2024 16:24:25 +0900</pubDate>
    </item>
    <item>
      <title>SOA/ASA/PA 기출 및 내용정리 - 19.12.12시험(기록용)</title>
      <link>https://runninghorseking.tistory.com/87</link>
      <description>&lt;p data-ke-size=&quot;size16&quot;&gt;&lt;b&gt;Task2 Construct a classification tree&lt;/b&gt;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;Split the data in to training(70%) and testing (30%) sets.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;Alter the minbucket, cp, maxdepth parameters. Each of these parameters can be used to prevent overfitting. The &lt;b&gt;&quot;minbucket&quot;&lt;/b&gt; parameter sets the smallest size for any leaf node in the tree. The &lt;b&gt;&quot;cp&quot;&lt;/b&gt; paramter sets the minimum improvement needed in order to make a split. The &lt;b&gt;&quot;maxdepth&quot;&lt;/b&gt; parameter sets the minimum number of levels for the splits.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;Estimate the cp parameter using cross-validation. Dividing the training data up into folds, training the model on all but one of the folds, and measuring the performance on the remaining fold. This process is repeated to develop a distribution of performance values for a given cp value. The cp value that yields the best accuracy is then selected.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&lt;b&gt;Task3 Construct a random forest&lt;/b&gt;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;Generally, variables that are used to make splits more frequently and earlier in the trees in the random forest are determined to be more important.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&lt;b&gt;Task4 &amp;nbsp;Consider a boosted tree&lt;/b&gt;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp; Random forests use bagging to produce many independent trees. When a split is to be considered, only a randomly selected subset of variables is considered. each tree is built from a bootstrap sample from the data. This approach is designed to reduce overfitting, which is likely when a single tree is used.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;Boosted trees are built sequentially. A first tree is built in the usual way. Then another tree is fit to the residuals (errors) and is added to the first tree. This allows the second tree to focus on observations on which the first tree performed poorly. Additional trees are then added with cross-validation used to decide when to stop (and prevent overfitting).&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;Both random forests and boosted trees are ensemble methods, which means that rather than creating a single tree, many trees are produced. Neither method is transparent, so they require variable importance measures to understand the extent to which input variable is used.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;Random forests do not use the residuals to build successive trees, so there is less risk of overfitting as a result of building too many trees, while boosted trees will result in a lower bias. The best boosted trees learn slowly (use lots of trees) and thus can take longer than a random forest to train.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;</description>
      <category>SOA/PA</category>
      <category>ASA</category>
      <category>boosted tree</category>
      <category>classification tree</category>
      <category>pa</category>
      <category>Random Forest</category>
      <category>SOA</category>
      <author>말킹</author>
      <guid isPermaLink="true">https://runninghorseking.tistory.com/87</guid>
      <comments>https://runninghorseking.tistory.com/87#entry87comment</comments>
      <pubDate>Wed, 10 Apr 2024 18:09:00 +0900</pubDate>
    </item>
    <item>
      <title>SOA/ASA/PA 기출 및 내용정리 - 20.12.07시험(기록용)</title>
      <link>https://runninghorseking.tistory.com/86</link>
      <description>&lt;p data-ke-size=&quot;size16&quot;&gt;&lt;b&gt;Task5 k-means clustering&lt;/b&gt;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;The goal is to assign records into one of k groups or clusters such that members of each group are overall more similar to one another than they are to menbers of other groups. The numbers of groups, k, is specified at the beginning and the group members are determined through an iterative process. k random centers are chosen and the group assignment for each record is determined by which of these centers is closest. New centers for each group are calculated based on its members, and then group membership is redetermined based on these new centers. This process continues until the centers and group membership are stable or stopped by an interation limit.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&lt;b&gt;Task7 Boosting&lt;/b&gt;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;Boosting builds up an ensembel model, taking the aggregate prediction of many individual models or learners, each successive model building on the deficiencies of the prior model. Unlike bagging, another ensemble method, the individual models are not independent. The technique gains accuracy not by the particular predictions of any of its individual models, often called weak learners, but by its iterative process for improving the aggregate performance of the models in total.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;u&gt;The first model is trained on unweighted data&lt;/u&gt;, and then &lt;u&gt;second model is trained on the residuals produced by the first model.&lt;/u&gt; &lt;u&gt;The thired model is trained based on the residuals of the first two models taken together, and so on.&lt;/u&gt; The boosting process is typically stopped after a set number of iterations, and the sum of all model output is used.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;u&gt;To prevent overfitting within this terative process, a shrinkage parameter is applied to individual models so that the aggregate performance of the models approaches the training data in a controlled manner and avoids being overly sensitive to the structure of any one model.&lt;/u&gt;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;Boosting is appropriate for this business problem because its predictions, by directly addressing the errors of prior model fittings, are typically more accurate than those of other predictive modeling techniques. Being a more complex ensemble method, it is difficult to gather insight into how the model is making these accurate predictions, but this seems relatively unimportant to ABC.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;Partial dependence plots use the expected value of the prediction at the variable value shown when paired with all values of the other variables as found in the training data. The yhat values can be compared to the overall average mean bike usage of 189 per hour in the train data.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;The higher shrinkage parameter, representing greater weight for each weak learner, produces a substantially better prediction as measured by mean squared error. &lt;s&gt;The higher shrinkage get faster without overfitting.&amp;nbsp;&lt;/s&gt;Because the higher shrinkage parameter gives more weight to each model fitting the successive residuals, the predictions tend to be more spread out given the same number of trees.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&lt;a href=&quot;https://eatchu.tistory.com/entry/앙상블Ensemble-bias-variance-관점에서의-유형-정리-Voting-Bagging-Boosting&quot; target=&quot;_blank&quot; rel=&quot;noopener&amp;nbsp;noreferrer&quot;&gt;https://eatchu.tistory.com/entry/앙상블Ensemble-bias-variance-관점에서의-유형-정리-Voting-Bagging-Boosting&lt;/a&gt;&lt;/p&gt;
&lt;figure id=&quot;og_1712577525275&quot; contenteditable=&quot;false&quot; data-ke-type=&quot;opengraph&quot; data-ke-align=&quot;alignCenter&quot; data-og-type=&quot;article&quot; data-og-title=&quot;[ML] 앙상블(Ensemble) - Voting, Bagging, Boosting&quot; data-og-description=&quot;기존의 단일 모델은 늘 bias-variance trade off의 문제를 벗어나지 못했다. 모델의 정확도를 올리고자 복잡한 모델을 만들면 과대적합의 우려가 생기고 이를 해결하려 모델을 단순하게 만들면 결국은&quot; data-og-host=&quot;eatchu.tistory.com&quot; data-og-source-url=&quot;https://eatchu.tistory.com/entry/앙상블Ensemble-bias-variance-관점에서의-유형-정리-Voting-Bagging-Boosting&quot; data-og-url=&quot;https://eatchu.tistory.com/entry/%EC%95%99%EC%83%81%EB%B8%94Ensemble-bias-variance-%EA%B4%80%EC%A0%90%EC%97%90%EC%84%9C%EC%9D%98-%EC%9C%A0%ED%98%95-%EC%A0%95%EB%A6%AC-Voting-Bagging-Boosting&quot; data-og-image=&quot;https://scrap.kakaocdn.net/dn/37Xhl/hyVMUvnnnL/ISigMP4CiV3DaXjXMi2h8K/img.png?width=800&amp;amp;height=278&amp;amp;face=0_0_800_278,https://scrap.kakaocdn.net/dn/vdErr/hyVJ65gTlR/lO5uFdBZgwBL5uKCqrgRk1/img.png?width=800&amp;amp;height=278&amp;amp;face=0_0_800_278,https://scrap.kakaocdn.net/dn/s1sPd/hyVJWhhMpr/Z7hcXAiSTcTHYn4FAdMwLK/img.jpg?width=1280&amp;amp;height=802&amp;amp;face=0_0_1280_802&quot;&gt;&lt;a href=&quot;https://eatchu.tistory.com/entry/앙상블Ensemble-bias-variance-관점에서의-유형-정리-Voting-Bagging-Boosting&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot; data-source-url=&quot;https://eatchu.tistory.com/entry/앙상블Ensemble-bias-variance-관점에서의-유형-정리-Voting-Bagging-Boosting&quot;&gt;
&lt;div class=&quot;og-image&quot; style=&quot;background-image: url('https://scrap.kakaocdn.net/dn/37Xhl/hyVMUvnnnL/ISigMP4CiV3DaXjXMi2h8K/img.png?width=800&amp;amp;height=278&amp;amp;face=0_0_800_278,https://scrap.kakaocdn.net/dn/vdErr/hyVJ65gTlR/lO5uFdBZgwBL5uKCqrgRk1/img.png?width=800&amp;amp;height=278&amp;amp;face=0_0_800_278,https://scrap.kakaocdn.net/dn/s1sPd/hyVJWhhMpr/Z7hcXAiSTcTHYn4FAdMwLK/img.jpg?width=1280&amp;amp;height=802&amp;amp;face=0_0_1280_802');&quot;&gt;&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;og-text&quot;&gt;
&lt;p class=&quot;og-title&quot; data-ke-size=&quot;size16&quot;&gt;[ML] 앙상블(Ensemble) - Voting, Bagging, Boosting&lt;/p&gt;
&lt;p class=&quot;og-desc&quot; data-ke-size=&quot;size16&quot;&gt;기존의 단일 모델은 늘 bias-variance trade off의 문제를 벗어나지 못했다. 모델의 정확도를 올리고자 복잡한 모델을 만들면 과대적합의 우려가 생기고 이를 해결하려 모델을 단순하게 만들면 결국은&lt;/p&gt;
&lt;p class=&quot;og-host&quot; data-ke-size=&quot;size16&quot;&gt;eatchu.tistory.com&lt;/p&gt;
&lt;/div&gt;
&lt;/a&gt;&lt;/figure&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;네이버에서 검색한 블로그인데 유튜브에서 찾은 것들보다 설명이 잘되어있다. (블로그 주인님께 감사드림...)&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&lt;b&gt;Task8 Compare disitribution choices for a glm&lt;/b&gt;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;Poisson distribution with log link function is a reasonable choice. The target varaible only has non-negative integer values. The log link function allows the predicted mean to vary multiplicatively rather than linearly with the coefficients for each predictor variable, more naturally fitting the right-skewed distribution of the targer variable.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;The gamma distribution with inverse link function is also a reasonable choice. There is not material harm in applying the gamma distribution function to only integer values when the values span a large range. The data matches its support of strictly non-negative values, though it is conceivable that future data could include zero bike rentals. &lt;u&gt;The inverse link function allows the predicted mean to vary hyperbolically rather than linearly with the coefficients for each predictor variable.&lt;/u&gt; &lt;u&gt;Unlike the log link function, the inverse link function can result in nagative predictions, typically massive and unusable when they occur.&lt;/u&gt;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;</description>
      <category>SOA/PA</category>
      <category>ASA</category>
      <category>bagging</category>
      <category>boosting</category>
      <category>gamma</category>
      <category>GLM</category>
      <category>inverse link</category>
      <category>K-Means Clustering</category>
      <category>pa</category>
      <category>poisson</category>
      <category>SOA</category>
      <author>말킹</author>
      <guid isPermaLink="true">https://runninghorseking.tistory.com/86</guid>
      <comments>https://runninghorseking.tistory.com/86#entry86comment</comments>
      <pubDate>Mon, 8 Apr 2024 22:33:33 +0900</pubDate>
    </item>
    <item>
      <title>&amp;lt;로니로티&amp;gt; 천호역 맛집, 이탈리안</title>
      <link>https://runninghorseking.tistory.com/84</link>
      <description>&lt;p&gt;&lt;figure class=&quot;imageblock alignCenter&quot; data-ke-mobileStyle=&quot;widthOrigin&quot; data-origin-width=&quot;4032&quot; data-origin-height=&quot;3024&quot;&gt;&lt;span data-url=&quot;https://blog.kakaocdn.net/dn/bbjOSS/btsGc67BIYQ/PlLowhJR7nOeRMGzn3vCI0/img.jpg&quot; data-phocus=&quot;https://blog.kakaocdn.net/dn/bbjOSS/btsGc67BIYQ/PlLowhJR7nOeRMGzn3vCI0/img.jpg&quot; data-alt=&quot;목살스테이크&quot;&gt;&lt;img src=&quot;https://blog.kakaocdn.net/dn/bbjOSS/btsGc67BIYQ/PlLowhJR7nOeRMGzn3vCI0/img.jpg&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FbbjOSS%2FbtsGc67BIYQ%2FPlLowhJR7nOeRMGzn3vCI0%2Fimg.jpg&quot; onerror=&quot;this.onerror=null; this.src='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png'; this.srcset='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png';&quot; loading=&quot;lazy&quot; width=&quot;4032&quot; height=&quot;3024&quot; data-origin-width=&quot;4032&quot; data-origin-height=&quot;3024&quot;/&gt;&lt;/span&gt;&lt;figcaption&gt;목살스테이크&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;figure class=&quot;imagegridblock&quot;&gt;
  &lt;div class=&quot;image-container&quot;&gt;&lt;span data-url=&quot;https://blog.kakaocdn.net/dn/bIj2Kd/btsGfyBg8J3/kTv7ZTBlByFN8QrDkUWnRk/img.jpg&quot; data-phocus=&quot;https://blog.kakaocdn.net/dn/bIj2Kd/btsGfyBg8J3/kTv7ZTBlByFN8QrDkUWnRk/img.jpg&quot; data-origin-width=&quot;4032&quot; data-origin-height=&quot;3024&quot; data-is-animation=&quot;false&quot; data-widthpercent=&quot;64&quot; style=&quot;width: 63.255814%; margin-right: 10px;&quot;&gt;&lt;img src=&quot;https://blog.kakaocdn.net/dn/bIj2Kd/btsGfyBg8J3/kTv7ZTBlByFN8QrDkUWnRk/img.jpg&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;amp;fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FbIj2Kd%2FbtsGfyBg8J3%2FkTv7ZTBlByFN8QrDkUWnRk%2Fimg.jpg&quot; onerror=&quot;this.onerror=null; this.src='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png'; this.srcset='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png';&quot; loading=&quot;lazy&quot; width=&quot;4032&quot; height=&quot;3024&quot;/&gt;&lt;/span&gt;&lt;span data-url=&quot;https://blog.kakaocdn.net/dn/c0Dug1/btsGd6Tpf08/wukSbUnCkST1zFz5eK0fRK/img.jpg&quot; data-phocus=&quot;https://blog.kakaocdn.net/dn/c0Dug1/btsGd6Tpf08/wukSbUnCkST1zFz5eK0fRK/img.jpg&quot; data-origin-width=&quot;3024&quot; data-origin-height=&quot;4032&quot; data-is-animation=&quot;false&quot; data-widthpercent=&quot;36&quot; style=&quot;width: 35.581395%;&quot;&gt;&lt;img src=&quot;https://blog.kakaocdn.net/dn/c0Dug1/btsGd6Tpf08/wukSbUnCkST1zFz5eK0fRK/img.jpg&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;amp;fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2Fc0Dug1%2FbtsGd6Tpf08%2FwukSbUnCkST1zFz5eK0fRK%2Fimg.jpg&quot; onerror=&quot;this.onerror=null; this.src='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png'; this.srcset='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png';&quot; loading=&quot;lazy&quot; width=&quot;3024&quot; height=&quot;4032&quot;/&gt;&lt;/span&gt;&lt;/div&gt;
  &lt;figcaption&gt;치킨버섯크림리조또, 체리에이드(?)&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;대학교때 몇번 갔던 서가앤쿡이 종종 떠올랐는데... 지나가다가 비슷한 느낌의 이탈리안 체인이라고 가보게 되었다. 메뉴구성이 서가앤쿡이랑 비슷해서 향수를 자극했다.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;역주변인데도 사람도 많지않고 쾌적하게 먹을 수 있었다.&amp;nbsp;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;목살스테이크도 생각했던 맛인데 가격대비 혜자스러웠고, 리조또도 훌륭했다.(리조또는 조금 느끼했지만 느끼한거 좋아하는 편)&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;종종 재방문 할 곳 같다.&lt;/p&gt;</description>
      <category>★/맛집</category>
      <category>로니로티</category>
      <category>로데오</category>
      <category>맛집</category>
      <category>목살스테이크</category>
      <category>이탈리안</category>
      <category>천호</category>
      <category>천호역</category>
      <category>체리에이드</category>
      <category>치킨버섯크림리조또</category>
      <author>말킹</author>
      <guid isPermaLink="true">https://runninghorseking.tistory.com/84</guid>
      <comments>https://runninghorseking.tistory.com/84#entry84comment</comments>
      <pubDate>Mon, 8 Apr 2024 00:00:23 +0900</pubDate>
    </item>
    <item>
      <title>SOA/ASA/PA 기출 및 내용정리 - 21.12.13시험(기록용)</title>
      <link>https://runninghorseking.tistory.com/83</link>
      <description>&lt;p data-ke-size=&quot;size16&quot;&gt;&lt;b&gt;Task6&lt;/b&gt;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&lt;b&gt;(a) Explain what the variance and bias values indicate about the relative quality of predictions when comparing predictive models.&lt;/b&gt;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;The variance figures indicate how much the predictions vary depending on the training data used. As more predictors are used, the variance increases because the model more predicsely fits the training data for each trial and becomes less generalized. The bias figures indicate how close expected predictions and actual results are on unseen data. Generally, as more predictors are used, the bias decreases as more accurate predictions are made.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&lt;b&gt;Task7&lt;/b&gt;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&lt;b&gt;(a) Explain, for a general audience, what cost complexity pruining does.&lt;/b&gt;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;Cost complexity pruninig is part of a two-step approach to building a tree model. The first step is to build a large, complex decision tree, which is essentially a flow chart for deciding whether to try to transfer an animal.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;A second step called pruning is taken. Pruning reduces the size and complexity of the initial flow chart to a more useful one. That is is called cost complexity pruning has to do with the technical tradeoff being made between how simple the flow chart is compared to how well it distinguishes whether animals can be transferred or not.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&lt;b&gt;Task8&lt;/b&gt;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&lt;b&gt;(a) Boosting - Setting eta as high as possible?&lt;/b&gt;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;In boosting algorithms, which work by iteratively fitting a model the residuals of a prior learner, eta, also called the learning rate or shrinkage parameter, slows down the model fitting process so that the residuals from the prior learner do not have too large an influence on the final model. With eta at its maximum of 1, each model iteration is the prior learner plus the model fitting its residuals. While this will run quickly, it will be prone to high variance, overfitting the training data and not generalizing well to unseen data. Setting eta to less than 1 slows down the fitting process by only adding eta times the model fitting the residuals to form the next learner and will substantially reduce the variance.&lt;/p&gt;
&lt;p style=&quot;color: #333333; text-align: start;&quot; data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style=&quot;color: #333333; text-align: start;&quot; data-ke-size=&quot;size16&quot;&gt;&lt;b&gt;(b) Explain cross validation and how it can be used to set the eta hyperparameter&lt;/b&gt;&lt;/p&gt;
&lt;p style=&quot;color: #333333; text-align: start;&quot; data-ke-size=&quot;size16&quot;&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;Cross validation divides the availabel data in to multiple folds for a series of model fitting runs. Each fold is used as test data exactly once. The average test metric across the runs is the result of the cross validation.&lt;/p&gt;
&lt;p style=&quot;color: #333333; text-align: start;&quot; data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;To use cross validation to set the eta hyperparameter, a series of reasonable values for eta would be chosen beforehand. Then, for each value of eta, cross validation would be performed with each model fitting run using the same eta. The result is one average test metric result from each cross validation for each value of eta. The value of eta with the superior test metric, some measure of predictive power on unseen data, would be shosen for subsequent predictive modeling work.&lt;/p&gt;
&lt;p style=&quot;color: #333333; text-align: start;&quot; data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style=&quot;color: #333333; text-align: start;&quot; data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style=&quot;color: #333333; text-align: start;&quot; data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;</description>
      <category>SOA/PA</category>
      <category>ASA</category>
      <category>boosting</category>
      <category>cost complexity pruning</category>
      <category>Cross Validation</category>
      <category>ETA</category>
      <category>Hyperparameter</category>
      <category>pa</category>
      <category>SOA</category>
      <category>variance and bias</category>
      <author>말킹</author>
      <guid isPermaLink="true">https://runninghorseking.tistory.com/83</guid>
      <comments>https://runninghorseking.tistory.com/83#entry83comment</comments>
      <pubDate>Sun, 7 Apr 2024 20:13:59 +0900</pubDate>
    </item>
    <item>
      <title>SOA/ASA/PA 기출 및 내용정리 - 22.04.12시험 Task6~13(기록용)</title>
      <link>https://runninghorseking.tistory.com/82</link>
      <description>&lt;p data-ke-size=&quot;size16&quot;&gt;&lt;b&gt;Task6&lt;/b&gt;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&lt;b&gt;(a) GLM, each of the Gaussian, Poisson and Gamma distribution.&lt;/b&gt;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;Gaussian&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;- The domain is all real values.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;- A target variable that could be modeled with the Gaussian distribution is the response time.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;Poisson&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;- The domain is non-negative integers.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;- A target variable that could be modeled with the Poisson distribution is the number of calls in an hour.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;Gamma distribution&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;- The domain is positive real values.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;- A target variable that could be modeled with the Gamma distribution is the turnout time plus one second since it is continuous and postive.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&lt;b&gt;Task9&lt;/b&gt;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&lt;b&gt;(a) Explain how measures of impurity are related to information gain in a decision tree&lt;/b&gt;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;Information gain is the decrease in impurity created by a decision tree split. At each node of the decision tree, the model selects the split that results in the most information gain. Therefore, the choice of impurity measure(e.g, Gini or entropy) directly impacts information gain calculations.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&lt;b&gt;(c) When concerned about the model variance, Recommend whether to use a random forest or a gradient boosting machine.&lt;/b&gt;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;I recommend a random forest, which tends to do well in reducing variance while having a similar bias to that of a basic tree model. &lt;u&gt;The variance reduction arises from the use of many small trees and sampling of the data&lt;/u&gt; (bagging). Both practices hinder overfitting to the idiosyncrsies of the training data, and hence keep the variance low.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;u&gt;Gradient boosting machines use the same underlying training data at each step. This is very effective at reducing bias but is very sensitive to the training data(high variance)&lt;/u&gt;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&lt;b&gt;Task10&lt;/b&gt;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&lt;b&gt;(a) explain why decision trees overfit to factor variables with many levels.&lt;/b&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;In this task, the number of levels is 31. This means the number of ways to split day of the month in to two groups is very large, making it likely that the tree will find spurious splits that happens to produce information gain for that particular training data.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;Decision trees tend to create splits on categorical variables with many levels because it is easier to choose a split where the inofrmation gain is large. However, splitting on these variables will likely to lead to overfitting.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&lt;b&gt;(b) Describe the handling of categorical variables in linear models and tree-based models.&lt;/b&gt;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;Linear Models :&amp;nbsp;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;The coefficients for each level represents the impact relative to the base level of the variable.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;Tree-Based Models :&amp;nbsp;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;The more levels the variable has, the more potential ways to split the category into groups. split based on maximizing information gain. Decision trees naturally allow for interactions between categorical variables based on how the tree is created.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&lt;b&gt;Task11&lt;/b&gt;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&lt;b&gt;(c) Explain what let to the large difference in AUC values between the train and test datasets.&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;figure class=&quot;imageblock alignCenter&quot; data-ke-mobileStyle=&quot;widthOrigin&quot; data-origin-width=&quot;611&quot; data-origin-height=&quot;105&quot;&gt;&lt;span data-url=&quot;https://blog.kakaocdn.net/dn/SBaeJ/btsGp3h4rjA/TMHVriTKOdeFrKDmV0zkn0/img.png&quot; data-phocus=&quot;https://blog.kakaocdn.net/dn/SBaeJ/btsGp3h4rjA/TMHVriTKOdeFrKDmV0zkn0/img.png&quot;&gt;&lt;img src=&quot;https://blog.kakaocdn.net/dn/SBaeJ/btsGp3h4rjA/TMHVriTKOdeFrKDmV0zkn0/img.png&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FSBaeJ%2FbtsGp3h4rjA%2FTMHVriTKOdeFrKDmV0zkn0%2Fimg.png&quot; onerror=&quot;this.onerror=null; this.src='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png'; this.srcset='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png';&quot; loading=&quot;lazy&quot; width=&quot;611&quot; height=&quot;105&quot; data-origin-width=&quot;611&quot; data-origin-height=&quot;105&quot;/&gt;&lt;/span&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;An AUC of 1.0 indicates the model perfectly predicts the data while an AUC of 0.5 indicates the model performs as well as random chance.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;This indecates that the models are overfit to noise in the training datasets. &lt;u&gt;The likely cause is that the chosen hyperparameters create very deep trees, and therefore the hyperparameters need to be adjusted to create simpler trees which are less prone to overfitting.&lt;/u&gt;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&lt;b&gt;Task13&lt;/b&gt;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&lt;b&gt;(a) Explain how cost-complexity pruning works, including how complexity is optimized.&lt;/b&gt;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;Cost-complexity pruning involves growing a large tree and then pruning it back by dropping splits that do not reduce the model error by a fixed value determined by the complexity parameter. We can use cross validation to optimize the complexity parameter, which is the process repeatedly training models and testing models on different folds of the data. This is done for different values for the complexity parameter, and the one with the lowest cross validation error is selected as the optimal choice. We then prune back our trained tree using the complexity parameter from the cross validation.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&lt;b&gt;(b) State why changing the random seed would affect the tree constructed using cost-complexity pruning.&lt;/b&gt;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;Each time the cost-complexity pruning algorithm is run, the splits of data used in the cross validation are randomly assigned.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;</description>
      <category>SOA/PA</category>
      <category>ASA</category>
      <category>AUC</category>
      <category>cost-complexity pruning</category>
      <category>GLM</category>
      <category>Gradient Boosting Machine</category>
      <category>impurity measure</category>
      <category>information gain</category>
      <category>pa</category>
      <category>Random Forest</category>
      <category>SOA</category>
      <author>말킹</author>
      <guid isPermaLink="true">https://runninghorseking.tistory.com/82</guid>
      <comments>https://runninghorseking.tistory.com/82#entry82comment</comments>
      <pubDate>Sat, 6 Apr 2024 16:10:57 +0900</pubDate>
    </item>
    <item>
      <title>&amp;lt;the.고로케&amp;gt; - 천호 현대백화점 팝업</title>
      <link>https://runninghorseking.tistory.com/78</link>
      <description>&lt;p&gt;&lt;figure class=&quot;imagegridblock&quot;&gt;
  &lt;div class=&quot;image-container&quot;&gt;&lt;span data-url=&quot;https://blog.kakaocdn.net/dn/ziTCc/btsGefo2cMs/z6lfiEEWH3MHhgTZxWCxLK/img.jpg&quot; data-phocus=&quot;https://blog.kakaocdn.net/dn/ziTCc/btsGefo2cMs/z6lfiEEWH3MHhgTZxWCxLK/img.jpg&quot; data-origin-width=&quot;4032&quot; data-origin-height=&quot;3024&quot; data-is-animation=&quot;false&quot; data-widthpercent=&quot;50&quot; style=&quot;width: 49.418605%; margin-right: 10px;&quot;&gt;&lt;img src=&quot;https://blog.kakaocdn.net/dn/ziTCc/btsGefo2cMs/z6lfiEEWH3MHhgTZxWCxLK/img.jpg&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;amp;fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FziTCc%2FbtsGefo2cMs%2Fz6lfiEEWH3MHhgTZxWCxLK%2Fimg.jpg&quot; onerror=&quot;this.onerror=null; this.src='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png'; this.srcset='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png';&quot; loading=&quot;lazy&quot; width=&quot;4032&quot; height=&quot;3024&quot;/&gt;&lt;/span&gt;&lt;span data-url=&quot;https://blog.kakaocdn.net/dn/rRMRg/btsGd1klm1D/fVT0PInziQXkSLoJP68DNK/img.jpg&quot; data-phocus=&quot;https://blog.kakaocdn.net/dn/rRMRg/btsGd1klm1D/fVT0PInziQXkSLoJP68DNK/img.jpg&quot; data-origin-width=&quot;4032&quot; data-origin-height=&quot;3024&quot; data-is-animation=&quot;false&quot; data-widthpercent=&quot;50&quot; style=&quot;width: 49.418605%;&quot;&gt;&lt;img src=&quot;https://blog.kakaocdn.net/dn/rRMRg/btsGd1klm1D/fVT0PInziQXkSLoJP68DNK/img.jpg&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;amp;fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FrRMRg%2FbtsGd1klm1D%2FfVT0PInziQXkSLoJP68DNK%2Fimg.jpg&quot; onerror=&quot;this.onerror=null; this.src='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png'; this.srcset='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png';&quot; loading=&quot;lazy&quot; width=&quot;4032&quot; height=&quot;3024&quot;/&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/figure&gt;
&lt;figure class=&quot;imagegridblock&quot;&gt;
  &lt;div class=&quot;image-container&quot;&gt;&lt;span data-url=&quot;https://blog.kakaocdn.net/dn/cCOL0S/btsGfhGp27m/SK2qBiA88Qebkk6OjtGq51/img.jpg&quot; data-phocus=&quot;https://blog.kakaocdn.net/dn/cCOL0S/btsGfhGp27m/SK2qBiA88Qebkk6OjtGq51/img.jpg&quot; data-origin-width=&quot;4032&quot; data-origin-height=&quot;3024&quot; data-is-animation=&quot;false&quot; data-widthpercent=&quot;64&quot; style=&quot;width: 63.255814%; margin-right: 10px;&quot;&gt;&lt;img src=&quot;https://blog.kakaocdn.net/dn/cCOL0S/btsGfhGp27m/SK2qBiA88Qebkk6OjtGq51/img.jpg&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;amp;fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FcCOL0S%2FbtsGfhGp27m%2FSK2qBiA88Qebkk6OjtGq51%2Fimg.jpg&quot; onerror=&quot;this.onerror=null; this.src='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png'; this.srcset='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png';&quot; loading=&quot;lazy&quot; width=&quot;4032&quot; height=&quot;3024&quot;/&gt;&lt;/span&gt;&lt;span data-url=&quot;https://blog.kakaocdn.net/dn/c3mGn1/btsGc67BIJ9/2Hk3KnYOk9DDuOSRMUnUd1/img.jpg&quot; data-phocus=&quot;https://blog.kakaocdn.net/dn/c3mGn1/btsGc67BIJ9/2Hk3KnYOk9DDuOSRMUnUd1/img.jpg&quot; data-origin-width=&quot;3024&quot; data-origin-height=&quot;4032&quot; data-is-animation=&quot;false&quot; data-widthpercent=&quot;36&quot; style=&quot;width: 35.581395%;&quot;&gt;&lt;img src=&quot;https://blog.kakaocdn.net/dn/c3mGn1/btsGc67BIJ9/2Hk3KnYOk9DDuOSRMUnUd1/img.jpg&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;amp;fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2Fc3mGn1%2FbtsGc67BIJ9%2F2Hk3KnYOk9DDuOSRMUnUd1%2Fimg.jpg&quot; onerror=&quot;this.onerror=null; this.src='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png'; this.srcset='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png';&quot; loading=&quot;lazy&quot; width=&quot;3024&quot; height=&quot;4032&quot;/&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/figure&gt;
&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;주말에 간식살겸 들린 현대백화점 지하.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;사람들이 줄서서 먹고있길래 먹어보았다. 식빵이다 보니 밀가루 부분이 얇아서 일반고로케보다 맛있었다.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;그런데 줄서서 먹을정도 인가는 모르겠다. 동선에 있으면 종종 먹게 될텐데 기다려서 먹을정도인가 싶은 그정도.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;궁금해서 본지점 어딘지 검색해보는데 안찾아진다. 팝업만 하는곳인가.&lt;/p&gt;</description>
      <category>★/맛집</category>
      <category>The.고로케</category>
      <category>고로케</category>
      <category>맛집</category>
      <category>식빵</category>
      <category>식빵고로케</category>
      <category>천호</category>
      <category>카레고로케</category>
      <category>팝업</category>
      <category>현대백화점</category>
      <author>말킹</author>
      <guid isPermaLink="true">https://runninghorseking.tistory.com/78</guid>
      <comments>https://runninghorseking.tistory.com/78#entry78comment</comments>
      <pubDate>Sat, 6 Apr 2024 00:00:11 +0900</pubDate>
    </item>
    <item>
      <title>SOA/ASA/PA 기출 및 내용정리 - 22.10.11시험 Task6~12(기록용)</title>
      <link>https://runninghorseking.tistory.com/81</link>
      <description>&lt;p data-ke-size=&quot;size16&quot;&gt;Task8&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;(a) cost-complexity pruning algorithm&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;Pruning is a technique used to reduce the complexity of a decision tree and protect against overfitting. This process is repeated for each remaining split until further pruning would result in decreased model accuracy.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&lt;a href=&quot;https://www.youtube.com/watch?v=D0efHEJsfHo&quot; target=&quot;_blank&quot; rel=&quot;noopener&amp;nbsp;noreferrer&quot;&gt;https://www.youtube.com/watch?v=D0efHEJsfHo&lt;/a&gt;&lt;/p&gt;
&lt;figure data-ke-type=&quot;video&quot; data-ke-style=&quot;alignCenter&quot; data-video-host=&quot;youtube&quot; data-video-url=&quot;https://www.youtube.com/watch?v=D0efHEJsfHo&quot; data-video-thumbnail=&quot;https://scrap.kakaocdn.net/dn/Kohgn/hyVJVBSTtb/BvceB7BuZQjVSnaz48B7Dk/img.jpg?width=1280&amp;amp;height=720&amp;amp;face=0_0_1280_720&quot; data-video-width=&quot;860&quot; data-video-height=&quot;484&quot; data-video-origin-width=&quot;860&quot; data-video-origin-height=&quot;484&quot; data-ke-mobilestyle=&quot;widthContent&quot; data-original-url=&quot;&quot; data-video-title=&quot;&quot;&gt;&lt;iframe src=&quot;https://www.youtube.com/embed/D0efHEJsfHo&quot; width=&quot;860&quot; height=&quot;484&quot; frameborder=&quot;&quot; allowfullscreen=&quot;true&quot;&gt;&lt;/iframe&gt;
&lt;figcaption&gt;StatQuest&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&lt;b&gt;(b) Choosing a complexity parameter based on cross-validation results.&lt;/b&gt;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;Choosing the value that results in the minimum corss-validation error.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;Employing the one standard-error rule. This approachproposes using the complexity parameter for the smallest model within one standard-error of the minimum cross-validation error.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&lt;b&gt;Task9&lt;/b&gt;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&lt;b&gt;(a) Explain the difference between accuracy and AUC in terms of overall model assessment.&lt;/b&gt;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;Accuracy is measured by the ratio of correct number of predictions to total number of predictions made.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;AUC measures the area under the ROC curve. It assesses the overall model performance by measuring how true positive rate and false positive rate trade off across a range of possible classification thresholds.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;AUC measures performance across the full range of thresholds while accuracy measures performance only at the selected threshold.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&lt;b&gt;(b) Explain why the ROC curve always goes through (0,0) and (1,1)&lt;/b&gt;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;(0,0) : true positive rate(Sensitivity) is zero, and true negative rate(Specificity) is 1.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;(1,1) : true positive rate(Sensitivity) is 1, and true negative rate(Specificity) is zero. everything is classified as postiive.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&lt;a href=&quot;https://www.youtube.com/watch?v=4jRBRDbJemM&quot; target=&quot;_blank&quot; rel=&quot;noopener&amp;nbsp;noreferrer&quot;&gt;https://www.youtube.com/watch?v=4jRBRDbJemM&lt;/a&gt;&lt;/p&gt;
&lt;figure data-ke-type=&quot;video&quot; data-ke-style=&quot;alignCenter&quot; data-video-host=&quot;youtube&quot; data-video-url=&quot;https://www.youtube.com/watch?v=4jRBRDbJemM&quot; data-video-thumbnail=&quot;https://scrap.kakaocdn.net/dn/pJEiQ/hyVJ04fO1J/pDSxJauPV40aTkakrlYCCk/img.jpg?width=1280&amp;amp;height=720&amp;amp;face=0_0_1280_720&quot; data-video-width=&quot;860&quot; data-video-height=&quot;484&quot; data-video-origin-width=&quot;860&quot; data-video-origin-height=&quot;484&quot; data-ke-mobilestyle=&quot;widthContent&quot; data-original-url=&quot;&quot; data-video-title=&quot;&quot;&gt;&lt;iframe src=&quot;https://www.youtube.com/embed/4jRBRDbJemM&quot; width=&quot;860&quot; height=&quot;484&quot; frameborder=&quot;&quot; allowfullscreen=&quot;true&quot;&gt;&lt;/iframe&gt;
&lt;figcaption style=&quot;display: none;&quot;&gt;&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&lt;b&gt;(c) Gradient boosting machine tree model, Explain why model performance deteriorates as the number of trees increases.&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;figure class=&quot;imageblock alignLeft&quot; data-ke-mobileStyle=&quot;widthOrigin&quot; data-filename=&quot;스크린샷 2024-04-05 오후 4.58.15.png&quot; data-origin-width=&quot;1440&quot; data-origin-height=&quot;746&quot;&gt;&lt;span data-url=&quot;https://blog.kakaocdn.net/dn/xVpF7/btsGpUrhccX/quosNDzbQdgbk8GH0duaHk/img.png&quot; data-phocus=&quot;https://blog.kakaocdn.net/dn/xVpF7/btsGpUrhccX/quosNDzbQdgbk8GH0duaHk/img.png&quot;&gt;&lt;img src=&quot;https://blog.kakaocdn.net/dn/xVpF7/btsGpUrhccX/quosNDzbQdgbk8GH0duaHk/img.png&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FxVpF7%2FbtsGpUrhccX%2FquosNDzbQdgbk8GH0duaHk%2Fimg.png&quot; onerror=&quot;this.onerror=null; this.src='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png'; this.srcset='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png';&quot; loading=&quot;lazy&quot; width=&quot;401&quot; height=&quot;208&quot; data-filename=&quot;스크린샷 2024-04-05 오후 4.58.15.png&quot; data-origin-width=&quot;1440&quot; data-origin-height=&quot;746&quot;/&gt;&lt;/span&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;A GBM iteratively builds trees fit to the residuals of prior trees. Depending on the hyperparameters, this model can produce a very complex model, which is susceptible to overfitting to patterns in the training data.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;AUC on the testing data starts to drop, which indecates the model is overfit to the training data.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&lt;a href=&quot;https://www.youtube.com/watch?v=LsK-xG1cLYA&quot; target=&quot;_blank&quot; rel=&quot;noopener&amp;nbsp;noreferrer&quot;&gt;https://www.youtube.com/watch?v=LsK-xG1cLYA&lt;/a&gt;&lt;/p&gt;
&lt;figure data-ke-type=&quot;video&quot; data-ke-style=&quot;alignCenter&quot; data-video-host=&quot;youtube&quot; data-video-url=&quot;https://www.youtube.com/watch?v=LsK-xG1cLYA&quot; data-video-thumbnail=&quot;https://scrap.kakaocdn.net/dn/is7jL/hyVJUwgFwQ/iA8HFMG2BKOLsJMZ4dvmnK/img.jpg?width=1280&amp;amp;height=720&amp;amp;face=0_0_1280_720&quot; data-video-width=&quot;860&quot; data-video-height=&quot;484&quot; data-video-origin-width=&quot;860&quot; data-video-origin-height=&quot;484&quot; data-ke-mobilestyle=&quot;widthContent&quot; data-original-url=&quot;&quot; data-video-title=&quot;&quot;&gt;&lt;iframe src=&quot;https://www.youtube.com/embed/LsK-xG1cLYA&quot; width=&quot;860&quot; height=&quot;484&quot; frameborder=&quot;&quot; allowfullscreen=&quot;true&quot;&gt;&lt;/iframe&gt;
&lt;figcaption style=&quot;display: none;&quot;&gt;&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&lt;a href=&quot;https://www.youtube.com/watch?v=3CC4N4z3GJc&quot; target=&quot;_blank&quot; rel=&quot;noopener&amp;nbsp;noreferrer&quot;&gt;https://www.youtube.com/watch?v=3CC4N4z3GJc&lt;/a&gt;&lt;/p&gt;
&lt;figure data-ke-type=&quot;video&quot; data-ke-style=&quot;alignCenter&quot; data-video-host=&quot;youtube&quot; data-video-url=&quot;https://www.youtube.com/watch?v=3CC4N4z3GJc&quot; data-video-thumbnail=&quot;https://scrap.kakaocdn.net/dn/E5ME8/hyVJ6cndl8/6J0JhrCdo3o3CEb2nbkqL1/img.jpg?width=1280&amp;amp;height=720&amp;amp;face=0_0_1280_720&quot; data-video-width=&quot;860&quot; data-video-height=&quot;484&quot; data-video-origin-width=&quot;860&quot; data-video-origin-height=&quot;484&quot; data-ke-mobilestyle=&quot;widthContent&quot; data-original-url=&quot;&quot; data-video-title=&quot;&quot;&gt;&lt;iframe src=&quot;https://www.youtube.com/embed/3CC4N4z3GJc&quot; width=&quot;860&quot; height=&quot;484&quot; frameborder=&quot;&quot; allowfullscreen=&quot;true&quot;&gt;&lt;/iframe&gt;
&lt;figcaption style=&quot;display: none;&quot;&gt;&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&lt;a href=&quot;https://www.youtube.com/watch?v=2xudPOBz-vs&quot; target=&quot;_blank&quot; rel=&quot;noopener&amp;nbsp;noreferrer&quot;&gt;https://www.youtube.com/watch?v=2xudPOBz-vs&lt;/a&gt;&lt;/p&gt;
&lt;figure data-ke-type=&quot;video&quot; data-ke-style=&quot;alignCenter&quot; data-video-host=&quot;youtube&quot; data-video-url=&quot;https://www.youtube.com/watch?v=2xudPOBz-vs&quot; data-video-thumbnail=&quot;https://scrap.kakaocdn.net/dn/qnphe/hyVJYk7bS4/Ioa4KbLyN7Ean6AS0kB3s0/img.jpg?width=1280&amp;amp;height=720&amp;amp;face=0_0_1280_720&quot; data-video-width=&quot;860&quot; data-video-height=&quot;484&quot; data-video-origin-width=&quot;860&quot; data-video-origin-height=&quot;484&quot; data-ke-mobilestyle=&quot;widthContent&quot; data-original-url=&quot;&quot; data-video-title=&quot;&quot;&gt;&lt;iframe src=&quot;https://www.youtube.com/embed/2xudPOBz-vs&quot; width=&quot;860&quot; height=&quot;484&quot; frameborder=&quot;&quot; allowfullscreen=&quot;true&quot;&gt;&lt;/iframe&gt;
&lt;figcaption style=&quot;display: none;&quot;&gt;&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;잘 이해 안된다. &amp;nbsp;틈틈히 다시보자.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&lt;b&gt;(d) &amp;nbsp;Describe two hyperparameters to improve model performance.&lt;/b&gt;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;Early stopping : Early stopping criteria, such as improvement of the performance metrics in each subsequent tree, can stop training when it detects the improvement is marginal. This avoids overfitting.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;Controlling learning rate : Learning rate controls the impact of subsequent trees to the overall model outcome. This reduces the extent to which a single tree is able to influence the model fitting process.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&lt;b&gt;(e) How to tune a hyperparameter.&lt;/b&gt;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;Tuning a hyperparamether requires first varying the hyperparameter across a range of possible values and performing cross validation at each value. Performance is then determined based on a cross-validation performance metric, for example AUC, and the hyperparameter value with best performance based on this metric is selected.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&lt;b&gt;Task11&lt;/b&gt;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&lt;b&gt;(d) How changing the link function in the GLM impacts the model fitting and how this can impact predictor significance.&lt;/b&gt;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;The link function specifies a functional relationship between the linear predictor and the mean of the distribution of the outcome conditional on the predictor variables. Different link functions have different shapes and can therefore fit to different nolinear relationships between the predictors and the target variable.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;When the link function matches the relationship of a predictor variable, the mean of the outcome distribution (the prediction) will generally be close to the actual values for the target variable, resulting in smaller residuals and more significant p-values.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&lt;b&gt;Task12&lt;/b&gt;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&lt;b&gt;(a) Proxy variable&lt;/b&gt;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;Proxy variables are variables that are used in place of other information, usually because the desired information is either impossible or impractical to measure. For a variable to be a good proxy it must have a close relationship with the variable of interest.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;</description>
      <category>SOA/PA</category>
      <category>accuracy</category>
      <category>ASA</category>
      <category>AUC</category>
      <category>cost-complexity pruning</category>
      <category>Cross-Validation</category>
      <category>GBM</category>
      <category>Hyperparameter</category>
      <category>pa</category>
      <category>ROC</category>
      <category>SOA</category>
      <author>말킹</author>
      <guid isPermaLink="true">https://runninghorseking.tistory.com/81</guid>
      <comments>https://runninghorseking.tistory.com/81#entry81comment</comments>
      <pubDate>Fri, 5 Apr 2024 19:28:04 +0900</pubDate>
    </item>
    <item>
      <title>SOA/ASA/PA 기출 및 내용정리 - 22.10.11시험 Task1~5(기록용)</title>
      <link>https://runninghorseking.tistory.com/80</link>
      <description>&lt;p data-ke-size=&quot;size16&quot;&gt;&lt;b&gt;Task2&lt;/b&gt;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&lt;b&gt;(c) Discuss the benefits of stratified sampling&lt;/b&gt;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;Stratified sampling results in test and train datasets that are similar with respect to the stratification variables.&amp;nbsp;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&lt;b&gt;Wikipedia&lt;/b&gt;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;In&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a style=&quot;color: #795cb2;&quot; href=&quot;https://en.wikipedia.org/wiki/Statistics&quot;&gt;statistics&lt;/a&gt;,&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;b&gt;stratified sampling&lt;/b&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;is a method of&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a style=&quot;color: #795cb2;&quot; href=&quot;https://en.wikipedia.org/wiki/Sampling_(statistics)&quot;&gt;sampling&lt;/a&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;from a&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a style=&quot;color: #795cb2;&quot; href=&quot;https://en.wikipedia.org/wiki/Population_(statistics)&quot;&gt;population&lt;/a&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;which can be&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a style=&quot;color: #795cb2;&quot; href=&quot;https://en.wikipedia.org/wiki/Partition_of_a_set&quot;&gt;partitioned&lt;/a&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;into&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a style=&quot;color: #795cb2;&quot; href=&quot;https://en.wikipedia.org/wiki/Subpopulation&quot;&gt;subpopulations&lt;/a&gt;.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&lt;span style=&quot;background-color: #ffffff; color: #202122; text-align: start;&quot;&gt;In&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a style=&quot;color: #795cb2; text-align: start;&quot; href=&quot;https://en.wikipedia.org/wiki/Computational_statistics&quot;&gt;computational statistics&lt;/a&gt;&lt;span style=&quot;background-color: #ffffff; color: #202122; text-align: start;&quot;&gt;, stratified sampling is a method of&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a style=&quot;color: #795cb2; text-align: start;&quot; href=&quot;https://en.wikipedia.org/wiki/Variance_reduction&quot;&gt;variance reduction&lt;/a&gt;&lt;span style=&quot;background-color: #ffffff; color: #202122; text-align: start;&quot;&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;when&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a style=&quot;color: #795cb2; text-align: start;&quot; href=&quot;https://en.wikipedia.org/wiki/Monte_Carlo_method&quot;&gt;Monte Carlo methods&lt;/a&gt;&lt;span style=&quot;background-color: #ffffff; color: #202122; text-align: start;&quot;&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;are used to estimate population statistics from a known population.&lt;/span&gt;&lt;a style=&quot;color: #795cb2;&quot; href=&quot;https://en.wikipedia.org/wiki/Stratified_sampling#cite_note-varred17-1&quot;&gt;[1]&lt;/a&gt;&lt;/p&gt;
&lt;figure id=&quot;og_1712281992117&quot; contenteditable=&quot;false&quot; data-ke-type=&quot;opengraph&quot; data-ke-align=&quot;alignCenter&quot; data-og-type=&quot;website&quot; data-og-title=&quot;Stratified sampling - Wikipedia&quot; data-og-description=&quot;From Wikipedia, the free encyclopedia Sampling from a population which can be partitioned into subpopulations In statistics, stratified sampling is a method of sampling from a population which can be partitioned into subpopulations. Stratified sampling exa&quot; data-og-host=&quot;en.wikipedia.org&quot; data-og-source-url=&quot;https://en.wikipedia.org/wiki/Stratified_sampling#cite_note-varred17-1&quot; data-og-url=&quot;https://en.wikipedia.org/wiki/Stratified_sampling#cite_note-varred17-1&quot; data-og-image=&quot;https://scrap.kakaocdn.net/dn/zgbh2/hyVJ6XAge6/084EK8kWPMyxORd5YMbjv1/img.png?width=630&amp;amp;height=548&amp;amp;face=0_0_630_548,https://scrap.kakaocdn.net/dn/cBihVn/hyVJ4ZLOfF/Jz7pjgpIPzozJN5AOmt3R0/img.png?width=630&amp;amp;height=548&amp;amp;face=0_0_630_548&quot;&gt;&lt;a href=&quot;https://en.wikipedia.org/wiki/Stratified_sampling#cite_note-varred17-1&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot; data-source-url=&quot;https://en.wikipedia.org/wiki/Stratified_sampling#cite_note-varred17-1&quot;&gt;
&lt;div class=&quot;og-image&quot; style=&quot;background-image: url('https://scrap.kakaocdn.net/dn/zgbh2/hyVJ6XAge6/084EK8kWPMyxORd5YMbjv1/img.png?width=630&amp;amp;height=548&amp;amp;face=0_0_630_548,https://scrap.kakaocdn.net/dn/cBihVn/hyVJ4ZLOfF/Jz7pjgpIPzozJN5AOmt3R0/img.png?width=630&amp;amp;height=548&amp;amp;face=0_0_630_548');&quot;&gt;&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;og-text&quot;&gt;
&lt;p class=&quot;og-title&quot; data-ke-size=&quot;size16&quot;&gt;Stratified sampling - Wikipedia&lt;/p&gt;
&lt;p class=&quot;og-desc&quot; data-ke-size=&quot;size16&quot;&gt;From Wikipedia, the free encyclopedia Sampling from a population which can be partitioned into subpopulations In statistics, stratified sampling is a method of sampling from a population which can be partitioned into subpopulations. Stratified sampling exa&lt;/p&gt;
&lt;p class=&quot;og-host&quot; data-ke-size=&quot;size16&quot;&gt;en.wikipedia.org&lt;/p&gt;
&lt;/div&gt;
&lt;/a&gt;&lt;/figure&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&lt;b&gt;Task3&lt;/b&gt;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&lt;b&gt;(c) best subset selection vs stepwise selection&lt;/b&gt;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;best subset selection &amp;gt; global minimum&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;stepwise selection &amp;gt; local minimum, computationally more efficient&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;gt; 시험장가서 각 기법 설명를 영어로 할수 있을지 모르겠다 ㅋ&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&lt;b&gt;Task4&lt;/b&gt;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&lt;b&gt;(a) Describe two ways impurity measures are used in a classification tree.&lt;/b&gt;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;- which split in the decision tree should be made next.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;- which branches of the tree to prune back after building a decision tree.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&lt;a href=&quot;https://www.youtube.com/watch?v=_L39rN6gz7Y&amp;amp;t=348s&quot; target=&quot;_blank&quot; rel=&quot;noopener&amp;nbsp;noreferrer&quot;&gt;https://www.youtube.com/watch?v=_L39rN6gz7Y&amp;amp;t=348s&lt;/a&gt;&lt;/p&gt;
&lt;figure data-ke-type=&quot;video&quot; data-ke-style=&quot;alignCenter&quot; data-video-host=&quot;youtube&quot; data-video-url=&quot;https://www.youtube.com/watch?v=_L39rN6gz7Y&quot; data-video-thumbnail=&quot;https://scrap.kakaocdn.net/dn/bwLeGm/hyVJZ5iokK/9kpfDWYEXq6GRXZx9mVQt1/img.jpg?width=1280&amp;amp;height=720&amp;amp;face=0_0_1280_720&quot; data-video-width=&quot;860&quot; data-video-height=&quot;484&quot; data-video-origin-width=&quot;860&quot; data-video-origin-height=&quot;484&quot; data-ke-mobilestyle=&quot;widthContent&quot; data-video-title=&quot;Decision and Classification Trees, Clearly Explained!!!&quot; data-original-url=&quot;&quot;&gt;&lt;iframe src=&quot;https://www.youtube.com/embed/_L39rN6gz7Y&quot; width=&quot;860&quot; height=&quot;484&quot; frameborder=&quot;&quot; allowfullscreen=&quot;true&quot;&gt;&lt;/iframe&gt;
&lt;figcaption&gt;Statquest 6분경부터 Gini impurity 나옴&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&lt;b&gt;Task5&lt;/b&gt;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&lt;b&gt;(a) Poisson regression vs Quasi-Poisson regression&lt;/b&gt;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;An underlying assumption of Poisson regression is that the mean and variance are equal.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;Quasi-Poisson regression is equipped to deal with the problem of overdispersion. the estimates of the coefficients are the same when compared to the Poisson output. However, the standard errors are all higher and fewer coefficients are statistically significant. If any further analysis is conducted such as deriving confidence intervals or conducting hypothesis tests, the quasi-Poisson distribution should be used.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;</description>
      <category>SOA/PA</category>
      <category>ASA</category>
      <category>best subset selection</category>
      <category>classification</category>
      <category>impurity measure</category>
      <category>pa</category>
      <category>Poisson regression</category>
      <category>Quasi-Poisson regression</category>
      <category>SOA</category>
      <category>stepwise selection</category>
      <category>stratified sampling</category>
      <author>말킹</author>
      <guid isPermaLink="true">https://runninghorseking.tistory.com/80</guid>
      <comments>https://runninghorseking.tistory.com/80#entry80comment</comments>
      <pubDate>Fri, 5 Apr 2024 15:27:44 +0900</pubDate>
    </item>
    <item>
      <title>&amp;lt;달인즉석계란말이김밥-성내직영점&amp;gt; - 천호역 맛집, 분식</title>
      <link>https://runninghorseking.tistory.com/77</link>
      <description>&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;figure class=&quot;imagegridblock&quot;&gt;
  &lt;div class=&quot;image-container&quot;&gt;&lt;span data-url=&quot;https://blog.kakaocdn.net/dn/o6Zu9/btsGehUHW9b/cF1Op31FChcBxqOtdvXn60/img.jpg&quot; data-phocus=&quot;https://blog.kakaocdn.net/dn/o6Zu9/btsGehUHW9b/cF1Op31FChcBxqOtdvXn60/img.jpg&quot; data-origin-width=&quot;3024&quot; data-origin-height=&quot;4032&quot; data-is-animation=&quot;false&quot; data-widthpercent=&quot;50&quot; style=&quot;width: 49.418605%; margin-right: 10px;&quot;&gt;&lt;img src=&quot;https://blog.kakaocdn.net/dn/o6Zu9/btsGehUHW9b/cF1Op31FChcBxqOtdvXn60/img.jpg&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;amp;fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2Fo6Zu9%2FbtsGehUHW9b%2FcF1Op31FChcBxqOtdvXn60%2Fimg.jpg&quot; onerror=&quot;this.onerror=null; this.src='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png'; this.srcset='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png';&quot; loading=&quot;lazy&quot; width=&quot;3024&quot; height=&quot;4032&quot;/&gt;&lt;/span&gt;&lt;span data-url=&quot;https://blog.kakaocdn.net/dn/DwtBB/btsGdqx8mz9/H6BDN461qw5bLDkbAD5oN0/img.jpg&quot; data-phocus=&quot;https://blog.kakaocdn.net/dn/DwtBB/btsGdqx8mz9/H6BDN461qw5bLDkbAD5oN0/img.jpg&quot; data-origin-width=&quot;3024&quot; data-origin-height=&quot;4032&quot; data-is-animation=&quot;false&quot; data-widthpercent=&quot;50&quot; style=&quot;width: 49.418605%;&quot;&gt;&lt;img src=&quot;https://blog.kakaocdn.net/dn/DwtBB/btsGdqx8mz9/H6BDN461qw5bLDkbAD5oN0/img.jpg&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;amp;fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FDwtBB%2FbtsGdqx8mz9%2FH6BDN461qw5bLDkbAD5oN0%2Fimg.jpg&quot; onerror=&quot;this.onerror=null; this.src='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png'; this.srcset='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png';&quot; loading=&quot;lazy&quot; width=&quot;3024&quot; height=&quot;4032&quot;/&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/figure&gt;
&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;지나가면서 들려봐야지 하던곳. 내부는 소소하다.&lt;/p&gt;
&lt;p&gt;&lt;figure class=&quot;imagegridblock&quot;&gt;
  &lt;div class=&quot;image-container&quot;&gt;&lt;span data-url=&quot;https://blog.kakaocdn.net/dn/OHQDk/btsGfwDq9u2/F2VM7IsaJBypgutvmMmokK/img.jpg&quot; data-phocus=&quot;https://blog.kakaocdn.net/dn/OHQDk/btsGfwDq9u2/F2VM7IsaJBypgutvmMmokK/img.jpg&quot; data-origin-width=&quot;3024&quot; data-origin-height=&quot;4032&quot; data-is-animation=&quot;false&quot; data-widthpercent=&quot;50&quot; style=&quot;width: 49.418605%; margin-right: 10px;&quot;&gt;&lt;img src=&quot;https://blog.kakaocdn.net/dn/OHQDk/btsGfwDq9u2/F2VM7IsaJBypgutvmMmokK/img.jpg&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;amp;fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FOHQDk%2FbtsGfwDq9u2%2FF2VM7IsaJBypgutvmMmokK%2Fimg.jpg&quot; onerror=&quot;this.onerror=null; this.src='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png'; this.srcset='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png';&quot; loading=&quot;lazy&quot; width=&quot;3024&quot; height=&quot;4032&quot;/&gt;&lt;/span&gt;&lt;span data-url=&quot;https://blog.kakaocdn.net/dn/l2lEg/btsGd0FJOJe/rIDAkQeBBPPbonV8kItY40/img.jpg&quot; data-phocus=&quot;https://blog.kakaocdn.net/dn/l2lEg/btsGd0FJOJe/rIDAkQeBBPPbonV8kItY40/img.jpg&quot; data-origin-width=&quot;3024&quot; data-origin-height=&quot;4032&quot; data-is-animation=&quot;false&quot; data-widthpercent=&quot;50&quot; style=&quot;width: 49.418605%;&quot;&gt;&lt;img src=&quot;https://blog.kakaocdn.net/dn/l2lEg/btsGd0FJOJe/rIDAkQeBBPPbonV8kItY40/img.jpg&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;amp;fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2Fl2lEg%2FbtsGd0FJOJe%2FrIDAkQeBBPPbonV8kItY40%2Fimg.jpg&quot; onerror=&quot;this.onerror=null; this.src='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png'; this.srcset='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png';&quot; loading=&quot;lazy&quot; width=&quot;3024&quot; height=&quot;4032&quot;/&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/figure&gt;
&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;포장한 계란말이김밥과 떡볶이, 집에서 끓인 우동.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;계란말이김밥이 메인이지만 떡볶이 또한 성공적이었다.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&amp;nbsp;새로 이사한 곳에서 성공적인 새로운 분식집을 찾아서 기분 좋았다.&lt;/p&gt;</description>
      <category>★/맛집</category>
      <category>떡볶이</category>
      <category>맛집</category>
      <category>분식</category>
      <category>옛날떡볶이</category>
      <category>즉석계란말이김밥</category>
      <category>천호역</category>
      <author>말킹</author>
      <guid isPermaLink="true">https://runninghorseking.tistory.com/77</guid>
      <comments>https://runninghorseking.tistory.com/77#entry77comment</comments>
      <pubDate>Fri, 5 Apr 2024 00:00:21 +0900</pubDate>
    </item>
  </channel>
</rss>