<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ko">
	<id>https://devhrxoobm.itwiki.kr/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Deposition</id>
	<title>IT 위키 - 사용자 기여 [ko]</title>
	<link rel="self" type="application/atom+xml" href="https://devhrxoobm.itwiki.kr/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Deposition"/>
	<link rel="alternate" type="text/html" href="https://devhrxoobm.itwiki.kr/w/%ED%8A%B9%EC%88%98:%EA%B8%B0%EC%97%AC/Deposition"/>
	<updated>2026-09-17T00:10:42Z</updated>
	<subtitle>사용자 기여</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://devhrxoobm.itwiki.kr/index.php?title=Model_Evaluation&amp;diff=40074</id>
		<title>Model Evaluation</title>
		<link rel="alternate" type="text/html" href="https://devhrxoobm.itwiki.kr/index.php?title=Model_Evaluation&amp;diff=40074"/>
		<updated>2024-12-02T21:21:34Z</updated>

		<summary type="html">&lt;p&gt;Deposition: 새 문서: &amp;#039;&amp;#039;&amp;#039;Model Evaluation&amp;#039;&amp;#039;&amp;#039; refers to the process of assessing the performance of a machine learning model on a given dataset. It is a critical step in machine learning workflows to ensure that the model generalizes well to unseen data and performs as expected for the target application. ==Objectives of Model Evaluation== The key objectives of model evaluation are: *&amp;#039;&amp;#039;&amp;#039;Assess Performance:&amp;#039;&amp;#039;&amp;#039; Measure how well the model predicts outcomes. *&amp;#039;&amp;#039;&amp;#039;Compare Models:&amp;#039;&amp;#039;&amp;#039; Evaluate multiple models...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Model Evaluation&#039;&#039;&#039; refers to the process of assessing the performance of a machine learning model on a given dataset. It is a critical step in machine learning workflows to ensure that the model generalizes well to unseen data and performs as expected for the target application.&lt;br /&gt;
==Objectives of Model Evaluation==&lt;br /&gt;
The key objectives of model evaluation are:&lt;br /&gt;
*&#039;&#039;&#039;Assess Performance:&#039;&#039;&#039; Measure how well the model predicts outcomes.&lt;br /&gt;
*&#039;&#039;&#039;Compare Models:&#039;&#039;&#039; Evaluate multiple models to select the best-performing one.&lt;br /&gt;
*&#039;&#039;&#039;Detect Overfitting/Underfitting:&#039;&#039;&#039; Ensure the model generalizes well without fitting too closely to the training data.&lt;br /&gt;
*&#039;&#039;&#039;Optimize Parameters:&#039;&#039;&#039; Identify areas for model improvement.&lt;br /&gt;
==Types of Evaluation Metrics==&lt;br /&gt;
Model evaluation metrics vary depending on the type of machine learning problem:&lt;br /&gt;
===Classification Metrics===&lt;br /&gt;
*&#039;&#039;&#039;Accuracy:&#039;&#039;&#039; Proportion of correct predictions out of total predictions.&lt;br /&gt;
*&#039;&#039;&#039;Precision:&#039;&#039;&#039; Proportion of true positives among predicted positives.&lt;br /&gt;
*&#039;&#039;&#039;Recall (Sensitivity):&#039;&#039;&#039; Proportion of true positives among actual positives.&lt;br /&gt;
*&#039;&#039;&#039;F1 Score:&#039;&#039;&#039; Harmonic mean of precision and recall.&lt;br /&gt;
*&#039;&#039;&#039;ROC-AUC:&#039;&#039;&#039; Measures the area under the Receiver Operating Characteristic curve, balancing true positive and false positive rates.&lt;br /&gt;
===Regression Metrics===&lt;br /&gt;
*&#039;&#039;&#039;Mean Absolute Error (MAE):&#039;&#039;&#039; Average of absolute differences between actual and predicted values.&lt;br /&gt;
*&#039;&#039;&#039;Mean Squared Error (MSE):&#039;&#039;&#039; Average of squared differences between actual and predicted values.&lt;br /&gt;
*&#039;&#039;&#039;Root Mean Squared Error (RMSE):&#039;&#039;&#039; Square root of MSE, providing error in the same units as the output.&lt;br /&gt;
*&#039;&#039;&#039;R² (Coefficient of Determination):&#039;&#039;&#039; Proportion of variance explained by the model.&lt;br /&gt;
===Clustering Metrics===&lt;br /&gt;
*&#039;&#039;&#039;Silhouette Score:&#039;&#039;&#039; Measures how well clusters are separated and cohesive.&lt;br /&gt;
*&#039;&#039;&#039;Adjusted Rand Index (ARI):&#039;&#039;&#039; Compares clustering results with ground truth.&lt;br /&gt;
*&#039;&#039;&#039;Calinski-Harabasz Index:&#039;&#039;&#039; Evaluates cluster density and separation.&lt;br /&gt;
==Model Evaluation Techniques==&lt;br /&gt;
Several techniques are used to evaluate models effectively:&lt;br /&gt;
===Holdout Method===&lt;br /&gt;
*Split the dataset into training, validation, and testing sets.&lt;br /&gt;
*Train the model on the training set, tune hyperparameters on the validation set, and evaluate performance on the testing set.&lt;br /&gt;
===Cross-Validation===&lt;br /&gt;
*Partition the dataset into \( k \) folds and perform \( k \)-fold cross-validation.&lt;br /&gt;
*Each fold serves as a testing set once, and the remaining \( k-1 \) folds are used for training.&lt;br /&gt;
===Bootstrapping===&lt;br /&gt;
*Randomly resample the dataset with replacement and evaluate the model on each resampled set.&lt;br /&gt;
===Leave-One-Out Cross-Validation (LOOCV)===&lt;br /&gt;
*Use all but one data point for training and test on the single data point. Repeat for every data point.&lt;br /&gt;
==Example: Evaluating a Classification Model in Python==&lt;br /&gt;
Using scikit-learn to evaluate a classification model:&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
from sklearn.model_selection import train_test_split, cross_val_score&lt;br /&gt;
from sklearn.ensemble import RandomForestClassifier&lt;br /&gt;
from sklearn.metrics import accuracy_score, precision_score, recall_score, f1_score&lt;br /&gt;
&lt;br /&gt;
# Example dataset&lt;br /&gt;
X = [[1, 2], [2, 3], [3, 4], [4, 5]]&lt;br /&gt;
y = [0, 0, 1, 1]&lt;br /&gt;
&lt;br /&gt;
# Split data&lt;br /&gt;
X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.25, random_state=42)&lt;br /&gt;
&lt;br /&gt;
# Train model&lt;br /&gt;
model = RandomForestClassifier(random_state=42)&lt;br /&gt;
model.fit(X_train, y_train)&lt;br /&gt;
&lt;br /&gt;
# Predictions&lt;br /&gt;
y_pred = model.predict(X_test)&lt;br /&gt;
&lt;br /&gt;
# Evaluate&lt;br /&gt;
print(&amp;quot;Accuracy:&amp;quot;, accuracy_score(y_test, y_pred))&lt;br /&gt;
print(&amp;quot;Precision:&amp;quot;, precision_score(y_test, y_pred))&lt;br /&gt;
print(&amp;quot;Recall:&amp;quot;, recall_score(y_test, y_pred))&lt;br /&gt;
print(&amp;quot;F1 Score:&amp;quot;, f1_score(y_test, y_pred))&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
==Applications of Model Evaluation==&lt;br /&gt;
*&#039;&#039;&#039;Healthcare:&#039;&#039;&#039; Assessing the performance of diagnostic models.&lt;br /&gt;
*&#039;&#039;&#039;Finance:&#039;&#039;&#039; Evaluating risk prediction models for credit scoring.&lt;br /&gt;
*&#039;&#039;&#039;Marketing:&#039;&#039;&#039; Measuring the effectiveness of customer segmentation models.&lt;br /&gt;
*&#039;&#039;&#039;Natural Language Processing (NLP):&#039;&#039;&#039; Testing sentiment analysis or text classification models.&lt;br /&gt;
==Advantages==&lt;br /&gt;
*&#039;&#039;&#039;Ensures Reliability:&#039;&#039;&#039; Provides confidence that the model will perform well on unseen data.&lt;br /&gt;
*&#039;&#039;&#039;Identifies Weaknesses:&#039;&#039;&#039; Highlights areas where the model struggles, enabling targeted improvements.&lt;br /&gt;
*&#039;&#039;&#039;Supports Model Selection:&#039;&#039;&#039; Helps choose the best model for a specific problem.&lt;br /&gt;
==Limitations==&lt;br /&gt;
*&#039;&#039;&#039;Computational Cost:&#039;&#039;&#039; Some evaluation techniques, like cross-validation, can be time-consuming.&lt;br /&gt;
*&#039;&#039;&#039;Data Dependency:&#039;&#039;&#039; Results may vary depending on the dataset split or sampling method.&lt;br /&gt;
*&#039;&#039;&#039;Over-reliance on Metrics:&#039;&#039;&#039; Metrics may not fully capture real-world performance.&lt;br /&gt;
==Related Concepts and See Also==&lt;br /&gt;
*[[Cross-Validation]]&lt;br /&gt;
*[[Hyperparameter Tuning]]&lt;br /&gt;
*[[Overfitting]]&lt;br /&gt;
*[[Underfitting]]&lt;br /&gt;
*[[Confusion Matrix]]&lt;br /&gt;
*[[Bias and Variance]]&lt;br /&gt;
*[[Clustering Metrics]]&lt;br /&gt;
[[분류:Data Science]]&lt;/div&gt;</summary>
		<author><name>Deposition</name></author>
	</entry>
	<entry>
		<id>https://devhrxoobm.itwiki.kr/index.php?title=Iron_Curtain&amp;diff=39986</id>
		<title>Iron Curtain</title>
		<link rel="alternate" type="text/html" href="https://devhrxoobm.itwiki.kr/index.php?title=Iron_Curtain&amp;diff=39986"/>
		<updated>2024-11-20T21:44:36Z</updated>

		<summary type="html">&lt;p&gt;Deposition: Created page with &amp;quot;The &amp;#039;&amp;#039;&amp;#039;Iron Curtain&amp;#039;&amp;#039;&amp;#039; refers to the political, military, and ideological barrier erected by the Soviet Union after World War II to separate itself and its satellite states in Eastern Europe from the Western world. The term symbolizes the division between communist and non-communist countries during the Cold War. Iron Curtain  === Origins of the Term === The phrase &amp;quot;Iron Curtain&amp;quot; became popular after it was used by British Prime Minister &amp;#039;...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The &#039;&#039;&#039;Iron Curtain&#039;&#039;&#039; refers to the political, military, and ideological barrier erected by the Soviet Union after World War II to separate itself and its satellite states in Eastern Europe from the Western world. The term symbolizes the division between communist and non-communist countries during the Cold War.&lt;br /&gt;
[[File:Iron Curtain.png|thumb|Iron Curtain]]&lt;br /&gt;
&lt;br /&gt;
=== Origins of the Term ===&lt;br /&gt;
The phrase &amp;quot;Iron Curtain&amp;quot; became popular after it was used by British Prime Minister &#039;&#039;&#039;Winston Churchill&#039;&#039;&#039; in his famous 1946 speech in Fulton, Missouri, known as the &amp;quot;Sinews of Peace&amp;quot; address. He stated:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;quot;From Stettin in the Baltic to Trieste in the Adriatic, an iron curtain has descended across the continent.&amp;quot;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Key Features of the Iron Curtain ===&lt;br /&gt;
&lt;br /&gt;
# &#039;&#039;&#039;Political Division&#039;&#039;&#039;: It divided Europe into two blocs:&lt;br /&gt;
#* The Eastern Bloc (Soviet Union and its allies, including Poland, East Germany, Czechoslovakia, Hungary, and others).&lt;br /&gt;
#* The Western Bloc (NATO countries, including the United States, United Kingdom, France, and others).&lt;br /&gt;
# &#039;&#039;&#039;Physical Barriers&#039;&#039;&#039;:&lt;br /&gt;
#* The Iron Curtain was not just a metaphor but included tangible borders such as the Berlin Wall, barbed wire fences, and guard posts to prevent people from fleeing communist regimes.&lt;br /&gt;
# &#039;&#039;&#039;Ideological Divide&#039;&#039;&#039;:&lt;br /&gt;
#* The Eastern Bloc promoted communism, centralized economies, and one-party rule.&lt;br /&gt;
#* The Western Bloc embraced capitalism, democracy, and political pluralism.&lt;br /&gt;
&lt;br /&gt;
=== Historical Context ===&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Post-War Europe&#039;&#039;&#039;: The division stemmed from disagreements between the Allied powers on how to manage post-war Europe, particularly Germany.&lt;br /&gt;
* &#039;&#039;&#039;Cold War Rivalry&#039;&#039;&#039;: The Iron Curtain was a central symbol of the Cold War, representing the deep distrust and conflict between the United States and the Soviet Union.&lt;br /&gt;
&lt;br /&gt;
=== Fall of the Iron Curtain ===&lt;br /&gt;
The Iron Curtain began to crumble in the late 1980s due to:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Reform movements&#039;&#039;&#039; in Eastern Europe (e.g., Poland&#039;s Solidarity movement).&lt;br /&gt;
* &#039;&#039;&#039;Mikhail Gorbachev&#039;s policies&#039;&#039;&#039; of glasnost (openness) and perestroika (restructuring).&lt;br /&gt;
* The &#039;&#039;&#039;fall of the Berlin Wall&#039;&#039;&#039; in 1989, a key event signaling the end of the division.&lt;br /&gt;
* The subsequent collapse of communist regimes across Eastern Europe and the dissolution of the Soviet Union in 1991.&lt;br /&gt;
&lt;br /&gt;
The Iron Curtain remains a powerful symbol of the Cold War era and the division of Europe during the mid-20th century.&lt;/div&gt;</summary>
		<author><name>Deposition</name></author>
	</entry>
	<entry>
		<id>https://devhrxoobm.itwiki.kr/index.php?title=%ED%8C%8C%EC%9D%BC:Iron_Curtain.png&amp;diff=39985</id>
		<title>파일:Iron Curtain.png</title>
		<link rel="alternate" type="text/html" href="https://devhrxoobm.itwiki.kr/index.php?title=%ED%8C%8C%EC%9D%BC:Iron_Curtain.png&amp;diff=39985"/>
		<updated>2024-11-20T21:44:17Z</updated>

		<summary type="html">&lt;p&gt;Deposition: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;https://en.prothomalo.com/international/The-Iron-Curtain-Five-things-to-know&lt;/div&gt;</summary>
		<author><name>Deposition</name></author>
	</entry>
	<entry>
		<id>https://devhrxoobm.itwiki.kr/index.php?title=Finite_State_Machine&amp;diff=39984</id>
		<title>Finite State Machine</title>
		<link rel="alternate" type="text/html" href="https://devhrxoobm.itwiki.kr/index.php?title=Finite_State_Machine&amp;diff=39984"/>
		<updated>2024-11-20T19:04:01Z</updated>

		<summary type="html">&lt;p&gt;Deposition: Created page with &amp;quot;A &amp;#039;&amp;#039;&amp;#039;Finite State Machine&amp;#039;&amp;#039;&amp;#039; (FSM) is a computational model used to design and analyze the behavior of systems. FSMs are characterized by a finite number of states, transitions between those states, and actions that result from those transitions. ==Overview== A finite state machine consists of: *A finite set of states. *A finite set of inputs. *A transition function that determines the next state for a given state and input. *An initial state. *(Optionally) a set of fina...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A &#039;&#039;&#039;Finite State Machine&#039;&#039;&#039; (FSM) is a computational model used to design and analyze the behavior of systems. FSMs are characterized by a finite number of states, transitions between those states, and actions that result from those transitions.&lt;br /&gt;
==Overview==&lt;br /&gt;
A finite state machine consists of:&lt;br /&gt;
*A finite set of states.&lt;br /&gt;
*A finite set of inputs.&lt;br /&gt;
*A transition function that determines the next state for a given state and input.&lt;br /&gt;
*An initial state.&lt;br /&gt;
*(Optionally) a set of final or accepting states.&lt;br /&gt;
FSMs are widely used in computer science, engineering, linguistics, and other fields for modeling sequential logic and systems.&lt;br /&gt;
==Types of Finite State Machines==&lt;br /&gt;
Finite state machines can be classified into two main types:&lt;br /&gt;
*&#039;&#039;&#039;Deterministic Finite Automaton (DFA):&#039;&#039;&#039; For every state and input, there is exactly one transition to a next state.&lt;br /&gt;
*&#039;&#039;&#039;Non-Deterministic Finite Automaton (NFA):&#039;&#039;&#039; For some states and inputs, there can be multiple possible next states or transitions.&lt;br /&gt;
Both DFAs and NFAs are equivalent in expressive power but differ in their implementation and complexity.&lt;br /&gt;
==Components==&lt;br /&gt;
The main components of an FSM are:&lt;br /&gt;
*&#039;&#039;&#039;States:&#039;&#039;&#039; Represent distinct configurations or conditions of the system.&lt;br /&gt;
*&#039;&#039;&#039;Transitions:&#039;&#039;&#039; Define how the system moves from one state to another based on inputs.&lt;br /&gt;
*&#039;&#039;&#039;Inputs:&#039;&#039;&#039; External stimuli or events that trigger transitions.&lt;br /&gt;
*&#039;&#039;&#039;Outputs (Optional):&#039;&#039;&#039; Actions or signals produced as a result of state transitions.&lt;br /&gt;
==Formal Definition==&lt;br /&gt;
An FSM can be represented as a 5-tuple:&lt;br /&gt;
*Q: A finite set of states.&lt;br /&gt;
*Σ: A finite set of input symbols (alphabet).&lt;br /&gt;
*δ: The transition function (δ: Q × Σ → Q).&lt;br /&gt;
*q₀: The initial state (q₀ ∈ Q).&lt;br /&gt;
*F: The set of final or accepting states (F ⊆ Q).&lt;br /&gt;
==Examples==&lt;br /&gt;
===Turnstile===&lt;br /&gt;
A turnstile can be modeled as an FSM with two states:&lt;br /&gt;
*&#039;&#039;&#039;Locked:&#039;&#039;&#039; The turnstile is locked and requires a coin to unlock.&lt;br /&gt;
*&#039;&#039;&#039;Unlocked:&#039;&#039;&#039; The turnstile is unlocked and allows a person to pass.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!State!!Input!!Next State!!Output&lt;br /&gt;
|-&lt;br /&gt;
|Locked||Insert Coin||Unlocked||Unlocks&lt;br /&gt;
|-&lt;br /&gt;
|Locked||Push||Locked||None&lt;br /&gt;
|-&lt;br /&gt;
|Unlocked||Push||Locked||Locks&lt;br /&gt;
|-&lt;br /&gt;
|Unlocked||Insert Coin||Unlocked||None&lt;br /&gt;
|}&lt;br /&gt;
===Vending Machine===&lt;br /&gt;
A vending machine is another example of an FSM. It processes coins and dispenses items when the correct amount is inserted.&lt;br /&gt;
==Applications==&lt;br /&gt;
Finite state machines are used in various domains, including:&lt;br /&gt;
*Designing digital circuits.&lt;br /&gt;
*Parsing and lexical analysis in compilers.&lt;br /&gt;
*Network protocols.&lt;br /&gt;
*Control systems and embedded systems.&lt;br /&gt;
*Game development for modeling NPC behavior.&lt;br /&gt;
==Advantages==&lt;br /&gt;
*Simple to design and understand.&lt;br /&gt;
*Easy to implement in hardware or software.&lt;br /&gt;
*Provides a clear visualization of system behavior.&lt;br /&gt;
==Limitations==&lt;br /&gt;
*Not suitable for modeling systems with infinite states.&lt;br /&gt;
*Can become complex and unwieldy for large systems.&lt;br /&gt;
==See Also==&lt;br /&gt;
*[[Deterministic Finite Automaton]]&lt;br /&gt;
*[[Non-Deterministic Finite Automaton]]&lt;br /&gt;
*[[State Transition Diagram]]&lt;br /&gt;
*[[Turing Machine]]&lt;br /&gt;
[[Category:Theoretical Computer Science]]&lt;/div&gt;</summary>
		<author><name>Deposition</name></author>
	</entry>
</feed>