목록Data Science/Machine Learning (20)
Code&Data Insights
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/dh5K0J/btszwgaLlSJ/CcrQFP9PI6JQTCDJKBeL40/img.png)
Regularization : prevent overfitting and improve the generalization of a model - It introduces additional constraints or penalties into the model training process to discourage the model from becoming too complex. - It aims to strike a balance between fitting the training data well and maintaining simplicity in the model Early Stopping : monitor the performance after each epoch on the validation..
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/OgBAX/btszOLVASAW/5YFRBsZKkhV3p5qPIkJk2K/img.png)
Generalization : ability of a machine learning algorithm(model) to perform well on unseen data Training Loss : loss function, computed with training set Test Loss : loss function, computed with test set => More training set leads better generalization! Capacity : Underfittingand Overfittingare connected to the capacity of the model. capacity(= representational capacity) : attempts to quantify ho..
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/sjN1V/btsonxBrW2L/LwHtmw3ZOG5ZBSdhDhm8m1/img.png)
Hyper parameters Hyper parameters : configuration values used to control and tune the behavior of machine learning algorithms and models. These parameters have a significant impact on the model's training process and performance. => Properly setting hyperparameters can optimize the model's performance and prevent overfitting. => Model Performance Optimization, Preventing Overfitting, Saving Trai..
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/blRgJA/btsn7KNCwWC/QZkrhk7PGbKzzbhsa4MMtk/img.png)
분류 예측시 confusion matrix로 TN, FN, TP, FP 를 표현 할 수 있음. 앞이 실제 값, 뒤가 예측값!!! ( FN - N 예측값 : Negative) TN - 실제 데이터셋 Negative(0), 예측 값 Negative(0) => True!!! TP - 실제 데이터셋 Positive(1), 예측 값 Positive(1) => True!!! FP - 실제 데이터셋 Negative(0), 예측 값 Positive(1) => False FN - 실제 데이터셋 Positive(1), 예측 값 Negative(0) => False 정확도 Accuracy rate - 예측 결과와 실제 값이 동일한 건수 계산? (TN + TP) / (TN + FN+TP+FP) 정밀도 Precision - 데..
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/bQirap/btsls5UIolz/ke2zWfO92czwciyhR9Dcpk/img.png)
[ K-Fold Cross Validation ] K-Fold Cross Validation : a validation technique used to evaluate the performance of a model. It involves dividing the given dataset into K different subsets (or folds), sequentially using each subset as the validation dataset, and using the remaining subsets as the training dataset. [ Grid Search ] Grid Search : Grid Search method involves training and evaluating the..
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/xTkLF/btslqhsSOwZ/bzVXW3PjTSOgnxlHQFknO1/img.png)
[ Dimensionality Reduction ] Feature Selection - a process in machine learning and data analysis where a subset of relevant features (variables or attributes) is selected from a larger set of available features. - to improve the model's performance by reducing overfitting, improving interpretability, and enhancing computational efficiency. Feature Extraction - a process in machine learning and d..
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/myCd7/btskJqSKzf9/c8wfRoEd6TM6Fwv8zG0zq0/img.png)
[ Natural Language Processing(NLP) ] Natural Language Processing(NLP) : Natural Language Processing involves the development of algorithms and models that allow computers to comprehend, generate, and interpret sentences, as well as extract meaning from text. => NLP Process (1) text data is collected and preprocessed. During this stage, the text is segmented into sentences or words through tokeni..
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/Wry3X/btskA5ucruV/kIkdkRMXUNvEFcYGpAA6S0/img.png)
[ Reinforcement Learning ] Reinforcement Learning : reinforcement learning is a field of machine learning where a computer program, known as an agent, learns and improves gradually through experience while performing tasks in a specific environment. => Agent interacts with the environment, perceives its current state, selects and executes actions, and receives rewards. => During this learning pr..