<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Pinarkosan on Medium]]></title>
        <description><![CDATA[Stories by Pinarkosan on Medium]]></description>
        <link>https://medium.com/@pinarmkosan?source=rss-bacd88a81f20------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*MoPYaKKYdMj9XWmIooFMow.jpeg</url>
            <title>Stories by Pinarkosan on Medium</title>
            <link>https://medium.com/@pinarmkosan?source=rss-bacd88a81f20------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 00:05:47 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@pinarmkosan/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[What Is Machine Learning?]]></title>
            <link>https://medium.com/arvatotech/what-is-machine-learning-2b28d7b25589?source=rss-bacd88a81f20------2</link>
            <guid isPermaLink="false">https://medium.com/p/2b28d7b25589</guid>
            <category><![CDATA[entropy]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[information-gain]]></category>
            <category><![CDATA[correlation]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Pinarkosan]]></dc:creator>
            <pubDate>Tue, 30 Dec 2025 07:07:14 GMT</pubDate>
            <atom:updated>2025-12-30T07:07:14.606Z</atom:updated>
            <content:encoded><![CDATA[<p>Machine learning is one of the most important subfields of artificial intelligence.<br> Its primary goal is to teach computers how to learn from data. In other words, instead of programming every single step manually, systems improve their performance by learning from examples, experiences, and patterns in the data.</p><p>Machine learning analyzes large datasets, identifies hidden patterns, makes predictions, and continuously optimizes itself over time.</p><p>Many of the technologies we use in daily life rely on machine learning models running in the background, such as:</p><ul><li>Netflix movie and series recommendations</li><li>Email spam detection</li><li>Credit scoring models</li><li>Smart assistants</li><li>Product recommendation systems on shopping platforms</li></ul><p>All of these are made possible by machine learning working behind the scenes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/669/1*NeASGeOyO6D7xYXzGCZVNQ.png" /></figure><p>This visual clearly illustrates the hierarchical relationship between Artificial Intelligence (AI), Machine Learning (ML), Deep Learning (DL), and Neural Networks.</p><h4>Artificial Intelligence (AI)</h4><p>Artificial Intelligence aims to enable machines and systems to behave intelligently in a human-like way.<br> It involves the ability to make decisions, solve problems, reason, and adapt to the environment.</p><p>In short: <strong>AI = machines performing tasks that require intelligence.</strong></p><h4>Machine Learning (ML)</h4><p>Machine Learning is the set of methods that allows computers to learn from data.<br> Instead of manually programming every rule, the system learns patterns from examples, generalizes from them, and makes predictions on new data.</p><p>In short: <strong>ML = the machine discovers the rules from data — you don’t write them.</strong></p><h4>Deep Learning (DL)</h4><p>Deep Learning is a more advanced and specialized subfield of machine learning that uses artificial neural networks during the learning process.<br> Its key difference is this:</p><ul><li>In traditional ML, <strong>features are usually designed by humans.</strong></li><li>In DL, <strong>the model automatically extracts features from the data.</strong></li></ul><p>Because of this, deep learning is extremely powerful in areas such as image processing, speech recognition, and natural language understanding.</p><p>In short: <strong>DL = a highly powerful method that learns its own features.</strong></p><h4>Neural Networks (NN)</h4><p>Neural Networks are the fundamental building blocks of Deep Learning.<br> They consist of small mathematical units inspired by neurons in the human brain.</p><ul><li>With a few layers → <strong>Neural Network</strong></li><li>With many deep layers → <strong>Deep Learning</strong></li></ul><p>In essence, <strong>Deep Learning is simply a large, multi-layered neural network.</strong></p><h3>Types of Machine Learning</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HA2-ihu_-YbGEqZ4KiydSg.png" /><figcaption>Types of Machine Learning</figcaption></figure><h3>1. Supervised Learning</h3><p>Supervised learning is a machine learning approach used when labeled data is available.<br> In other words, for each input, the correct output or class is already known in advance.<br> The goal of this method is to enable the model to learn from historical data and then make accurate predictions on new, unseen data.</p><p><strong>Supervised learning is typically divided into two main categories:</strong></p><h4>a) Classification</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/593/1*VPwQ_V566bI4iZ-bnSUmeg.png" /></figure><p>Classification is used when the output of the model is <em>categorical</em>.<br> For example:</p><ul><li>Spam / Not Spam</li><li>Sick / Healthy</li><li>Cat / Dog</li><li>Approved / Rejected</li></ul><p>In other words, the model tries to predict <strong>which class</strong> a given input belongs to.</p><h4>b) Regression</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/580/1*ieFxARuS-pJCqWWfCguyaw.png" /></figure><p>Regression is used when the model’s output is a continuous numerical value.<br> For example:</p><ul><li>House price prediction</li><li>Income prediction</li><li>Temperature forecasting</li><li>Sales amount prediction</li></ul><p>In this case, the model produces a numerical value corresponding to the given inputs.</p><h3>2. Unsupervised Learning</h3><p>Unsupervised learning is a machine learning approach used when you do <strong>not</strong> have labeled data.<br> In other words, you only have <em>input features</em>, but you do not know which class they belong to or what the correct output should be.</p><p>The goal of this method is to discover the natural patterns, structures, similarities, and groups within the data.<br> The model analyzes the dataset <strong>without any guidance</strong> and forms meaningful clusters or subgroups on its own.</p><h4>Common Method: Clustering</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/583/1*QwiUHja0RhwhZ-kcWs4ubg.png" /></figure><p><strong>Clustering is the most commonly used technique in unsupervised learning.</strong><br> Its purpose is to identify natural groupings within data based on similarity.</p><h4>Goals of Clustering</h4><ul><li>Group data points according to how similar they are</li><li>Reveal hidden structures and patterns within the dataset</li><li>Split unlabeled data into meaningful clusters</li></ul><h4>Examples</h4><ul><li>Segmenting customers based on their behavior</li><li>Grouping similar products to build recommendation systems</li><li>Identifying natural subgroups in large datasets</li></ul><h4>In short:</h4><p><strong>Unsupervised learning and especially clustering is the first step toward understanding the underlying structure of your data.</strong></p><h3>3. Semi-Supervised Learning)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/612/1*V_BtIF0OnxkXzWhAeqnpEA.png" /></figure><p>Semi-supervised learning is an approach used when a portion of the dataset is labeled while the majority remains unlabeled.<br> The model learns by leveraging <strong>both labeled and unlabeled data simultaneously</strong>.</p><p>This method is particularly ideal when:</p><ul><li>Labeling data is difficult, time-consuming, or costly</li><li>You have a large dataset but only a small subset is labeled</li><li>You want to achieve stronger model performance with limited labeled data</li></ul><p>In short:<br> <strong>Semi-supervised learning = a small amount of labeled data + a large amount of unlabeled data → stronger learning.</strong></p><h3>4.Reinforcement Learning</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/585/1*WsFFtapCcbeK4JKQxJAtLA.png" /></figure><p>Reinforcement learning is one of the most dynamic and interactive branches of machine learning. In this approach, the system behaves as an <strong>agent</strong> and interacts with an <strong>environment</strong>, making decisions step by step.</p><p>Unlike supervised learning,<br> ➡<strong>there are no predefined labels.</strong><br> The model learns entirely through <strong>rewards</strong> and <strong>penalties</strong>.</p><p>After each action the agent takes, it receives a reward or a negative signal.<br> <strong>The goal is simple:</strong><br> ➡Learn a strategy that <em>maximizes the total reward over time.</em></p><h4>Where Is It Used?</h4><p>Reinforcement learning is widely applied in systems that require continuous decision-making:</p><ul><li>Game-playing AI (Chess, Go, Atari games)</li><li>Autonomous vehicles</li><li>Robotics and robotic control</li><li>Smart automation systems</li><li>Dynamic pricing models</li><li>Energy optimization and smart grids</li></ul><h4>Why Is It Different?</h4><p>Reinforcement learning stands apart from other learning paradigms:</p><ul><li>There is <strong>no direct “correct answer.”</strong></li><li>The model learns by <strong>exploration</strong>, not instruction.</li><li>Improvement happens through <strong>trial-and-error</strong> combined with reward signals.</li><li>Learning is <strong>continuous and interactive</strong>, shaped by feedback from the environment.</li></ul><h4>Choosing the Right Machine Learning Method</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/919/1*aNGIGnqctZB-EQ6lBJ0Sdg.png" /></figure><h3>Feature Selection</h3><p>Feature selection is one of the most critical steps in building successful machine learning models.<br> Its primary goal is to identify the most meaningful and informative features within a dataset, allowing the model to become <strong>faster</strong>, <strong>more accurate</strong>, and <strong>more capable of generalizing</strong> to unseen data.</p><h4>Why Is Feature Selection Necessary?</h4><h4>Doctor Analogy</h4><p>One of the easiest ways to understand feature selection is through a simple real-life example.</p><p>Imagine a doctor trying to determine whether a patient is sick by examining their medical records.<br> The dataset in front of the doctor contains various pieces of information about each patient.</p><p>But which of these details actually help the doctor make the right decision?</p><ul><li>Name &amp; surname</li><li>Place of birth</li><li>Gender</li><li>Blood test results</li><li>X-ray findings</li><li>Vital signs (blood pressure, heart rate, etc.)</li><li>and so on…</li></ul><p>Some of these features are directly related to the patient’s condition, while others are completely irrelevant.<br> For example, <strong>a person’s name</strong> has no value in diagnosing a disease.<br> However, <strong>blood test results</strong> are extremely informative and critical for this decision.</p><p>The same idea applies in machine learning as well:<br>The model must identify which features are useful among many different variables.<br> This process is known as <strong>feature selection</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/659/1*lSzSz24nUCtE5yg2E360Iw.png" /></figure><p>Here:</p><p><strong>Feature 1 →</strong> For example, a value from a blood test<br> <strong>Feature 2 →</strong> For example, a score from an X-ray evaluation<br> <strong>Class →</strong> Health status (e.g., A = sick, B = healthy)</p><p>The model tries to learn the following question by looking at this data:<br> <strong>“Which class do these feature values belong to?”</strong><br> In other words, just like a doctor, it learns to make the correct decision by examining the given information.</p><p>Here, we can clearly see that <strong>Feature 1 is much more influential</strong> in determining the class compared to <strong>Feature 2</strong>.<br> One of the fundamental methods used to measure this influence numerically is <strong>correlation analysis</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/584/1*h8ITneBSHZ1EKR1PcWy0rw.png" /></figure><p><strong>Correlation</strong> is a statistical metric used to measure how strongly a feature is related to the target variable (class/output).<br> Its value ranges between <strong>–1 and +1</strong>:</p><ul><li><strong>Close to +1</strong> → Strong positive relationship (as the feature increases, the target also increases)</li><li><strong>Around 0</strong> → Little or no relationship (the feature may be useless for prediction)</li><li><strong>Close to –1</strong> → Strong negative relationship (as the feature increases, the target decreases)</li></ul><p><strong>For example:</strong></p><ul><li>If a blood test value shows a high correlation with a disease → it is a highly valuable feature.</li><li>If a person’s place of birth has no correlation with the target variable → it is useless for the model.</li></ul><p><strong>With correlation analysis, you can:</strong></p><ul><li>Eliminate features that have weak relationships with the target</li><li>Detect features that are highly correlated with each other (<strong>multicollinearity</strong>)</li><li>Build faster, more stable, and more generalizable models</li></ul><p>Therefore, correlation is one of the most important steps in both feature selection and exploratory data analysis.</p><p><strong>Özellik seçimi iki temel yöntemle yapılabilir:</strong></p><h4>1. Selecting a Subset of Existing Features</h4><p>In this approach, the existing features are evaluated and the most useful ones are chosen.</p><h4>a) Filter Methods (Evaluating Features Individually)</h4><p>Features are analyzed using statistical measures <strong>without training any machine learning model</strong>.<br> Metrics such as <strong>correlation</strong>, <strong>information gain</strong>, and <strong>chi-square</strong> are used to calculate feature importance scores.</p><ul><li>They are fast</li><li>Suitable for large datasets</li><li>Commonly preferred for initial screening</li></ul><h4>b) Wrapper Methods (Testing Feature Subsets)</h4><p>Different combinations of features are created.<br> Each subset is tested using a classifier/model.<br> The model’s performance is measured and the best subset is selected.</p><ul><li>More computationally expensive</li><li>But often yields better performance than filter methods</li></ul><h4>2. Creating New Features from Existing Ones (Feature Extraction)</h4><p>In this method, new and more representative features are generated using linear combinations or transformations of the existing features.</p><p><strong>Examples include:</strong></p><ul><li><strong>PCA (Principal Component Analysis)</strong></li><li><strong>LDA (Linear Discriminant Analysis)</strong></li><li><strong>Autoencoder-based transformations</strong></li></ul><p>This approach provides significant advantages in both speed and performance, especially when working with high-dimensional datasets.</p><h3>Examining Features Individually (Filter Methods)</h3><p>Filter methods are one of the simplest and fastest approaches to feature selection.<br> In this technique, each feature in the dataset is evaluated <strong>independently</strong>, without considering the others.</p><p>The main question they try to answer is:</p><p><strong>“If we only had this single feature, how accurately could we predict the class (or the outcome)?”</strong></p><h4>How Does It Work?</h4><p>Each feature is evaluated individually.<br> The relationship between the feature and the target variable (class/output) is examined.<br> The method checks <strong>how much the target changes when the feature itself changes</strong>.</p><p>If a change in the feature leads to a meaningful difference in the output, then:</p><p>➡<strong>That feature is considered more important for the model.</strong></p><p>These relationships are typically measured using:</p><ul><li><strong>Correlation</strong></li><li><strong>Mutual Information</strong></li><li><strong>Chi-Square Test</strong></li><li><strong>ANOVA F-score</strong></li></ul><h4>Advantages</h4><ul><li>Extremely fast</li><li>Easily applicable even to very large datasets</li><li>Low computational cost since no model training is required</li></ul><h4>Disadvantages</h4><ul><li>Evaluates features independently</li><li>Does <strong>not</strong> consider interactions between features</li></ul><h3>What Is Information Gain?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/367/1*Lk2CHLUB8J4cgMTPi2GTeA.png" /></figure><p>Information gain measures <strong>how effectively a feature can separate the classes</strong>.<br> The more it reduces uncertainty (entropy) when that feature is used,<br> the <strong>more valuable</strong> the feature becomes.<br> <strong>In other words:</strong><br> A feature that separates the classes more clearly has a higher information gain.<br> This is why information gain is commonly used in decision trees and many filter-based feature selection methods.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/823/1*pfZg5weHZaIPxXTYqFDs6Q.png" /></figure><p><strong>S→ the entire training set</strong><br> <strong>A → the feature being evaluated</strong><br> <strong>Sᵥ → the subset of samples where feature A takes the value v</strong><br> <strong>Entropy(S) → the entropy (uncertainty) of the whole dataset</strong><br> <strong>Entropy(Sᵥ) → the entropy of the corresponding subset</strong></p><ul><li>This formula essentially tells us:<br> <em>“The more uncertainty is reduced when we split the dataset using feature A, the more valuable that feature is.”</em></li></ul><h3>What Is Entropy?</h3><p>If a variable (such as a class label) can take <strong>c different values</strong>, its entropy is calculated as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/475/1*zIu5_aG9_7kOVaMwLtnL9w.png" /></figure><ul><li><strong>pᵢ → the probability of observing the i-th class value</strong></li><li>The entropy value ranges between <strong>0 and 1</strong>.</li></ul><h4>How to Interpret Entropy?</h4><ul><li><strong>If all samples belong to the same class → entropy = 0</strong><br> No uncertainty, the dataset is perfectly pure.</li><li><strong>If classes are distributed with equal probability → entropy is maximum</strong><br> Uncertainty is at its highest and the dataset is maximally mixed.</li></ul><p>Because of this, <strong>information gain</strong> is widely used in decision trees, feature ranking, and many filter-based feature selection methods.</p><h3>Let’s calculate the Information Gain of each feature for the “Picnic Decision”</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/591/1*b5wP0vAzV5GruI6Ex6naSA.png" /></figure><p>This example uses a classic <em>“Shall we go on a picnic?”</em> dataset to demonstrate how information gain is calculated.</p><h4>Step 1: Calculate the Entropy of the “Picnic” Variable</h4><p>In the dataset, the question <em>“Did we go on a picnic?”</em> has two possible answers:</p><ul><li>Yes: 3 samples → probability = 3/4</li><li>No: 1 sample → probability = 1/4</li></ul><p>Entropy(Picnic) = -(3/4) log2(3/4) — (1/4) log2(1/4) = 0.811</p><p>This value shows how “uncertain” the picnic decision is.</p><h4>Step 2: Compute Information Gain (IG) for Each Feature</h4><p>In the following examples, each feature is evaluated based on how it splits the dataset and how much it reduces the uncertainty in the picnic decision.</p><h4>Feature 1: Weather (Sunny / Rainy)</h4><p>Gain(Picnic, Weather) = 0.811 — (3/4)(Entropy(Sunny)) — (1/4)(Entropy(Rainy))</p><p>Gain(Picnic, Weather) = 0.811</p><p>This means that <em>weather</em> perfectly separates the data → it has the <strong>highest information gain</strong>.</p><h4>Feature 2: Humidity</h4><p>Gain(Picnic, Humidity) = 0.811–0.688 = 0.1225</p><h4>Feature 3: Wind</h4><p>Gain(Picnic, Wind) = 0.811–0.811= 0</p><p>This means that <em>wind</em> has <strong>no discriminative power</strong> for the picnic decision.</p><h4>Feature 4: Water Temperature</h4><p>Gain(Picnic, WaterTemp) = 0.811–0.688 = 0.1225</p><h4>Result: The Feature With the Highest Information Gain Is “Weather”</h4><p>For this reason, when constructing a decision tree, the <strong>first split</strong> is made based on the <strong>Weather</strong> feature.</p><p>In real-world applications, information gain is calculated for <strong>hundreds of features</strong>, and the model is built by selecting the ones with the <strong>highest scores</strong>.</p><h3>S2N (Signal-to-Noise) Feature Selection Method</h3><p>The <strong>S2N (Signal-to-Noise)</strong> method is a powerful feature selection technique commonly used in classification problems.<br> Its main goal is to identify the features that best distinguish between classes.</p><h4>Core Idea</h4><p>What makes a feature “good”?</p><ul><li>Large inter-class variance (high separation)</li><li><strong>Low variability within each class</strong> (low noise)</li></ul><p>The S2N metric captures exactly this:</p><ul><li>It measures the <strong>signal</strong> (difference between class means),</li><li>And divides it by the <strong>noise</strong> (variation within each class).</li></ul><p>As a result, features with <strong>high signal and low noise</strong> are selected — these are the most informative features for classification.</p><h3>S2N Formula</h3><p>The S2N value of a feature is calculated as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/698/1*u3pZfOfHtaGVo4khuVq6Uw.png" /></figure><p>In detail:</p><ul><li><strong>m₁</strong> → Mean of the feature in <strong>Class 1</strong></li><li><strong>m₂</strong> → Mean of the feature in <strong>Class 2</strong></li><li><strong>d₁</strong> → Standard deviation of the feature in <strong>Class 1</strong></li><li><strong>d₂</strong> → Standard deviation of the feature in <strong>Class 2</strong></li></ul><h4>Interpreting the S2N Value</h4><ul><li><strong>f Sᵢ is large</strong> → the feature provides strong separation between the classes.</li><li><strong>If Sᵢ is small</strong> → the feature does not effectively differentiate between the classes.</li><li><strong>If Sᵢ ≈ 0</strong> → the feature carries almost no useful information.</li></ul><p><strong>Therefore:</strong><br> Features with the <strong>highest S2N values</strong> are selected and passed to the classification model, as they offer the strongest discriminatory power.</p><h4>Why Use S2N?</h4><ul><li><strong>It is extremely fast.</strong></li><li><strong>It evaluates a feature’s discriminative power without training any model.</strong></li><li><strong>It is widely used in high-dimensional datasets</strong> (e.g., gene expression data, biomedical signals).</li><li><strong>It performs very well on noisy datasets</strong>, where other methods may struggle.</li></ul><h3>Wrapper Methods (Feature Subset Selectors)</h3><p>Wrapper methods are feature selection techniques that evaluate subsets of features <strong>by directly measuring the performance of a classifier</strong>.<br> Each candidate feature subset is tested with a model, and the subset that produces the <strong>highest classification performance</strong> is selected.</p><h4>Core Idea</h4><ul><li>If there are <strong>N features</strong>, the total number of possible subsets is:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/57/1*VUOB7C1dAWcBGWoTSFqAuQ.png" /></figure><p>This means:</p><ul><li>With <strong>10 features → ²¹⁰ = 1,024</strong> possible subsets</li><li>With <strong>20 features → ²²⁰ ≈ 1 million</strong> possible subsets</li></ul><p>Because the number of combinations grows exponentially, evaluating <strong>all</strong> subsets becomes extremely costly in practice.</p><h4>Why Is It Called a “Wrapper”?</h4><p>It is called a <em>wrapper</em> because the feature selection process is essentially <strong>“wrapped around” a classifier</strong> (e.g., Decision Tree, KNN, SVM).</p><p>Each feature subset is evaluated <strong>by training and testing the model</strong>, and:</p><ul><li>Every subset is tried with the classifier</li><li>Its performance (accuracy / error) is measured</li><li>The subset that performs best is selected</li></ul><h4>Speed-Up Techniques Instead of Testing All Subsets</h4><p>Since trying all possible subsets is extremely costly, smarter search strategies are used:</p><h4>A) Backward Elimination</h4><ul><li>Start with <strong>all features</strong>.</li><li>Remove one feature at each step.</li><li>Retrain the model and compare performance after each removal.</li><li>Continue eliminating the feature that <strong>hurts performance the least</strong>.</li></ul><h4>B) Forward Selection</h4><ul><li>Start with <strong>no features</strong>.</li><li>Add one feature at each step.</li><li>Train the model and measure performance after each addition.</li><li>Continue adding the feature that <strong>improves performance the most</strong>.</li></ul><h3>Feature Extraction (Creating New Features)</h3><p>Feature extraction creates a new feature space by forming <strong>linear combinations or transformations</strong> of existing features.<br> The goal is to represent the data in a <strong>more compact and meaningful</strong> way often by reducing dimensionality while preserving as much variance/information as possible.</p><p>There are two commonly used methods:</p><h3>1. Principal Component Analysis (PCA)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/217/1*bsjFvijM-l4UyQpNWX7BDQ.png" /></figure><p>In this method, the dimensions along which the samples exhibit the <strong>greatest variation</strong> are identified.<br> For example, when examining the projections of the data on axes <strong>C1</strong> and <strong>C2</strong>, if the variation along <strong>C1</strong> is larger, then:</p><p>When reducing the data from two dimensions to one, the samples are projected onto <strong>C1</strong>.</p><p>PCA does <strong>not</strong> use class labels; it is a method entirely based on <strong>variance</strong>.</p><h3>2. Linear Discriminant Analysis (LDA)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/274/1*DF4VPwjPybfGocndVfwG4A.png" /></figure><p>Unlike PCA, LDA makes use of <strong>class label information</strong>.<br> It constructs a new axis that <strong>maximizes the separation between classes</strong> while <strong>minimizing the within-class variance</strong>.</p><p>For this reason, LDA is preferred in situations where classes need to be clearly distinguished from one another.</p><p>Although it can be used for dimensionality reduction, its primary purpose is to <strong>improve classification performance</strong> by finding a more discriminative feature space.</p><h3>Evaluating Model Performance and Metrics</h3><p>To understand how well a machine learning model performs, several evaluation metrics are used.<br> At the core of these metrics lies the <strong>Confusion Matrix</strong>, which provides a detailed breakdown of the model’s correct and incorrect predictions.</p><p>This structure is especially important in <strong>classification</strong> problems, as it allows us to analyze the model’s behavior across different outcome categories.</p><h4>Confusion Matrix</h4><p>A Confusion Matrix compares the model’s predictions with the actual (true) labels.<br> It organizes the results into <strong>four fundamental categories</strong> in a classification task:</p><ol><li><strong>True Positive (TP)</strong></li></ol><p>A True Positive occurs when the model correctly predicts a positive instance as <strong>positive</strong>.</p><p><strong>Example:</strong><br> A medical test scenario:</p><ul><li>Actual: Patient <em>has</em> the disease</li><li>Model prediction: “Positive”<br> → This is a <strong>TP</strong>.</li></ul><p>2.<strong> True Negative (TN)</strong></p><p>A True Negative occurs when the model correctly predicts a negative instance as <strong>negative</strong>.</p><p><strong>Example:</strong></p><ul><li>Actual: Healthy</li><li>Model prediction: “Healthy”<br> → This is a <strong>TN</strong>.</li></ul><p><strong>3. False Positive (FP)</strong></p><p>A False Positive occurs when the model incorrectly predicts a <strong>negative</strong> instance as <strong>positive</strong>.</p><p><strong>Example:</strong></p><ul><li>Actual: Healthy</li><li>Model prediction: “Predicted: Sick”<br> → This is an <strong>FP</strong>.</li></ul><p>This type of mistake is known as a <strong>Type I Error</strong>.</p><p><strong>4. False Negative (FN)</strong></p><p>A False Negative occurs when the model incorrectly predicts a <strong>positive</strong> instance as <strong>negative</strong>.</p><p><strong>Example:</strong></p><ul><li>Actual: Sick</li><li>Model prediction: “Healthy”<br> → This is an <strong>FN</strong>.</li></ul><p>This type of error is more dangerous because a real positive case is missed.<br> It is known as a <strong>Type II Error</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/543/1*NwUCPVJ9czEyhkFXRA19Tg.png" /></figure><h4>Performance Metrics</h4><p>Using the TP, TN, FP, and FN values from the confusion matrix, several performance metrics can be calculated to evaluate a model’s effectiveness.<br> These metrics help us understand:</p><ul><li>how accurately the model makes predictions,</li><li>which classes it struggles with, and</li><li>how well it distinguishes true positive and true negative cases.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/721/1*qJcef-j1diYhkVN5aZc8MQ.png" /></figure><ol><li><strong>Accuracy</strong></li></ol><p>Accuracy shows <strong>what percentage of all predictions made by the model are correct</strong>.</p><p>Formula:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/531/1*7K30IcTv61CG3I8FmXKcGQ.png" /></figure><h3>Example</h3><p>There are 100 emails, and the model correctly classifies 90 of them → <strong>Accuracy = 90%</strong></p><p><strong>Note:</strong><br> Accuracy can be misleading when the data is imbalanced<br> (e.g., 95% normal, 5% spam).<br> A model that predicts <em>everything as normal</em> would still have <strong>95% accuracy</strong>,<br> but it would be a <strong>bad classifier</strong>.</p><p><strong>2.Precision</strong></p><p>Precision shows <strong>how many of the instances that the model predicted as positive are actually positive</strong>.</p><p>In other words:<br> Out of all the “positive” predictions the model makes, how many are correct?</p><p>Formula:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/767/1*uPghy-7uORbcCv1fZTFOvA.png" /></figure><p><strong>Example:</strong><br> The model labels 20 emails as “Spam.”<br> If 15 of them are actually spam → <strong>Precision = 15/20 = 75%</strong></p><p>In other words:<br> Precision = <strong>“the ability to avoid false alarms.”</strong></p><p>If a spam filter produces too many false positives (wrongly flagging normal emails as spam), its <strong>precision decreases</strong>.</p><p><strong>3.Recall</strong></p><p>Recall shows <strong>how many of the actual positive cases the model is able to correctly identify</strong>.</p><p>In other words, it measures the model’s ability to <strong>avoid missing real positives</strong>.</p><p>Formula:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/850/1*lo1i4A1HYedkg3VXMOghsQ.png" /></figure><p><strong>Example:</strong><br> There are 30 actual spam emails.<br> If the model correctly identifies 27 of them → <strong>Recall = 27/30 = 90%</strong></p><p>Recall = <strong>“the ability to avoid missing real positives.”</strong></p><p>It is one of the most important metrics in medical testing:<br> → Misclassifying a truly sick person as “healthy” (FN) can be extremely dangerous.</p><p><strong>4.F1 Score</strong></p><p>F1 Score is the <strong>harmonic mean</strong> of Precision and Recall.<br> It provides a <strong>balanced measure</strong> of performance, especially when the dataset is imbalanced or when both false positives and false negatives matter.</p><p>Formula:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/733/1*YXJccInafP-G-LrV47GZIw.png" /></figure><p>If a model has a <strong>high F1 score</strong>, it means:</p><ul><li>It produces <strong>few false alarms</strong> (low FP)</li><li>It <strong>misses fewer real positives</strong> (low FN)</li><li>It performs in a <strong>balanced and reliable</strong> way</li></ul><p>This is why F1 Score is considered one of the <strong>most important metrics</strong> in many real-world machine learning projects.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/568/1*QZWC5tQkVC8_WYoOPrS8pg.png" /></figure><h4>Model Fit</h4><p>Model fit refers to how well a model matches or represents the underlying patterns in the data.</p><ul><li><strong>If the model is too simple → Underfitting:</strong><br> It cannot capture the relationships in the data and shows low performance.</li><li><strong>If the model is too complex → Overfitting:</strong><br> It memorizes the training data and cannot generalize to new, unseen data.</li></ul><p><strong>Goal:</strong><br> To obtain a model that is <strong>neither underfitting nor overfitting</strong>, but has strong generalization ability.</p><h3>Overfitting</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/252/1*St9A_ghP6WMgbJZcP5SLbQ.png" /></figure><p>The model memorizes the training data and performs poorly on new, real-world data.</p><h4>Symptoms:</h4><ul><li>Very high accuracy on the training set</li><li>Low accuracy on the test set</li><li>The model is unnecessarily complex</li><li>It even memorizes noisy data</li></ul><p><strong>Causes of Overfitting:</strong></p><ul><li>Too many features</li><li>Highly complex models (deep trees, large neural networks)</li><li>Insufficient amount of data</li><li>Noisy data</li></ul><h3>Underfitting</h3><p>The model fails to learn the underlying structure of the data → it performs poorly on both the training and test sets.</p><p><strong>Symptoms:</strong></p><ul><li>Low training accuracy</li><li>Low test accuracy</li><li>The model is too simple</li></ul><p><strong>Causes of Underfitting:</strong></p><ul><li>The model is overly simple (linear model, shallow tree)</li><li>Too few features are used</li><li>Too few epochs (insufficient training)</li><li>The data relationships are complex, but the model cannot capture them</li></ul><p><strong>How to Fix Underfitting:</strong></p><ul><li>Increase model complexity</li><li>Add more features</li><li>Train the model for more epochs</li><li>Choose a more suitable model (e.g., a tree or neural network instead of a linear model)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/566/1*qYkF3MWCzn0a8_FNo7pXTQ.png" /></figure><p>In this study, the fundamental concepts of machine learning, the core components of model building, and the main algorithm types were examined in a structured and systematic way. The distinctions between methods such as classification, regression, clustering, semi-supervised learning, and reinforcement learning were explained using both theoretical descriptions and visual examples. Additionally, model performance evaluation was detailed through correlation analysis and key metrics including accuracy, precision, recall, and F1 score.</p><p>As seen throughout the discussion, understanding the data, interpreting features correctly, and evaluating performance with the right metrics are just as important as selecting the appropriate model for a machine learning problem.</p><p>Therefore, a successful model development process requires a holistic approach — one that includes data analysis, proper model selection, controlling overfitting and underfitting, and finally, measuring performance accurately.</p><p>The purpose of this article is precisely to support this structure and to clearly demonstrate <strong>when, why, and how</strong> different algorithms should be used.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2b28d7b25589" width="1" height="1" alt=""><hr><p><a href="https://medium.com/arvatotech/what-is-machine-learning-2b28d7b25589">What Is Machine Learning?</a> was originally published in <a href="https://medium.com/arvatotech">Arvato Tech</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Makine Öğrenmesi Nedir?]]></title>
            <link>https://medium.com/@pinarmkosan/makine-%C3%B6%C4%9Frenmesi-nedir-cd2238726680?source=rss-bacd88a81f20------2</link>
            <guid isPermaLink="false">https://medium.com/p/cd2238726680</guid>
            <category><![CDATA[information-gain]]></category>
            <category><![CDATA[entropy]]></category>
            <category><![CDATA[correlation]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Pinarkosan]]></dc:creator>
            <pubDate>Sat, 27 Dec 2025 20:15:17 GMT</pubDate>
            <atom:updated>2025-12-27T20:15:17.013Z</atom:updated>
            <content:encoded><![CDATA[<p>Makine öğrenmesi, yapay zekanın en önemli alt dallarından biridir.<br> Temel amacı, bilgisayarlara <strong>verilerden öğrenmeyi öğretmektir</strong>. Yani sistemler, her adımı tek tek programlanmadan; örneklerden, deneyimlerden ve verilerden beslenerek kendi performanslarını geliştirebilir.</p><p>Makine öğrenmesi, büyük veri kümeleri içindeki kalıpları analiz eder, tahminlerde bulunur ve zaman içinde kendini optimize eder.<br> Bugün günlük hayatımızda kullandığımız birçok teknoloji bunun üzerine kuruludur:</p><ul><li>Netflix film/dizi önerileri</li><li>E-posta spam filtreleri</li><li>Kredi skoru modelleri</li><li>Akıllı asistanlar</li><li>Alışveriş sitelerindeki ürün önerileri</li></ul><p>Hepsi arka planda bir makine öğrenmesi modelinin çalışması sayesinde mümkün olur.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/669/1*NeASGeOyO6D7xYXzGCZVNQ.png" /></figure><p>Bu görsel, yapay zeka (AI), makine öğrenmesi (ML), derin öğrenme (DL) ve sinir ağları (Neural Networks) arasındaki hiyerarşik ilişkiyi basit ve net bir şekilde göstermektedir.</p><h4>Yapay Zeka (AI)</h4><p>Yapay zeka, bir makine ya da sistemin insan benzeri şekilde <strong>zekice davranmasını</strong> sağlamayı hedefler.<br> Yani karar verir, problem çözer, mantık yürütür ve çevresine uyum sağlar.</p><p>Kısaca: <strong>AI = zeka gerektiren görevleri makinelerin yapabilmesi.</strong></p><h4>Makine Öğrenmesi (ML)</h4><p>Makine öğrenmesi, bilgisayarların <strong>veriden öğrenmesini</strong> sağlayan yöntemdir.<br> Burada kurallar tek tek programlanmaz; sistem örnekleri görerek öğrenir, geneller ve yeni durumlarda tahmin yapar.</p><p>Kısaca: <strong>ML = kuralları sen yazmazsın, makine veriden çıkarır.</strong></p><h4>Derin Öğrenme (DL)</h4><p>Deep Learning, makine öğrenmesinin daha gelişmiş ve özel bir alt dalıdır. Öğrenme sürecinde <strong>yapay sinir ağlarını</strong> kullanır.</p><p>En büyük farkı şudur:<br> Geleneksel ML modellerinde özellikleri (features) genellikle sen belirlersin.<br> Ama <strong>DL modelleri, özellikleri veriden kendisi otomatik olarak çıkarır.</strong></p><p>Bu nedenle görüntü işleme, ses tanıma, doğal dil işleme gibi alanlarda çok daha etkilidir.</p><p>Kısaca:<br> <strong>DL = özellikleri kendi bulan, çok güçlü bir öğrenme yöntemi.</strong></p><h4>Sinir Ağları (NN)</h4><p>Sinir ağları, Deep Learning’in temel yapı taşıdır.<br> İnsan beynindeki nöronlara benzeyen küçük matematiksel fonksiyonlardan oluşurlar.</p><ul><li><strong>Az katmanlıysa → Neural Network (Sinir Ağı)</strong></li><li><strong>Katmanlar çok fazla ve derinse → Deep Learning</strong></li></ul><p>Yani aslında <strong>Deep Learning = çok katmanlı ve büyük bir sinir ağıdır.</strong></p><h3>Makine Öğrenmesi Türleri</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HA2-ihu_-YbGEqZ4KiydSg.png" /><figcaption>ML Türleri</figcaption></figure><h3>1. Denetimli Öğrenme (Supervised Learning)</h3><p>Denetimli öğrenme, elinizde <strong>etiketli veri</strong> olduğu durumlarda kullanılan bir makine öğrenmesi yöntemidir.<br> Yani her girdinin hangi sınıfa ait olduğunu veya doğru çıktısının ne olduğunu önceden bilirsiniz.</p><p>Bu yöntemin amacı, modelin geçmiş verilerden öğrendikten sonra <strong>daha önce hiç görmediği yeni veriler için doğru tahminler yapabilmesini</strong> sağlamaktır.</p><p><strong>Denetimli öğrenme iki ana kategoriye ayrılır:</strong></p><h4>a) Sınıflandırma (Classification)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/583/1*E0-uQPz07C-noY8QpqFnWg.png" /></figure><p>Modelin çıktısının <strong>kategorik</strong> olduğu durumlarda kullanılır.<br> Örneğin:</p><ul><li>Spam / Normal</li><li>Hasta / Sağlıklı</li><li>Kedi / Köpek</li><li>Onaylandı / Reddedildi</li></ul><p>Yani model, bir girdinin <strong>hangi sınıfa</strong> ait olduğunu tahmin eder.</p><h4>b) Regresyon (Regression)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/601/1*TQ_f0o-AjioxnEFjIcXJWg.png" /></figure><p>Modelin çıktısının <strong>sürekli bir sayısal değer</strong> olduğu durumlarda kullanılır.<br> Örneğin:</p><ul><li>Ev fiyatı tahmini</li><li>Gelir tahmini</li><li>Hava sıcaklığı tahmini</li><li>Satış miktarı tahmini</li></ul><p>Bu durumda model, girdilere karşılık <strong>bir sayı</strong> üretir.</p><h3>2. Denetimsiz Öğrenme (Unsupervised Learning)</h3><p>Denetimsiz öğrenme, elinizde <strong>etiketli veri olmadığı</strong> durumlarda kullanılan bir makine öğrenmesi yaklaşımıdır.<br> Yani yalnızca “girdi” vardır; fakat bu girdilerin hangi sınıfa ait olduğunu veya doğru çıktısının ne olması gerektiğini bilmezsiniz.</p><p>Bu yöntemin amacı, verinin içinde doğal olarak oluşmuş <strong>desenleri, yapıları, benzerlikleri ve grupları</strong> keşfetmektir.<br> Model herhangi bir yönlendirme almadan veri setini analiz eder ve kendi içinde anlamlı alt kümeler oluşturur.</p><h4>Yaygın Yöntem: Clustering (Kümeleme / Gruplama)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/595/1*CUMtICmH5nP7p62_7FSu6w.png" /></figure><p>Clustering, denetimsiz öğrenmede en sık kullanılan tekniktir.<br> Amaç:</p><ul><li>Veri noktalarını <strong>birbirlerine benzerliklerine göre</strong> gruplara (cluster’lara) ayırmak</li><li>Veri içinde saklı kalmış yapıları ortaya çıkarmak</li><li>Önceden sınıflandırılmamış veriyi anlamlı kümelere bölmek</li></ul><p>Örneğin:</p><ul><li>Müşterileri davranışlarına göre segmentlere ayırmak</li><li>Benzer özelliklere sahip ürünleri gruplayarak öneri sistemi oluşturmak</li><li>Büyük veri setinde doğal alt grupları ortaya çıkarmak</li></ul><p>Kısaca: <strong>Denetimsiz öğrenme, veriyi anlamlandırmanın ilk adımıdır.</strong></p><h3>3. Yarı Denetimli Öğrenme (Semi-Supervised Learning)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*jTX1jPDWeb0d3Z_PPWTOng.png" /></figure><p>Yarı denetimli öğrenme, veri setinin bir kısmının <strong>etiketli</strong>, büyük kısmının ise <strong>etiketsiz</strong> olduğu durumlarda kullanılan bir öğrenme yaklaşımıdır.<br> Model, her iki veri türünden aynı anda yararlanarak öğrenir.</p><p>Bu yöntem özellikle şu durumlarda idealdir:</p><ul><li>Veri etiketlemek <strong>zor</strong>, <strong>zaman alıcı</strong> veya <strong>maliyetli</strong> olduğunda</li><li>Elinizde çok fazla veri olduğu hâlde yalnızca küçük bir kısmının etiketli olduğu senaryolarda</li><li>Sınırlı etiketli veriyle daha güçlü modeller elde etmek istendiğinde</li></ul><p>Kısaca:<br> <strong>Semi-supervised learning = az etiketli veri + çok etiketsiz veri → daha güçlü öğrenme.</strong></p><h3>4. Pekiştirmeli Öğrenme (ReInforcement)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/585/1*WsFFtapCcbeK4JKQxJAtLA.png" /></figure><p>Pekiştirmeli öğrenme, makine öğrenmesinin en dinamik ve etkileşimli yöntemlerinden biridir. Bu yöntemde sistem bir <strong>ajan (agent)</strong> olarak davranır ve bir <strong>çevre (environment)</strong> ile etkileşime girerek kararlar verir.</p><p>Çıktı doğrudan “etiket” olarak verilmez.<br> Model, <strong>ödül (reward)</strong> ve <strong>ceza (penalty)</strong> geri bildirimleri üzerinden öğrenir.</p><p>Ajan, yaptığı her eylemin sonucunda bir ödül veya ceza alır.<br> Amaç:<br> Zaman içinde <strong>toplam ödülü maksimize eden</strong> davranışları öğrenmek.</p><h4>Nerelerde Kullanılır?</h4><ul><li>Oyun oynayan yapay zekâ (Chess, Go, Atari oyunları)</li><li>Otonom araçlar</li><li>Robot kontrolü</li><li>Akıllı otomasyon sistemleri</li><li>Dinamik fiyatlandırma</li><li>Enerji optimizasyonu</li></ul><h4>Neden Farklıdır?</h4><p>Direkt “doğru cevap” verilmez<br> Model keşfederek öğrenir<br> Deneme-yanılma + ödül mekanizması ile gelişir<br> Sürekli etkileşimli bir süreçtir</p><h4>Makine Öğrenmesi Yöntem Seçimi</h4><ul><li>Çıktı biliniyor → kategorik → <strong>Classification</strong></li><li>Çıktı biliniyor → sayısal → <strong>Regression</strong></li><li>Veri etiketsiz → desen keşfi → <strong>Clustering</strong></li><li>Az etiket + çok etiketsiz → <strong>Semi-Supervised</strong></li><li>Karar + eylem + ödül/ceza → <strong>Reinforcement Learning</strong></li></ul><h3>Özellik Seçimi (Feature Selection)</h3><p>Makine öğrenmesinde modellerin başarısını belirleyen en kritik adımlardan biri <strong>özellik seçimi</strong>dir. Amaç, veri setindeki en anlamlı özellikleri seçerek modeli daha hızlı, daha doğru ve daha genellenebilir hâle getirmektir.</p><h4>Özellik Seçimi Neden Gerekli?</h4><h4>Doktor Örneği</h4><p>Özellik seçimini anlamanın en kolay yolu, gerçek hayattan basit bir örnek düşünmektir.</p><p>Diyelim ki bir <strong>doktor</strong> hastalarının dosyalarına bakarak <strong>kimin hasta olduğunu</strong> belirlemeye çalışıyor.<br> Elindeki veri, kişilere ait çeşitli bilgilerden oluşuyor.</p><p>Peki doktor bu kararı verirken hangi bilgilere bakar?</p><ul><li>Ad–Soyad</li><li>Doğum yeri</li><li>Cinsiyet</li><li>Kan tahlili sonuçları</li><li>Röntgen sonuçları</li><li>Vitaller, tansiyon, nabız</li><li>vb.</li></ul><p>Bu bilgilerden bazıları <strong>hastalıkla doğrudan ilişkiliyken</strong>, bazıları tamamen ilgisizdir.<br> Örneğin <em>“ad soyad”</em> bir kişinin hasta olup olmadığını belirlemede hiçbir işe yaramaz.<br> Ama <em>“kan tahlili sonuçları”</em> çok değerli bir özelliktir.</p><p>Makine öğrenmesinde de durum aynıdır:<br> Model, birçok özellik arasında <strong>işe yarayanları seçmek</strong> zorundadır.<br> İşte buna <strong>özellik seçimi (feature selection)</strong> denir.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/370/1*hr_ak-x-RhO7mquQyB9xrw.png" /></figure><p>Burada:</p><ul><li><em>1. Özellik</em> → Örneğin kan tahlilinde bir değer</li><li><em>2. Özellik</em> → Örneğin röntgen skorlaması</li><li><em>Sınıf</em> → Hastalık durumu (A = hasta, B = sağlıklı gibi)</li></ul><p>Model bu verilere bakarak şu soruyu öğrenmeye çalışır:</p><p><strong>“Bu özellik değerleri hangi sınıfa ait?”</strong></p><p>Yani aynı bir doktor gibi, veriye bakıp doğru kararı vermeyi öğrenir.</p><p>Burada 1. özelliğin sınıfı belirlemede 2. özellikten çok daha etkili olduğunu görebiliyoruz.</p><p><strong>Bu etkinin sayısal olarak ölçülmesinde en temel yöntemlerden biri <em>korelasyon</em> analizidir.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/553/1*LohUl2hu0kEP_iAeSJKYuw.png" /></figure><p><strong>Korelasyon</strong>, bir özelliğin hedef değişkenle (sınıf/çıktı) ne kadar ilişkili olduğunu ölçmek için kullanılan istatistiksel bir metriktir.<br> Değeri <strong>–1 ile +1</strong> arasında değişir:</p><ul><li><strong>+1’e yakın</strong> → güçlü pozitif ilişki</li><li><strong>0 civarı</strong> → ilişki yok (özellik faydasız olabilir)</li><li><strong>–1’e yakın</strong> → güçlü negatif ilişki</li></ul><p>Örneğin:</p><ul><li>Kan tahlili bir hastalıkla yüksek korelasyon gösteriyorsa → <strong>çok değerli bir feature’dır.</strong></li><li>Doğum yeri hedef değişkenle korelasyonsuzsa → <strong>model için gereksizdir.</strong></li></ul><p>Korelasyon analizi sayesinde:</p><ul><li>Hedefle ilişkisi zayıf özellikler elenir</li><li>Birbirleriyle çok yüksek ilişkiye sahip (multicollinearity) özellikler belirlenir</li><li>Modelin daha hızlı ve daha kararlı çalışması sağlanır</li></ul><p>Bu nedenle korelasyon, hem özellik seçiminin hem de veri ön analizinin en önemli adımlarından biridir.</p><p><strong>Özellik seçimi iki temel yöntemle yapılabilir:</strong></p><h4>1. Var Olan Özelliklerden Bazılarını Seçmek</h4><p>Bu yaklaşımda mevcut özellikler değerlendirilir ve en faydalı olanlar belirlenir.</p><h4>a) Filter Yöntemleri (Özellikleri Tek Tek Değerlendirme)</h4><ul><li>Özellikler, herhangi bir makine öğrenmesi modeli kullanmadan <strong>istatistiksel ölçütlerle</strong> analiz edilir.</li><li>Korelasyon, bilgi kazanımı (information gain), chi-square gibi yöntemlerle özelliklerin önem puanları hesaplanır.</li><li>Hızlıdır ve büyük veri setlerinde sıkça tercih edilir.</li></ul><h4>b) Wrapper Yöntemleri (Alt Küme Denemeleri)</h4><ul><li>Özelliklerin farklı kombinasyonları oluşturulur.</li><li>Her kombinasyon bir sınıflandırıcı/model üzerinde test edilir.</li><li>Performans ölçülerek en iyi alt küme seçilir.</li><li>Daha maliyetlidir ama çoğu zaman daha iyi sonuç verir.</li></ul><h4>2. Var Olan Özelliklerden Yeni Özellikler Üretmek (Feature Extraction)</h4><p>Bu yöntemde mevcut özelliklerin <strong>lineer birleşimleri</strong> veya dönüşümleri kullanılarak yeni, daha temsil gücü yüksek özellikler oluşturulur.</p><p>Örnek:</p><ul><li><strong>PCA (Principal Component Analysis)</strong></li><li><strong>LDA (Linear Discriminant Analysis)</strong></li><li><strong>Autoencoder tabanlı dönüşümler</strong></li></ul><p>Bu yöntem, özellikle çok boyutlu verilerde hem hız hem de performans avantajı sağlar.</p><h3>Özellikleri Birer Birer İnceleme (Filter Methods)</h3><p>Filter yöntemleri, özellik seçiminin en temel ve en hızlı yaklaşımlarından biridir.<br> Bu yöntemde verideki <strong>her bir özellik, diğerlerinden bağımsız olarak tek tek değerlendirilir.</strong></p><p>Amaç şu soruya cevap aramaktır:</p><p><strong>“Eğer elimizde yalnızca bu özellik olsaydı, sınıfı (veya sonucu) ne kadar doğru tahmin edebilirdik?”</strong></p><h4>Nasıl Çalışır?</h4><ul><li>Her bir özellik tek başına ele alınır.</li><li>Özellik ile hedef değişken (sınıf/çıktı) arasındaki ilişki incelenir.</li><li>Özellik değiştiğinde sınıfın veya sonucun ne kadar değiştiğine bakılır.</li></ul><p>Eğer özellikteki değişim, çıktı üzerinde anlamlı bir farklılığa yol açıyorsa:</p><p><strong>O özellik, model için daha önemlidir</strong> denir.</p><p><strong>Bu ilişkiler çoğunlukla şu ölçütlerle değerlendirilir:</strong></p><ul><li>Korelasyon</li><li>Mutual Information (Bilgi Kazanımı)</li><li>Chi-Square testi</li><li>ANOVA F-skoru</li></ul><h4>Avantajları</h4><ul><li>Çok hızlıdır.</li><li>Büyük veri setlerinde bile rahatlıkla uygulanır.</li><li>Model kullanılmadan çalıştığı için hesaplama maliyeti düşüktür.</li></ul><h4>Dezavantajları</h4><ul><li>Özellikleri bağımsız olarak değerlendirir; özellikler arasındaki etkileşimi dikkate almaz.</li></ul><h3>Bilgi Kazancı (Information Gain) Nedir?</h3><p>Bilgi kazancı, bir özelliğin sınıfı ne kadar iyi ayırabildiğini ölçer.<br> Özellik kullanıldığında <strong>belirsizlik (entropy)</strong> ne kadar azalırsa, bilginin değeri o kadar yüksek sayılır.<br> Yani:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/367/1*Lk2CHLUB8J4cgMTPi2GTeA.png" /></figure><p><strong>Sınıfı daha net ayıran özellik → daha yüksek bilgi kazancına sahiptir.</strong></p><p>Bu yüzden karar ağaçları ve birçok filtre yönteminde sıkça kullanılır.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/823/1*pfZg5weHZaIPxXTYqFDs6Q.png" /></figure><ul><li><strong>S</strong> → tüm eğitim kümesi</li><li><strong>A</strong> → değerlendirilen özellik</li><li><strong>Sᵥ</strong> → A özelliğinin v değerini aldığı örneklerden oluşan alt küme</li><li><strong>Entropy(S)</strong> → tüm veri setinin karışıklık/bağımsızlık ölçüsü</li><li><strong>Entropy(Sᵥ)</strong> → ilgili alt kümenin entropisi</li><li>Bu formül şunu söyler:</li></ul><p><em>“Özellik A ile veri setini böldüğümüzde belirsizlik ne kadar azalıyorsa, A o kadar değerlidir.”</em></p><h3>Entropi (Entropy) Nedir?</h3><p>Entropi, veri setinin <strong>ne kadar düzensiz / karışık / belirsiz</strong> olduğunu ölçer.<br> Bir kavramın (örneğin bir sınıfın) <strong>c farklı değeri</strong> varsa, entropi şu şekilde hesaplanır:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/475/1*zIu5_aG9_7kOVaMwLtnL9w.png" /></figure><ul><li><strong>pᵢ</strong> → sınıfın i. değerinin görülme olasılığı</li><li>Entropi değeri <strong>0 ile 1</strong> arasında değişir.</li></ul><h4>Entropi nasıl yorumlanır?</h4><ul><li>Eğer tüm örnekler <strong>aynı sınıfa</strong> aitse → entropi = <strong>0</strong> (belirsizlik yok)</li><li>Sınıflar <strong>eşit olasılıkla</strong> dağılmışsa → entropi <strong>maksimum</strong> (belirsizlik en yüksek)</li></ul><p>Bu nedenle bilgi kazancı, özellikle <strong>karar ağaçları</strong>, <strong>özellik derecelendirme</strong> ve <strong>filter yöntemleri</strong> gibi süreçlerde çok kullanılır.</p><h3>Her Bir Özelliğin Piknik Kararı İçin Bilgi Kazancını (Information Gain) Hesaplayalım</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/745/1*6QFVbufB7RQQ75hIOiZugw.png" /></figure><p>Bu örnek, bilgi kazancının nasıl hesaplandığını anlamak için klasik bir “pikniğe gidilsin mi?” veri setini kullanır.</p><h4>1. Adım: Pikniğe Gidilme Değişkeninin Entropisini Hesaplayalım</h4><p>Veri setinde “Pikniğe gidildi mi?” sorusunun iki cevabı vardır:</p><ul><li><strong>Evet</strong>: 3 örnek → olasılık = 3/4</li><li><strong>Hayır</strong>: 1 örnek → olasılık = 1/4</li></ul><p>Entropy(Piknik) = -(3/4) log2(3/4) — (1/4) log2(1/4) = 0.811</p><p>Bu değer, pikniğe gitme kararının ne kadar “belirsiz” olduğunu gösterir.</p><h4>2. Adım: Her Özellik İçin Bilgi Kazancı (IG) Hesaplayalım</h4><p>Aşağıdaki örneklerde her özellik, veri setini nasıl böldüğüne göre değerlendirilir.</p><h4>Özellik 1: Hava Durumu (Sunny / Rainy)</h4><p>Gain(Piknik, Hava) = 0.811 — (3/4)(Entropy(Sunny)) — (1/4)(Entropy(Rainy))</p><p>Gain(Piknik, Hava) = 0.811</p><p>Yani hava durumu veriyi “mükemmel” ayırıyor → <strong>en yüksek IG’ye sahip</strong>.</p><h4>Özellik 2: Nem</h4><p>Gain(Piknik, Nem) = 0.811–0.688 = 0.1225</p><h4>Özellik 3: Rüzgar</h4><p>Gain(Piknik, Rüzgar) = 0.811–0.811= 0</p><p>Yani rüzgarın pikniğe gidilip gidilmeme kararında hiçbir ayırt edici gücü yoktur.</p><h4>Özellik 4: Su Sıcaklığı</h4><p>Gain(Piknik, SuSıcaklığı) = 0.811–0.688 = 0.1225</p><h4>Sonuç: En Fazla Bilgi Kazancına Sahip Özellik “Hava Durumu”dur</h4><p>Bu nedenle karar ağacı oluşturulurken <strong>ilk bölünme Hava Durumu özelliğine göre yapılır</strong>.<br> Gerçek uygulamalarda yüzlerce özellik için bilgi kazancı hesaplanır ve en yüksek olanlar seçilerek model oluşturulur.</p><h3>S2N (Signal-to-Noise) Feature Selection Yöntemi</h3><p>S2N (Signal-to-Noise), özellikle sınıflandırma problemlerinde kullanılan güçlü bir <strong>özellik seçimi (feature selection)</strong> yöntemidir.<br> Amaç, <strong>sınıflar arasındaki farkı en iyi yansıtan</strong> özellikleri bulmaktır.</p><h4>Temel Mantık</h4><p>Bir özelliği iyi yapan şey nedir?</p><ul><li><strong>Sınıflar arasında büyük fark (yüksek ayrışma)</strong></li><li><strong>Sınıf içinde düşük değişkenlik (az oynama)</strong></li></ul><p>S2N tam olarak bunu ölçer:</p><p><strong>Sınıflar arası sinyali</strong>,</p><p><strong>Sınıf içi gürültüye</strong> oranlar.</p><p>Böylece “sinyali yüksek, gürültüsü düşük” özellikler seçilir.</p><h3>S2N Formülü</h3><p>Bir özelliğin S2N değeri şu şekilde hesaplanır:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/698/1*u3pZfOfHtaGVo4khuVq6Uw.png" /></figure><p>Burada:</p><ul><li><strong>m1</strong> → 1. sınıftaki ilgili özelliğin ortalaması</li><li><strong>m2</strong> → 2. sınıftaki ilgili özelliğin ortalaması</li><li><strong>d1</strong> → 1. sınıftaki ilgili özelliğin standart sapması</li><li><strong>d2</strong> → 2. sınıftaki ilgili özelliğin standart sapması</li></ul><h4>S2N Değerinin Yorumu</h4><ul><li><strong>Si büyükse</strong> → o özellik sınıflar arasında çok iyi ayrım yapıyor</li><li><strong>Si küçükse</strong> → özellik sınıflar arasında ayrım yapamıyor</li><li><strong>Si ≈ 0</strong> → özellik tamamen gereksiz</li></ul><p>Dolayısıyla:</p><p><strong>En yüksek S2N değerine sahip özellikler seçilir ve sınıflandırma modeline aktarılır.</strong></p><h4>Neden S2N Kullanılır?</h4><ul><li>Çok hızlıdır</li><li>Model çalıştırmadan özelliklerin ayırt ediciliğini ölçer</li><li>Özellikle <strong>yüksek boyutlu verilerde (gen ekspresyon verileri, biyomedikal sinyaller vb.)</strong> yaygın kullanılır</li><li>Gürültülü veri kümelerinde oldukça etkili sonuçlar verir</li></ul><h3>ÖZELLİK ALTKÜMESİ SEÇİCİLER (WRAPPERS)</h3><p>Wrappers yöntemleri, özellik seçiminde <strong>doğrudan bir sınıflandırıcının performansını ölçerek</strong> karar veren yöntemlerdir. Her bir özellik alt kümesinin sınıflandırma başarımı hesaplanır ve en yüksek performansı veren alt küme seçilir.</p><h4>Temel Mantık</h4><ul><li>N tane özellik varsa, bunların oluşturabileceği toplam alt küme sayısı:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/57/1*VUOB7C1dAWcBGWoTSFqAuQ.png" /></figure><ul><li>Yani 10 özellik varsa 1024 alt küme,<br> 20 özellik varsa 1 milyon alt küme denenebilir.</li></ul><p>Bu nedenle <strong>tüm olası alt kümeleri denemek çok maliyetlidir</strong>.</p><h4>Neden “Wrapper” Denir?</h4><p>Çünkü özellik seçimi, bir sınıflandırıcının (ör. Decision Tree, KNN, SVM) <strong>üzerine “sarılır”</strong> ve her alt kümenin başarısı bu sınıflandırıcı ile ölçülür.</p><p>Her alt küme bir modelle denenir → doğruluk/hataya göre en iyisi seçilir.</p><h4>Tüm Alt Kümeleri Denemek Yerine Hızlandırma Teknikleri</h4><p>Bütün olasılıkları denemek yerine <strong>akıllı arama stratejileri</strong> kullanılır:</p><h4>A) Backward Elimination (Geriye Doğru Eleme)</h4><ul><li>Tüm özelliklerle başlanır.</li><li>Her adımda bir özellik çıkarılır.</li><li>Çıkarıldıktan sonra model eğitilir ve performans karşılaştırılır.</li><li>Performansı en kötü etkileyeni çıkararak devam edilir.</li></ul><h4>B) Forward Selection (İleriye Doğru Seçim)</h4><ul><li>Sıfır özellik ile başlanır.</li><li>Her adımda bir özellik eklenir.</li><li>Eklenen özellik ile model eğitilir ve performans ölçülür.</li><li>Performansı en çok artıran özellik eklenir.</li></ul><h3>YENİ ÖZELLİKLERİN ÇIKARIMI</h3><p>Var olan özelliklerin lineer birleşimlerinden <strong>yeni bir özellik uzayı</strong> oluşturulur ve veriler bu yeni uzayda ifade edilir.<br> Bu işlem, veriyi daha iyi temsil eden daha az boyutlu bir uzaya indirgemek için yapılır.</p><p>Yaygın olarak kullanılan 2 metot vardır:</p><h3>1. Temel Bileşen Analizi — TBA (Principal Component Analysis — PCA)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/217/1*bsjFvijM-l4UyQpNWX7BDQ.png" /></figure><ul><li>Bu metotta örneklerin en fazla değişim gösterdikleri boyutlar bulunur.</li><li>Örneğin verilerin C1 ve C2 eksenlerine izdüşümü incelenir.</li><li>C1 eksenindeki değişim daha büyüktür.<br> Bu nedenle veriler 2 boyuttan 1 boyuta indirgenirken <strong>C1 ekseni</strong> üzerine projelendirilir.</li><li>PCA <strong>sınıf bilgisini kullanmaz</strong>, tamamen varyans üzerine kurulu bir yöntemdir.</li></ul><h3>2. Doğrusal Ayırteden Analizi (Linear Discriminant Analysis — LDA)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/274/1*DF4VPwjPybfGocndVfwG4A.png" /></figure><ul><li>PCA’dan farklı olarak <strong>sınıf bilgisini kullanır</strong>.</li><li>LDA, sınıflar arasındaki ayrımı artırırken sınıf içi yayılımı azaltacak şekilde yeni bir eksen oluşturur.</li><li>Bu nedenle <strong>sınıfların birbirinden daha iyi ayrılması gereken</strong> durumlarda tercih edilir.</li><li>Boyut indirgeme amacıyla kullanılabilir, ancak temel hedefi <strong>sınıflandırmayı iyileştirmektir</strong>.</li></ul><h3>MODEL BAŞARISINI DEĞERLENDİRME VE PERFORMANS METRİKLERİ</h3><p>Makine öğrenmesi modellerinin ne kadar başarılı olduğunu anlamak için çeşitli <strong>performans metrikleri</strong> kullanılır.<br> Bu metriklerin temelinde <strong>Confusion Matrix (Karmaşıklık Matrisi)</strong> bulunur.</p><p>Özellikle <strong>sınıflandırma (classification)</strong> problemlerinde, modelin <strong>doğru ve yanlış tahminlerini ayrıntılı şekilde inceleme</strong> imkânı sağlar.</p><h4>CONFUSION MATRIX (KARMAŞIKLIK MATRİSİ)</h4><p><strong>Confusion Matrix</strong>, bir modelin yaptığı tahminlerle gerçek sonuçları karşılaştırarak performansını analiz etmek için kullanılan temel bir tablodur.<br> Bu tablo, sınıflandırma problemlerinde modelin <strong>doğru</strong> ve <strong>yanlış</strong> tahminlerini dört temel kategoriye ayırır:</p><ol><li><strong>True Positive (TP) — GERÇEK Pozitif</strong></li></ol><p>Modelin <strong>pozitif</strong> olan bir veriyi <strong>doğru şekilde pozitif tahmin etmesi</strong>.</p><p><strong>Örnek:</strong><br> Anne: Hastalık testi<br> Gerçek: Hasta<br> Model: Hasta dedi → <strong>TP</strong></p><p>2.<strong> True Negative (TN) — GERÇEK Negatif</strong></p><p>Modelin <strong>negatif</strong> olan bir veriyi <strong>doğru şekilde negatif tahmin etmesi</strong>.</p><p><strong>Örnek:</strong><br> Gerçek: Sağlıklı<br> Model: Sağlıklı dedi → <strong>TN</strong></p><p><strong>3. False Positive (FP) — Yanlış Pozitif</strong></p><p>Modelin <strong>negatif</strong> bir durumu <strong>yanlışlıkla pozitif</strong> tahmin etmesi.</p><p>Örnek:<br> Gerçek: Sağlıklı<br> Model: Hasta dedi → <strong>FP</strong></p><p>Buna <strong>Type I Error (1. Tip Hata)</strong> denir.</p><p><strong>4. False Negative (FN) — Yanlış Negatif</strong></p><p>Modelin <strong>pozitif</strong> bir durumu <strong>yanlışlıkla negatif</strong> tahmin etmesi.</p><p><strong>Örnek:</strong><br> Gerçek: Hasta<br> Model: Sağlıklı dedi → <strong>FN</strong></p><p>Bu daha tehlikelidir.<br> Buna <strong>Type II Error (2. Tip Hata)</strong> denir.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/712/1*5901dZu_AnH01rbB-Geh5Q.png" /></figure><h4>PERFORMANS METRİKLERİ</h4><p>Confusion Matrix’te yer alan <strong>TP, TN, FP ve FN</strong> değerleri kullanılarak modelin performansını değerlendiren çeşitli metrikler hesaplanır.<br> Bu metrikler, modelin ne kadar doğru tahmin yaptığını, hangi sınıflarda hata yaptığını ve gerçek pozitif/negatif örnekleri ne kadar başarılı ayırt ettiğini analiz etmeyi sağlar.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*j3tGKaMOYgad0IGpY4CkNw.png" /></figure><ol><li><strong>Doğruluk (Accuracy)</strong></li></ol><p>Modelin tüm tahminlerinin yüzde kaçının doğru olduğunu gösterir.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*x_ksS_ecSKDzxt6aGw-rVg.png" /></figure><p><strong>Örnek:</strong><br> 100 mail var, 90&#39;ını doğru sınıflandırdı → Accuracy = 90%.</p><p>Not: Veri dengesiz olduğunda (örn. %95 normal, %5 spam) <strong>aslında yanıltıcı olabilir</strong>.</p><p><strong>2.Kesinlik (Precision)</strong></p><p>Model <strong>pozitif</strong> dediği tahminlerin ne kadarının gerçekten pozitif olduğunu gösterir.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/767/1*uPghy-7uORbcCv1fZTFOvA.png" /></figure><p><strong>Örnek:</strong><br> Model 20 maile “Spam” dedi.<br> Bunlardan 15’i gerçekten spam ise → Precision = 15/20 = %75.</p><p><strong>Yani Precision = “Yanlış alarm vermeme oranı”</strong><br> Spam filtresi çok fazla yanlış alarm veriyorsa Precision düşer.</p><p><strong>3.Duyarlılık (Recall / Sensitivity)</strong></p><p>Gerçek pozitiflerin ne kadarını modelin bulabildiğini gösterir.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/850/1*lo1i4A1HYedkg3VXMOghsQ.png" /></figure><p><strong>Örnek:</strong><br> Toplam 30 spam mail var.<br> Model bunlardan 27’sini bulduysa → Recall = 27/30 = %90.</p><p><strong>Recall = “Kaçırmama oranı”</strong><br> Hastalık testlerinde en önemli metriktir:<br> → Gerçek hasta birinin “sağlıklı” çıkması çok tehlikelidir.</p><p><strong>4.F1-Skoru (F1 Score)</strong></p><p>Precision ile Recall’un <strong>harmonik ortalamasıdır</strong>.<br> Dengeli bir performans ölçer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/733/1*YXJccInafP-G-LrV47GZIw.png" /></figure><p>F1 skoru yüksekse model:</p><p>az yanlış alarm verir</p><p>az pozitif kaçırır</p><p>dengeli çalışır</p><p>Bu yüzden F1 birçok gerçek projede <strong>en önemli metriktir</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ERYLSaNkJhrI2Iw_zqz__g.png" /></figure><h4>Model Uygunluğu</h4><p>Bir modelin veriye ne kadar iyi uyduğunu ifade eder.</p><ul><li><strong>Model çok basitse → Underfitting (Eksik öğrenme):</strong><br> Veri içindeki ilişkileri yakalayamaz, düşük performans gösterir.</li><li><strong>Model çok karmaşıksa → Overfitting (Aşırı öğrenme):</strong><br> Eğitim verisini ezberler, yeni verilere genelleyemez.</li></ul><h4>Amaç:</h4><p>Ne eksik ne de fazla uyum sağlayan, <strong>genelleme yeteneği yüksek</strong> bir model elde etmektir.</p><h3>Aşırı Öğrenme (Overfitting):</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/252/1*St9A_ghP6WMgbJZcP5SLbQ.png" /></figure><p>Model, eğitim verisini <em>ezberler</em> ve gerçek hayatta yeni verilere kötü performans gösterir.</p><h4><strong>Belirtileri:</strong></h4><ul><li>Eğitim setinde çok yüksek doğruluk</li><li>Test setinde düşük doğruluk</li><li>Model gereğinden fazla karmaşık</li><li>Gürültülü veriyi bile ezberlemiş</li></ul><h4>Overfitting’e neden olan şeyler:</h4><ul><li>Çok fazla özellik (feature)</li><li>Çok karmaşık modeller (derin ağaçlar, büyük neural networks)</li><li>Yetersiz veri</li><li>Gürültülü veri</li></ul><h3>Underfitting (Az Öğrenme / Eksik Uyum)</h3><p>Model verinin yapısını öğrenemez → hem eğitimde hem testte kötü performans gösterir.</p><ul><li>Eğitim doğruluğu düşük</li><li>Test doğruluğu düşük</li><li>Model çok basit</li></ul><h4>Underfitting neden olur?</h4><ul><li>Model fazla basit (lineer model, shallow tree)</li><li>Çok az özellik kullanılmış</li><li>Çok az epoch (yetersiz eğitim)</li><li>Verideki ilişkiler karmaşık ama model bunu yakalayamıyor</li></ul><h4><strong>Underfitting’i düzeltmek için:</strong></h4><ul><li>Modeli karmaşıklaştır</li><li>Daha fazla feature ekle</li><li>Daha uzun süre eğitim yap</li><li>Doğru model seç (örneğin lineer yerine tree veya neural network)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LRBM421RZ4pX_anCBVu-4Q.png" /></figure><p>Bu çalışmada, makine öğrenmesinin temel kavramları, model yapı taşları ve algoritma türleri sistematik şekilde ele alınmıştır. Sınıflandırma, regresyon, kümeleme ve yarı/pekiştirmeli öğrenme gibi yöntemlerin birbirinden nasıl ayrıldığı hem teorik hem de görsel örneklerle açıklanmıştır. Ayrıca, korelasyon analizi ve performans metrikleri (accuracy, precision, recall, F1 score) üzerinden model başarısının nasıl değerlendirileceği detaylandırılmıştır.</p><p>Genel olarak görüldüğü üzere, bir makine öğrenmesi probleminde doğru modeli seçmek kadar <strong>veriyi anlamak</strong>, <strong>özellikleri doğru yorumlamak</strong> ve <strong>performansı doğru metriklerle değerlendirmek</strong> de büyük önem taşır.<br> Bu nedenle, iyi bir model geliştirme süreci; veri analizi, doğru model seçimi, overfitting–underfitting kontrolü ve son aşamada performansın doğru ölçülmesini kapsayan bütünsel bir yaklaşıma ihtiyaç duyar.</p><p>Bu makalenin amacı da tam olarak bu yapıyı oluşturmaya yardımcı olmak ve farklı algoritmaların ne zaman, neden ve nasıl kullanılacağını açık ve anlaşılır biçimde göstermektir.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cd2238726680" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What Is Artificial Intelligence? The Journey of AI From Past to Present]]></title>
            <link>https://medium.com/arvatotech/what-is-artificial-intelligence-the-journey-of-ai-from-past-to-present-3389342aa338?source=rss-bacd88a81f20------2</link>
            <guid isPermaLink="false">https://medium.com/p/3389342aa338</guid>
            <category><![CDATA[aihistory]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Pinarkosan]]></dc:creator>
            <pubDate>Thu, 27 Nov 2025 06:54:10 GMT</pubDate>
            <atom:updated>2025-11-27T06:54:10.894Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*MjAY0MCFEzTwfNKck6i2fA.png" /></figure><p>Before talking about artificial intelligence, we should return to the most fundamental question: <em>What is intelligence?</em><br> Intelligence is the cognitive ability that enables humans to understand their environment, apply what they have learned to new situations, and solve problems.<br> The Webster Dictionary defines intelligence as <em>“the ability to learn and solve problems.”</em></p><p><strong>But are humans the only beings that possess intelligence?</strong><br> Animals, too, can solve problems, communicate, and even exhibit advanced cognitive processes that include planning behaviors in certain species. However, what distinguishes human intelligence from that of other living beings is our exceptional capacity for abstract thinking, creativity, and the ability to form complex concepts through language.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/469/1*ELX5vAdqW4Ppw7ZaOmmRAA.png" /></figure><p>At this point, we turn to technologies that can learn and make decisions in ways similar to human intelligence: artificial intelligence.</p><h3>What Is Artificial Intelligence?</h3><p>Artificial intelligence (AI) refers to the collection of technologies that enable computers to acquire human-like abilities such as thinking, learning, and making decisions. In its simplest form, it can be described as the process of “teaching machines how to learn.”</p><p>Today’s AI systems analyze vast amounts of data, recognize patterns, make predictions, and sometimes even develop solutions on their own. Examples include language models like ChatGPT, voice assistants such as Siri and Alexa, recommendation algorithms used by Netflix and Spotify, and even autonomous vehicles.</p><p>According to Marvin Minsky’s well-known definition:<br> <strong>“Artificial intelligence is the science of making machines do things that would require intelligence if done by humans.”</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/461/0*IGh1KcrGXs5VWR9V" /></figure><p>This definition neatly summarizes the core purpose of AI:<br> tasks traditionally solved by the human mind can now be performed by machines.</p><p>Chris Riesbeck, on the other hand, approaches the topic with humor and asks:<br> <strong>“Why are computers so stupid?”</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/265/0*qj2Pa9uSIDWs5XMC.jpg" /></figure><p>His question actually highlights an important truth:<br> Computers are not inherently intelligent; they only appear intelligent when given the right data, the right algorithms, and the right methods of instruction.</p><h3>The Goals of Artificial Intelligence</h3><p>The fundamental goals of artificial intelligence can be grouped under two main objectives:</p><ol><li>To make machines smarter, more efficient, and more useful in human life</li><li>To develop systems and models that mimic human intelligence in order to better understand how the human mind works</li></ol><p>Each of these goals requires not only technical advancements but also brings forward profound philosophical questions.<br> AI research explores inquiries such as:</p><ul><li><em>What is intelligence?</em></li><li><em>Can a machine become conscious?</em></li><li><em>Do algorithms truly learn, or do they merely follow the patterns given to them?</em></li></ul><p>These questions make artificial intelligence not just a scientific field, but also a deeply intellectual and philosophical area of study.</p><h4>Gauss and His Classmate: Speed or Intelligence?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/0*Gsj04L9dYJefZ5GG.jpg" /></figure><p>The teacher turns to the class and says:<br> <strong>“Find the sum of the numbers from 1 to 50.”</strong></p><p><strong>Student 1: Fast but traditional</strong><br> The first student immediately begins adding:<br> 1 + 2 + 3 + … + 49 + 50<br> He is quick and finishes the calculation in a short time. But what he demonstrates is simply speed; he is still using a traditional, exhausting method.</p><p><strong>Student 2 (Gauss): A mind that thinks differently</strong><br> The other student — Carl Friedrich Gauss — notices something entirely different.<br> “Why are we adding these numbers one by one?” he thinks.<br> As he looks at the sequence he has written out of boredom, he spots a pattern:</p><p>1 + 50 = 51<br> 2 + 49 = 51<br> 3 + 48 = 51<br> …</p><p>There are 25 pairs that each sum to 51.<br> Therefore, the result is:<br> <strong>25 × 51 = 1275</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/945/1*3n-n71w7O3ej6Th1H2qYZg.png" /></figure><p>Gauss lifts his head in excitement to explain his method, only to see that the answer <strong>1275 </strong>is already written on the board.</p><p><strong>What does this story teach us?</strong><br> Thinking slowly is not always a disadvantage.<br> Sometimes asking the right question leads to a far more powerful result than speed alone.<br> Real success comes not from focusing only on the outcome, but from having a practical, creative, and functional point of view.</p><h3>Clues to Intelligent Behavior</h3><p>For a system to be considered “intelligent,” it is expected to possess certain cognitive abilities. These abilities apply not only to humans but also to artificial intelligence systems. Some key indicators include:</p><ul><li>Learning from experience</li><li>Adapting quickly to new situations</li><li>Solving problems</li><li>Accessing information and using it effectively</li><li>Taking advantage of coincidences and unexpected situations</li><li>Reasoning and making inferences</li><li>Recognizing similarities among differences</li><li>Noticing subtle differences among similarities</li><li>Generating new ideas — demonstrating creativity</li><li>Working with uncertain or incomplete information</li></ul><p>These abilities show that intelligence is not merely “speed,” but a combination of learning, distinguishing, problem-solving, and managing uncertainty.</p><h3>The Role of Artificial Intelligence in Our Lives</h3><p>Artificial intelligence has now quietly integrated into almost every aspect of our daily lives.</p><p><strong>In everyday life</strong><br> From photo-editing apps on our phones to the social media feeds we scroll through, many systems learn our preferences through AI and offer us personalized experiences.</p><p><strong>In the business world</strong><br> Across a wide range of fields — from financial analysis and customer service to manufacturing processes and medical diagnostics — AI accelerates workflows, reduces errors, and increases operational efficiency.</p><p><strong>In education</strong><br> Personalized learning platforms generate content tailored to a student’s level and needs, making the learning process more effective.</p><p><strong>In art and creativity</strong><br> AI models capable of writing poetry, composing music, and generating artwork are introducing entirely new perspectives to the world of art and redefining the boundaries of creativity.</p><h3>What Is Artificial Intelligence Used For?</h3><p>Artificial intelligence essentially serves three main purposes:</p><ol><li><strong>Automation:</strong><br>It performs repetitive and time-consuming tasks without the need for human intervention.</li><li><strong>Analysis:</strong><br> It examines large datasets with a level of speed and depth that humans cannot achieve, producing meaningful insights.</li><li><strong>Prediction:</strong><br> It makes forecasts about the future based on past data.</li></ol><p>Thanks to these capabilities, businesses can make smarter decisions, while individuals can save time and focus on more creative and value-producing work.</p><h3>When and How Should Artificial Intelligence Be Used?</h3><p>When used in the right context, for the right purpose, and within ethical boundaries, AI can be an incredibly powerful tool.<br> However, as with any technology, conscious and controlled usage is essential.</p><ul><li><strong>Clarify your purpose:</strong><br>Determine why you want to use AI.<br> Is it to save time, analyze data, or increase productivity?</li><li><strong>Protect your data privacy:</strong><br>Before sharing personal or sensitive information, make sure the platform you’re using is trustworthy.</li><li><strong>Think critically:</strong><br>Do not blindly trust every result AI provides.<br> When making important decisions, always verify information through additional sources.</li><li><strong>Support your creativity:</strong><br>See AI not as a competitor but as an assistant that enhances your work.<br> Use it to generate ideas, conduct research, or create content — yet always ensure the final decision is yours.</li></ul><h3>A Scandal: One of the Most Famous Mistakes in AI History (Late 1980s)</h3><p>This well-known artificial intelligence blunder occurred during a DARPA-supported image recognition project in the late 1980s. Developed between approximately 1986 and 1988, the model was intended to distinguish friendly tanks from enemy tanks. However, due to a flawed dataset, the model ended up learning not the tanks themselves, but the differences in light and shadow within the photographs.</p><p>Years earlier, the U.S. military had aimed to create an AI-based image recognition system. The task seemed straightforward:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/394/1*_CVVVgxVaMtwDjgZ6KSOXw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/418/1*ouI17u6V4FHsFofoAnqT7w.png" /></figure><p><strong>“Is this tank friendly or hostile?”</strong><br> The goal was to build a model that could identify this solely by analyzing photographs.</p><p><strong>Where the faulty dataset began</strong><br> The project team collected hundreds of tank images. But no one noticed a critical detail:</p><ul><li>Photos of <em>enemy tanks</em> were taken in forested, shaded environments.</li><li>Photos of <em>friendly tanks</em> were taken in open, sunny areas.</li></ul><p>In other words, what the model should have learned was <em>“Is this tank friendly or hostile?”</em><br> But what it actually learned was <em>“What are the lighting conditions and environment behind the tank?”</em></p><p><strong>What did the model really learn?</strong><br> The pattern the model detected was:</p><ul><li>If the photo had sunlight and an open field → <strong>friendly tank</strong></li><li>If the photo had trees, shadows, or a forest → <strong>enemy tank</strong></li></ul><p>No one realized this. The system appeared to perform extremely well during testing. But when real-world trials began, the scandal surfaced.</p><p><strong>What happened during the real exercise?</strong><br> A U.S. tank was standing in a wooded area → The AI labeled it <strong>“Enemy tank!”</strong><br> An enemy tank was captured in an open field → The AI labeled it <strong>“Friendly tank!”</strong></p><p>The model wasn’t classifying tanks at all; it was classifying <strong>background scenery</strong>.</p><p>This incident became one of the most iconic examples in AI history of how a flawed dataset can ruin an entire project. It taught researchers a critical lesson:</p><p><strong>AI learns exactly what you teach it. Bad data → bad intelligence.</strong></p><h3>Lessons From This Story</h3><p>This event highlights several important truths frequently emphasized in the world of artificial intelligence:</p><ol><li><strong>AI learns the data, not the object.</strong><br> What a model learns is directly tied to the quality of the data it is given.<br> Biased, incorrect, or skewed data → flawed results.</li><li><strong>Inspecting the data is as important as building the model.</strong><br> Had the engineers examined the dataset instead of focusing solely on the model, this mistake would have never occurred.</li><li><strong>AI is not “intelligence” in the human sense; it lacks context.</strong><br> It may treat light, shadow, or a tree as “tank attributes,” because it does not think as we do — it simply follows patterns.</li><li><strong>Critical fields demand extra caution.</strong><br> In domains like the military, healthcare, or law, even a tiny dataset mistake can lead to enormous consequences.</li></ol><p><strong>In short:</strong><br> Always approach AI with a critical mindset, question the quality of your data, and avoid placing blind trust in the model.</p><h3>The History of Artificial Intelligence</h3><p>Although artificial intelligence has gained tremendous popularity in recent years, its history dates much further back than most people imagine. While the idea of artificial intelligence reaches all the way to ancient mythology, the modern conception of AI began with the <strong>1956 Dartmouth Conference</strong>.<br> The AI systems we use today are, in fact, the result of nearly 70 years of scientific progress.</p><h4><strong>Ancient Times (300 BC — 1200 AD): The First Sparks of the Idea of “Intelligence”</strong></h4><ul><li>Mechanical, robot-like figures such as Talos and the creations of Hephaestus in Greek mythology</li><li>Early automata developed in China and the Middle East</li></ul><p>These were not artificial intelligence in the modern sense, of course, but they represented the earliest expressions of the idea of “human-made intelligence.”</p><p><strong>1800s: The Birth of Mechanical Computing</strong></p><ul><li><strong>1801</strong> — Jacquard’s automated loom powered by punched cards</li><li><strong>1830</strong> — Charles Babbage’s design of the <em>Analytical Engine</em></li><li><strong>1843</strong> — Ada Lovelace writing the first computer algorithm in history</li></ul><p>Ada Lovelace’s work introduced a pioneering concept that would shape the foundations of modern AI:<br> <strong>the idea that machines could operate using abstract concepts.</strong></p><h4>1950: The Beginning of Modern Artificial Intelligence</h4><p>This era marked the years in which the theoretical foundations of artificial intelligence were established.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/945/1*ytbdwbrRbAOxyODF23nvKA.png" /></figure><h4>Alan Turing and the Big Question</h4><p>In 1950, Alan Turing posed a groundbreaking question:<br> <strong>“Can machines think?”</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/0*kORf74ru6Cx1M_UC.jpg" /></figure><p>This question led to the development of the famous Turing Test.</p><ul><li>The <strong>Turing Test (1950)</strong> was introduced during this period.</li><li>For the first time, the question of whether computers could think like humans became a topic of scientific debate.</li></ul><h4>How Does the Turing Test Work?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/620/1*5uo04CNv9Xl5XJW3wY2KQw.png" /></figure><p>The test is based on a very simple setup:</p><ol><li>There is a human evaluator.</li><li>There is a human participant and a machine.</li><li>The evaluator communicates with both of them <strong>only through written messages</strong>.</li><li>The evaluator’s task is to determine which one is the human and which one is the machine.</li></ol><p>If the evaluator cannot reliably distinguish the machine from the human — meaning the machine can produce responses that appear “human-like” — <br> then the machine is considered to have <strong>passed the Turing Test</strong>.</p><p>For many years, this test was used as a benchmark for determining whether computers could be regarded as intelligent.</p><h3>Key Milestones in the History of Artificial Intelligence</h3><h4>1965: ELIZA — The First Chatbot</h4><p>Developed by Joseph Weizenbaum, ELIZA was one of the first artificial intelligence programs to simulate the role of a therapist.<br> It appeared to converse with users in natural language.<br> However, upon closer examination, we see that:</p><p><strong>ELIZA merely produced responses based on predefined patterns.</strong></p><p>The following example is a classic dialogue that shows how ELIZA “spoke” in the 1960s:<br> As seen below, ELIZA doesn’t truly <em>understand</em> what the user says — <br> instead, it reflects the user’s words back to them and turns them into questions.</p><p>User: “Men are all alike.”<br> ELIZA: “IN WHAT WAY?”<br> User: “Well, my boyfriend made me come here.”<br> ELIZA: “YOUR BOYFRIEND MADE YOU COME HERE?”</p><p>ELIZA’s strategy was simple: detect key terms in the user’s input and generate template-based responses that repeated or reframed those terms.<br> This made it <em>seem</em> as though it was empathizing or truly making sense of the conversation.</p><p>This example clearly shows that although ELIZA could generate human-like replies, it possessed no emotional or cognitive understanding whatsoever.<br> Even today, it remains an important historical reminder that artificial intelligence does not truly “understand” humans — it simply recognizes patterns.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/811/1*Qnai65YNS3AN0yk6yzsgPw.png" /><figcaption>A sample conversation from ELIZA</figcaption></figure><p>For example:<br> “I remember X” → “Why do you remember X just now?”<br> “My mother is Y” → “Who else in your family is Y?”</p><p>This revealed a crucial truth:<br> <strong>The fact that an AI “sounds human” does not mean it actually <em>thinks</em> like a human.</strong></p><p>ELIZA is considered the precursor to modern chatbots and language models.</p><h4>1972: PARRY — “The Paranoid Version of ELIZA”</h4><p>After the success of ELIZA, psychiatrist Kenneth Colby developed an artificial intelligence program designed to mimic the behavior of a person with paranoid schizophrenia.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/0*an8H1jcuqLQE5tjh.png" /></figure><ul><li>PARRY claimed that “his enemies were following him,”</li><li>He interpreted a threat in almost every sentence the user wrote.</li></ul><p>For example:<br> User: “How are you?”<br> PARRY: “Why do you want to know that? Are you planning something?”</p><p>PARRY was so convincing that even clinical experts sometimes could not tell whether they were speaking to a real patient or to PARRY.<br> This made it one of the first systems that came close to passing the Turing Test.</p><h4>1970: SHRDLU — The AI That Could Understand a Small World</h4><p>Developed by Terry Winograd at MIT, SHRDLU was an early AI system capable of “understanding” a small virtual world made of blocks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/0*ztMhY3HbjFy0zPgy.png" /></figure><p><strong>Example commands:</strong></p><ul><li>“Pick up the red cube.”</li><li>“Place the blue block on top of the pyramid.”</li><li>“Why couldn’t you move that block?”</li></ul><p>SHRDLU would analyze colors, shapes, and the relationships between objects <em>in a genuinely meaningful way.</em><br> This program is considered one of the first major milestones in natural language processing.</p><h4>1972: MYCIN — An Early AI “Doctor”</h4><p>Developed at Stanford, MYCIN was a system designed to diagnose infectious diseases.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*cF5V5vQGLtTGOl0d" /></figure><ul><li>It analyzed bacterial types,</li><li>recommended the appropriate antibiotics,</li><li>and achieved an accuracy level comparable to expert physicians.</li></ul><p>However, due to legal and ethical concerns, it was never used on real patients.<br> Today, it is considered the ancestor of modern clinical decision-support systems.</p><h4>1997: DEEP BLUE — The First Machine to Defeat a World Chess Champion</h4><p>Deep Blue, developed by IBM, made history by defeating chess grandmaster Garry Kasparov.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/661/0*FbkxWCh-G4wtgeZS.jpg" /><figcaption><strong>Image:</strong> A promotional poster from the historic 1997 match between world chess champion Garry Kasparov and IBM’s Deep Blue supercomputer.</figcaption></figure><ul><li><strong>It could analyze up to 200 million moves per second.</strong></li><li><strong>Kasparov even claimed that it made “human-like moves,” a statement still debated today.</strong></li></ul><p>This moment marked the declaration that machines could surpass humans in highly complex strategic games.</p><h4>1989: ALVINN — The Grandfather of Autonomous Vehicles</h4><p>Carnegie Mellon University’s ALVINN was attempting autonomous driving as early as 1989.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/0*8q8KR8s2SSNxWAL-.gif" /></figure><ul><li>It detected road lanes,</li><li>predicted steering movements,</li><li>and was able to drive on the highway autonomously after just 20 minutes of training.</li></ul><p>It is considered the predecessor of today’s Tesla Autopilot and Waymo systems.</p><h3>Conclusion: Where Is Artificial Intelligence Headed?</h3><p>Artificial intelligence has come a long way — from the mechanical figures of ancient civilizations, to the scientific foundations of the 1950s, and finally to the advanced systems that now touch the daily lives of billions. From ELIZA’s simple pattern-matching to Deep Blue’s chess mastery, from autonomous vehicles to life-saving medical systems, every milestone represents another step in this remarkable journey.</p><p>Today, AI is no longer just a technology; it is a companion that transforms how we think, how we make decisions, and how we work.<br> But despite all this power, one essential truth must never be forgotten:</p><p><strong>AI is only as intelligent as what we teach it.</strong><br> <strong>Good data → good outcomes.</strong><br> <strong>Bad data → dangerous outcomes.</strong></p><p>For this reason, using AI consciously, ethically, and responsibly is more important than ever.</p><p>In the next article, we will take a closer look at the engine inside artificial intelligence — <strong>Machine Learning</strong>.<br> We will explore questions like:</p><ul><li><em>How do machines actually learn?</em></li><li><em>What types of learning exist?</em></li><li><em>How are they different from us?</em></li></ul><p>All of those answers — and more — will be in the next part.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3389342aa338" width="1" height="1" alt=""><hr><p><a href="https://medium.com/arvatotech/what-is-artificial-intelligence-the-journey-of-ai-from-past-to-present-3389342aa338">What Is Artificial Intelligence? The Journey of AI From Past to Present</a> was originally published in <a href="https://medium.com/arvatotech">Arvato Tech</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Yapay Zeka Nedir? Geçmişten Günümüze AI’nin Yolculuğu]]></title>
            <link>https://medium.com/@pinarmkosan/yapay-zeka-nedir-ge%C3%A7mi%C5%9Ften-g%C3%BCn%C3%BCm%C3%BCze-ainin-yolculu%C4%9Fu-1a2ee9e0e167?source=rss-bacd88a81f20------2</link>
            <guid isPermaLink="false">https://medium.com/p/1a2ee9e0e167</guid>
            <category><![CDATA[yapay-zeka]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[veri-bilimi]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Pinarkosan]]></dc:creator>
            <pubDate>Wed, 26 Nov 2025 13:16:45 GMT</pubDate>
            <atom:updated>2025-11-26T13:16:45.271Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/469/1*MjAY0MCFEzTwfNKck6i2fA.png" /></figure><p>Yapay zekadan söz etmeden önce, belki de en temel soruya dönmemiz gerekir: <strong>Zeka nedir?</strong></p><p>Zeka, insanın çevresini anlamasını, öğrendiklerini yeni durumlara uyarlamasını ve problemleri çözmesini sağlayan bilişsel bir kapasitedir.<br><strong>Webster </strong>sözlüğü zekayı <strong>“öğrenme ve problem çözme yeteneği”</strong> olarak tanımlar.</p><p>Hayvanlar da problem çözebilir, iletişim kurabilir ve bazı türlerde planlama davranışlarına kadar uzanan gelişmiş bilişsel süreçler gözlemlenebilir. Ancak insan zekasını diğer canlılardan ayıran en önemli fark, <strong>soyut düşünme</strong>, <strong>yaratıcılık</strong>, ve <strong>dil aracılığıyla karmaşık kavramlar oluşturabilme</strong> kapasitesidir.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/469/1*ELX5vAdqW4Ppw7ZaOmmRAA.png" /></figure><p>Bu noktada, insan zekâsına benzer biçimde öğrenebilen ve karar verebilen teknolojilere yöneliyoruz: <strong>Yapay zekaya.</strong></p><h3>Yapay Zeka Nedir?</h3><p>Yapay zeka (YZ), bilgisayarların insan benzeri düşünme, öğrenme ve karar verme yetenekleri kazanmasını sağlayan teknolojiler bütünüdür. En basit hâliyle, makinelere <strong>“öğrenmeyi öğretme”</strong> süreci olarak tanımlanabilir.</p><p>Günümüzde kullandığımız yapay zeka sistemleri; büyük miktardaki veriyi analiz eder, kalıpları tanır, tahminlerde bulunur ve kimi zaman kendi başına çözüm yolları geliştirebilir. Bu teknolojilere örnek olarak <strong>ChatGPT gibi dil modelleri</strong>, <strong>Siri ve Alexa gibi sesli asistanlar</strong>, <strong>Netflix ve Spotify’ın öneri algoritmaları</strong>, hatta <strong>otonom araçlar</strong> gösterilebilir.</p><p><strong>Marvin Minsky’nin ünlü tanımına göre:</strong><br> <strong>“Yapay zeka, insanlar tarafından yapıldığında zeka gerektiren şeyleri makinelere yaptırma arayışıdır.”</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/461/0*g-mo8g3dM7oONT07" /></figure><p>Bu tanım, yapay zekanın temel amacını oldukça sade bir şekilde özetler:<br> Normalde insan aklıyla çözülen görevlerin, makineler tarafından da yerine getirilebilir hâle gelmesi.</p><p>Chris Riesbeck ise konuyu daha esprili bir açıdan ele alır ve şöyle sorar:<br> <strong>“Bilgisayarlar neden bu kadar aptal?”</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/265/0*NdYMJ506kduPOqBE.jpg" /></figure><p>Riesbeck’in bu sorusu aslında şu gerçeğe işaret eder:<br> Bilgisayarlar kendi başlarına zeki değildir; ancak onlara doğru veriler, doğru algoritmalar ve uygun öğretim yöntemleri sağlandığında “zekiymiş gibi davranabilen” sistemlere dönüşürler.</p><h3>Yapay Zekanın Hedefleri</h3><p>Yapay zekanın temel hedefleri aslında iki ana başlıkta toplanır:</p><ol><li><strong>Makineleri daha akıllı, daha verimli ve insan hayatına daha faydalı hale getirmek</strong></li><li><strong>İnsan zekasını daha iyi anlayabilmek için onu taklit eden sistemler ve modeller geliştirmek</strong></li></ol><p>Bu hedeflerin her biri, yalnızca teknik çalışmalar gerektirmez; aynı zamanda derin felsefi soruları da beraberinde getirir.<br> Yapay zeka araştırmaları şu tür sorularla da ilgilenir:</p><ul><li><em>“Zeka nedir?”</em></li><li><em>“Bir makine bilinç kazanabilir mi?”</em></li><li><em>“Algoritmalar gerçekten öğrenebilir mi, yoksa sadece verilen örüntüleri mi izler?”</em></li></ul><p>Bu sorular, yapay zekayı hem bilimsel hem de düşünsel bir araştırma alanı haline getirir.</p><h4><strong>Gauss ve Sınıf Arkadaşı: Hız mı, Zeka mı?</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Gsj04L9dYJefZ5GG.jpg" /></figure><p>Öğretmen sınıfa döner ve şöyle der:<br> <strong>“1’den 50’ye kadar olan sayıların toplamını bulun.”</strong></p><h4>Öğrenci 1: Hızlı ama geleneksel yöntem</h4><p>İlk öğrenci hiç düşünmeden toplamaya başlar:</p><p>1 + 2 + 3 + … + 49 + 50</p><p>Elbette hızlıdır. Kısa sürede 50 sayının toplamını çıkarır. Ancak yaptığı şey yalnızca hızdır; yöntem olarak hâlâ klasik ve yorucu bir yol kullanmaktadır.</p><h4>Öğrenci 2 (Gauss): Farklı düşünen zihin</h4><p>Diğer öğrenci ise — Carl Friedrich Gauss — bambaşka bir şey fark eder.</p><p>“Bu sayıları neden tek tek topluyoruz?” diye düşünür.<br> Sıkıntıdan yazdığı sayı dizisine bakarken bir örüntü görür:</p><ul><li><strong>1 + 50 = 51</strong></li><li><strong>2 + 49 = 51</strong></li><li><strong>3 + 48 = 51</strong></li><li>…</li></ul><p>Toplamı 51 olan <strong>25 çift</strong> vardır.</p><p>Bu durumda sonuç:<br> <strong>25 × 51 = 1275</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/945/1*3n-n71w7O3ej6Th1H2qYZg.png" /></figure><p>Gauss heyecanla başını kaldırıp çözümünü açıklamak ister, ancak başını kaldırdığında tahtada çoktan sonuç yazılmıştır.<br> <strong>1275.</strong></p><h4>Bu hikâyenin anlattığı şey nedir?</h4><p>Yavaş düşünmek her zaman dezavantaj değildir.<br> Bazen doğru soruyu sormak, hızdan çok daha etkili bir sonuç doğurur.</p><p><strong>Sadece sonuca odaklanmak yerine;<br> pratik, yaratıcı ve fonksiyonel bakış açılarına sahip olmak gerçek başarıyı getirir.</strong></p><h3>Akıllı Davranışın İpuçları</h3><p>Bir sistemin “zeki” olarak kabul edilebilmesi için belirli bilişsel yeteneklere sahip olması beklenir. Bu yetenekler, yalnızca insanlar için değil, yapay zeka sistemleri için de geçerlidir. Temel göstergelerden bazıları şunlardır:</p><ul><li><strong>Tecrübelerden öğrenme</strong></li><li><strong>Yeni durumlara hızlı uyum sağlama</strong></li><li><strong>Problem çözebilme</strong></li><li><strong>Bilgiye erişme ve bilgiyi etkin şekilde kullanma</strong></li><li><strong>Rastlantılardan ve beklenmedik durumlardan yararlanabilme</strong></li><li><strong>Mantık yürütebilme ve çıkarım yapabilme</strong></li><li><strong>Farklılıklar arasında benzerlikleri görebilme</strong></li><li><strong>Benzerlikler arasındaki küçük farklılıkları ayırt edebilme</strong></li><li><strong>Yeni fikirler üretebilme, yani yaratıcı davranış gösterebilme</strong></li><li><strong>Belirsiz veya eksik bilgiyle çalışabilme</strong></li></ul><p>Bu beceriler, zekanın yalnızca bir “hız” değil; öğrenme, ayırt etme, çözüm üretme ve belirsizlikle başa çıkma yeteneklerinin bir bütünü olduğunu gösterir.</p><h3>Yapay Zekanın Hayatımızdaki Yeri</h3><p>Yapay zeka artık hayatımızın neredeyse her alanına sessizce entegre olmuş durumda.</p><h4>Günlük yaşamda</h4><p>Telefonlarımızdaki fotoğraf düzenleme uygulamalarından sosyal medya akışlarına kadar birçok sistem, yapay zeka sayesinde tercihlerimizi öğreniyor ve bize kişiselleştirilmiş deneyimler sunuyor.</p><h4>İş dünyasında</h4><p>Finansal analizlerden müşteri hizmetlerine, üretim süreçlerinden sağlık teşhislerine kadar geniş bir alanda YZ; süreçleri hızlandırıyor, hataları azaltıyor ve operasyonel verimliliği artırıyor.</p><h4>Eğitimde</h4><p>Kişiselleştirilmiş öğrenme platformları, öğrencinin seviyesine ve ihtiyacına uygun içerik üreterek öğrenme sürecini daha etkili hale getiriyor.</p><h4>Sanat ve yaratıcılıkta</h4><p>Şiir yazabilen, müzik besteleyebilen ve resim üretebilen yapay zeka modelleri, sanat dünyasında yepyeni bir yaklaşım ortaya koyuyor ve yaratıcılığın sınırlarını yeniden tanımlıyor.</p><p><strong>Sanatta ve yaratıcılıkta:</strong> Şiir yazabilen, müzik besteleyebilen ve resim yapabilen yapay zeka sistemleri, sanatın sınırlarını yeniden tanımlıyor.</p><h3>Yapay Zeka Ne İşe Yarar?</h3><p>Yapay zeka temelde üç ana amaca hizmet eder:</p><ol><li><strong>Otomasyon:</strong><br> Tekrarlayan ve zaman alıcı görevleri insan müdahalesi olmadan gerçekleştirir.</li><li><strong>Analiz:</strong><br> Büyük veri kümelerini, insanın fark edemeyeceği hız ve derinlikte inceleyerek anlamlı sonuçlar çıkartır.</li><li><strong>Tahmin:</strong><br> Geçmiş verilere dayanarak geleceğe dair öngörülerde bulunur.</li></ol><p>Bu sayede işletmeler daha akıllı kararlar alabilir; bireyler ise zamandan tasarruf ederek daha yaratıcı ve değer üreten işlere odaklanabilir.</p><h3>Ne Zaman ve Nasıl Kullanılmalı?</h3><p>Yapay zeka, doğru yerde, doğru amaçla ve etik sınırlar içinde kullanıldığında son derece güçlü bir yardımcıdır.<br> Ancak her teknolojide olduğu gibi, <strong>bilinçli ve kontrollü kullanım</strong> büyük önem taşır:</p><ul><li><strong>Amacı netleştir:</strong><br> Yapay zekayı hangi amaçla kullanmak istediğini belirle.<br> Zaman kazanmak mı, veri analizi mi, üretkenliği artırmak mı?</li><li><strong>Veri gizliliğini koru:</strong><br> Kişisel veya hassas bilgilerini paylaşmadan önce kullandığın platformun güvenilirliğini sorgula.</li><li><strong>Eleştirel düşün:</strong><br> YZ’nin sunduğu her sonuca körü körüne inanma.<br> Özellikle önemli kararlar alırken, bilgiyi mutlaka başka kaynaklarla da doğrula.</li><li><strong>Yaratıcılığını destekle:</strong><br> Yapay zekayı bir rakip olarak değil, seni destekleyen bir “asistan” olarak gör.<br> Fikir üretirken, araştırma yaparken veya içerik oluştururken yardım al, ama son sözü daima sen söyle.</li></ul><h3><strong>Bir Skandal: Yapay Zekanın En Ünlü Yanılgılarından Biri (1980&#39;ler sonu)</strong></h3><p>Bu ünlü yapay zeka yanılgısı, 1980’lerin sonlarında ABD’de yürütülen DARPA destekli bir görüntü tanıma projesinde ortaya çıktı. Yaklaşık 1986–1988 yılları arasında geliştirilen model, tankları dost–düşman olarak ayırmayı amaçlıyordu. Ancak veri setinin yanlış hazırlanması nedeniyle, model tankları değil fotoğraflardaki <strong>ışık–gölge farklarını</strong> öğrenmişti.</p><p>ABD ordusu yıllar önce yapay zeka temelli bir görüntü tanıma sistemi geliştirmek istedi. Görev oldukça basitti:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/394/1*_CVVVgxVaMtwDjgZ6KSOXw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/418/1*ouI17u6V4FHsFofoAnqT7w.png" /></figure><p><strong>“Bu tank dost mu, düşman mı?”</strong><br> Bunu yalnızca fotoğraflara bakarak ayırt eden bir model oluşturulacaktı.</p><h4>Hatalı veri setinin başlangıcı</h4><p>Proje ekibi yüzlerce tank fotoğrafı topladı. Ancak kimse çok kritik bir detayı fark etmedi:</p><ul><li><strong>Düşman tanklarının</strong> fotoğrafları <em>ormanlık ve gölgeli alanlarda</em> çekilmişti.</li><li><strong>Dost tanklarının</strong> fotoğrafları ise <em>açık havada, güneşli günlerde</em> çekilmişti.</li></ul><p>Yani modelin öğrenmesi gereken şey “tankın dost mu düşman mı olduğu” değildi; fotoğrafın <strong>ışık koşulları</strong> ve <strong>ortamıydı</strong>.</p><h4>Model neyi öğrendi?</h4><p>Modelin gördüğü örüntü şuydu:</p><ul><li>Fotoğrafta <strong>güneş ve açık hava</strong> varsa → <em>dost tankı</em></li><li>Fotoğrafta <strong>ağaç, gölge veya orman</strong> varsa → <em>düşman tankı</em></li></ul><p>Kimse bunun farkında değildi. Sistem testlerde başarılı görünüyordu. Ancak gerçek tatbikat başladığında skandal ortaya çıktı.</p><h4>Gerçek tatbikatta yaşananlar</h4><ul><li>Bir ABD tankı ağaçlık bir bölgede duruyordu → Yapay zeka: <strong>“Düşman tankı!”</strong></li><li>Düşman tankı açık arazide görüntülenmişti → Yapay zeka: <strong>“Dost tankı!”</strong></li></ul><p>Model, tankların kendisini değil; <strong>arkadaki manzarayı sınıflandırıyordu</strong>.</p><p>Bu olay, yapay zeka tarihinde “veri seti hatası yüzünden çöken en ünlü projelerden biri” olarak kayıtlara geçti ve araştırmacılara çok değerli bir ders verdi:</p><blockquote><strong><em>Yapay zeka, ona ne öğretirsen onu öğrenir. Yanlış veri → yanlış zeka.</em></strong></blockquote><h4>Bu Hikâyeden Çıkarılacak Ders</h4><p>Bu olay, yapay zeka dünyasında sıkça hatırlatılan önemli bir gerçeği gözler önüne seriyor:</p><h4>1. Yapay zeka, tankı değil; veriyi öğrenir.</h4><p>Modelin neyi öğrendiği, ona verilen verinin niteliğiyle doğrudan ilişkilidir.<br> Yanlış, taraflı veya önyargılı veri → yanlış sonuçlar.</p><h4>2. Veriyi kontrol etmek, modeli geliştirmek kadar önemlidir.</h4><p>Mühendisler modeli değil, veri setini incelemiş olsaydı bu hata asla yaşanmazdı.</p><h4>3. Yapay zeka “zeka” değildir; bağlamı bilmez.</h4><p>Fotoğraftaki ışığı, gölgeyi, ağacı “ortam bilgisi” olarak değil, “tankın özelliği” sanabilir.<br> Çünkü o, bizim gibi düşünmez — sadece örüntü takip eder.</p><h4>4. Etik ve güvenlik kritik alanlarda daha dikkatli olunmalıdır.</h4><p>Askeriye, sağlık, hukuk gibi alanlarda en küçük veri seti hatası bile çok büyük sonuçlar doğurur.</p><h4>Kısacası:</h4><p><strong>Yapay zekaya eleştirel gözle yaklaşmak, veri kalitesini sorgulamak ve modeli körü körüne güvenmemek her zaman gereklidir.</strong></p><h3>Yapay Zekanın Tarihi</h3><p>Yapay zeka son yıllarda büyük bir popülerlik kazanmış olsa da tarihi sandığımızdan çok daha eskilere dayanır. Yapay zeka fikri antik çağ hayal gücüne kadar uzanırken, modern anlamda yapay zekânın doğuşu ise <strong>1956 Dartmouth Konferansı</strong> ile gerçekleşti.<br> Bugün kullandığımız AI sistemleri, aslında <strong>yaklaşık 70 yıllık bilimsel birikimin</strong> sonucudur.</p><h4>Antik Çağ (M.Ö. 300 — M.S. 1200): Zeka Fikrinin İlk Kıvılcımları</h4><ul><li>Antik Yunan mitolojisinde Talos ve Hephaistos’un robot benzeri mekanik varlıkları</li><li>Çin ve Orta Doğu’da geliştirilen erken dönem otomatonlar</li></ul><p>Bunlar elbette gerçek anlamda yapay zeka değildi; fakat “insan tarafından yapılmış zeka” fikrinin ilk temsilleriydi.</p><h4>1800’ler: Mekanik Bilgisayarların Doğuşu</h4><ul><li><strong>1801</strong> — Jacquard’ın delikli kartlarla çalışan otomatik dokuma tezgâhı</li><li><strong>1830</strong> — Charles Babbage’ın “Analitik Makine” tasarımı</li><li><strong>1843</strong> — Ada Lovelace’ın tarihteki ilk bilgisayar algoritmasını yazması</li></ul><p>Ada Lovelace’ın çalışmaları, günümüz yapay zekasının temellerini oluşturan “makinelerin soyut kavramlarla çalışabileceği” fikrini ortaya koydu.</p><h4>1950: Modern Yapay Zekanın Başlangıcı</h4><p>Bu dönem, yapay zekanın teorik temelinin atıldığı yıllardı.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/945/1*ytbdwbrRbAOxyODF23nvKA.png" /></figure><h4>Alan Turing ve Büyük Soru</h4><p>Alan Turing 1950’de şu soruyu sordu:<br> <strong>“Makineler düşünebilir mi?”</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/380/0*kORf74ru6Cx1M_UC.jpg" /></figure><p>Bu sorunun ardından ünlü <strong>Turing Testi</strong> ortaya çıktı.</p><ul><li><strong>Turing Testi(1950)</strong> bu dönemde icat edildi.</li><li>Bilgisayarların insan gibi düşünüp düşünemeyeceği ilk kez bilimsel olarak tartışıldı.</li></ul><h4>Turing Testi Nasıl Çalışır?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/620/1*5uo04CNv9Xl5XJW3wY2KQw.png" /></figure><p>Test oldukça basit bir düzene dayanır:</p><ol><li>Bir <strong>insan sorgulayıcı</strong> vardır.</li><li>Bir <strong>insan</strong> ve bir <strong>makine</strong> vardır.</li><li>Sorgulayıcı, ikisiyle de yalnızca <strong>yazılı mesajlaşarak</strong> iletişim kurar.</li><li>Sorgulayıcının görevi:<br> <strong>Hangisinin insan, hangisinin makine olduğunu anlamaya çalışmak.</strong></li></ol><p>Eğer sorgulayıcı makineyi <strong>insandan ayırt edemezse</strong>, yani makine “insan gibi” yanıtlar verebiliyorsa:</p><p><strong><em>Makine Turing Testi’ni geçmiş sayılır.</em></strong></p><p>Bu test, bilgisayarların zeki olarak kabul edilebilmesi için uzun yıllar ölçüt olarak kullanılmıştır.</p><h3><strong>Yapay Zekanın Tarihindeki Önemli Dönüm Noktaları</strong></h3><h4>1965: ELIZA — İlk Sohbet Robotu</h4><p>Joseph Weizenbaum tarafından geliştirilen <strong>ELIZA</strong>, bir terapist rolünü taklit eden ilk yapay zeka programlarından biriydi.<br> Kullanıcıyla doğal dilde sohbet edebiliyor gibi görünüyordu.</p><p>Ancak derinlemesine incelendiğinde şunu fark ediyoruz:<br> ELIZA yalnızca <strong>önceden tanımlanmış kalıplara</strong> göre yanıt üretiyordu.</p><p>Aşağıdaki örnek, ELIZA’nın 1960’larda nasıl konuştuğunu gösteren klasik bir diyalogtur.<br> Görüldüğü gibi, ELIZA kullanıcının söylediklerini “anlamaktan” çok, onları <strong>yansıtarak</strong> ve <strong>soruya çevirerek</strong> cevap verir:</p><ul><li>Kullanıcı: <em>“Men are all alike.”</em></li><li>ELIZA: <em>“IN WHAT WAY?”</em></li><li>Kullanıcı: <em>“Well, my boyfriend made me come here.”</em></li><li>ELIZA: <em>“YOUR BOYFRIEND MADE YOU COME HERE?”</em></li></ul><p>ELIZA’nın stratejisi; kullanıcının ifadelerindeki anahtar kelimeleri bulup, bunları tekrar eden <strong>şablon yanıtlar</strong> üretmekten ibaretti.<br> Bu sayede, sanki empati kuruyormuş veya gerçekten anlamlandırıyormuş gibi görünüyordu.</p><p>Bu örnek, ELIZA’nın insan benzeri yanıtlar üretebilmesine rağmen aslında <strong>hiçbir duygusal veya bilişsel anlayışa sahip olmadığını</strong> açıkça gösterir.<br> Bugün bile, yapay zekanın insanı gerçekten “anlamadığı”, sadece <strong>örüntü tanıdığı</strong> gerçeğini hatırlatan önemli bir tarihsel örnektir.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/811/1*Qnai65YNS3AN0yk6yzsgPw.png" /><figcaption>ELIZA örnek sohbet görüntüsü</figcaption></figure><p>Örneğin:</p><ul><li>“I remember X” → “Why do you remember X just now?”</li><li>“My mother is Y” → “Who else in your family is Y?”</li></ul><p>Bu durum, çok önemli bir gerçeği gösterdi:</p><blockquote><strong><em>Bir yapay zekanın “insan gibi görünmesi”, onun insan gibi düşündüğü anlamına gelmez.</em></strong></blockquote><p>ELIZA, modern sohbet botlarının ve dil modellerinin öncüsü olarak kabul edilir.</p><h4>1972: PARRY — “ELIZA’nın Paranoid versiyonu”</h4><p>ELIZA’nın başarısından sonra psikiyatrist Kenneth Colby, paranoid şizofreni davranışlarını taklit eden bir yapay zeka programı geliştirdi.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/0*an8H1jcuqLQE5tjh.png" /></figure><ul><li>PARRY, “düşmanları tarafından takip edildiğini” iddia ediyor,</li><li>Kullanıcının her cümlesinden tehdit çıkarıyordu.</li></ul><p>Örneğin:<br> Kullanıcı: <em>“Nasılsın?”</em><br> PARRY: <em>“Neden bunu bilmek istiyorsun? Bir şey mi planlıyorsun?”</em></p><p>PARRY o kadar başarılıydı ki, klinik uzmanlar bile bazen insan-hasta mı yoksa PARRY mi olduğunu ayırt edemiyordu.<br> Bu, “Turing Testi’ne yaklaşan” ilk gerçek sistemlerden biriydi.</p><h4>1970: SHRDLU — Küçük dünyayı anlayabilen zeka</h4><p>MIT’den Terry Winograd’ın geliştirdiği SHRDLU, bloklardan oluşan küçük bir sanal dünyayı “anlayabiliyordu”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/0*ztMhY3HbjFy0zPgy.png" /></figure><p>Örnek komutlar:</p><ul><li>“Kırmızı küpü al.”</li><li>“Mavi bloğu piramidin üzerine koy.”</li><li>“Neden o bloğu hareket ettiremedin?”</li></ul><p>SHRDLU renkleri, şekilleri, objeler arasındaki ilişkileri “gerçek anlamıyla” analiz ediyordu.<br> Bu program, doğal dil işlemenin ilk büyük adımlarından biridir.</p><h4>1972: MYCIN — Erken dönem yapay zeka doktoru</h4><p>Stanford’da geliştirilen MYCIN, enfeksiyon hastalıklarını teşhis eden bir sistemdi.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*cF5V5vQGLtTGOl0d" /></figure><ul><li>Bakteri türlerini analiz ediyor,</li><li>Hastaya uygun antibiyotiği öneriyor,</li><li>Uzman doktorlarla yarışacak doğruluk seviyesine ulaşıyordu.</li></ul><p>Fakat yasal ve etik nedenlerle asla gerçek hastalarda kullanılmadı.<br> Bugün kullandığımız <strong>tıbbi karar destek sistemlerinin atası</strong>dır.</p><h4>1997: DEEP BLUE — Satrançta dünya şampiyonunu yenen ilk makine</h4><p>IBM’in geliştirdiği Deep Blue, satranç ustası Garry Kasparov’u yenerek tarihe geçti.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/661/0*FbkxWCh-G4wtgeZS.jpg" /><figcaption>Görsel: 1997’de dünya satranç şampiyonu Garry Kasparov’un, IBM’in Deep Blue süper bilgisayarıyla yaptığı tarihi maçın tanıtım posteri.</figcaption></figure><ul><li>200 milyon hamle analiz edebiliyordu.</li><li>Kasparov’un “insansı hamleler yaptığını” söylemesi hâlâ tartışılır.</li></ul><p>Bu olay, makinelerin karmaşık oyunlarda insanı geçebileceğinin ilanıydı.</p><h4>1989: ALVINN — Otonom araçların büyükbabası</h4><p>Carnegie Mellon Üniversitesi’nin geliştirdiği ALVINN, daha 1989&#39;da <strong>otonom sürüş</strong> yapmaya çalışıyordu.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/0*8q8KR8s2SSNxWAL-.gif" /></figure><ul><li>Yol şeritlerini algılıyor,</li><li>Direksiyon hareketlerini tahmin ediyor,</li><li>20 dakika içinde otoyolda kendi kendine gidebiliyordu.</li></ul><p>Bugünkü Tesla Autopilot ve Waymo sistemlerinin atası sayılır.</p><h3>Sonuç: Yapay Zeka Nereye Gidiyor?</h3><p>Yapay zeka, antik çağlardaki mekanik varlıklardan 1950’lerin bilimsel temellerine, oradan da bugün milyarlarca insanın günlük hayatına dokunan gelişmiş sistemlere kadar uzun bir yol kat etti. ELIZA’nın basit kalıplarından Deep Blue’nun satranç zekâsına, otonom araçlardan hayat kurtaran tıbbi sistemlere kadar her örnek, bu yolculuğun bir durağı.</p><p>Bugün artık yapay zeka sadece bir teknoloji değil; düşünme biçimimizi, karar alma yöntemlerimizi ve çalışma şeklimizi dönüştüren bir yol arkadaşı. Ancak tüm bu güce rağmen, unutulmaması gereken temel bir gerçek var:</p><p><strong>Yapay zeka, ona öğrettiğimiz kadar zeki.</strong><br> İyi veri → iyi sonuç.<br> Yanlış veri → tehlikeli sonuç.</p><p>Bu nedenle, onu bilinçli, etik ve sorumlu bir şekilde kullanmak her zamankinden daha önemli.</p><p>Bir sonraki yazıda, yapay zekânın içindeki en kritik motoru — <strong>Makine Öğrenmesini</strong> — daha yakından inceleyeceğiz.<br> Makineler gerçekten “nasıl öğreniyor?”, “Ne tür öğrenmeler var?”, “Bizden farkları ne?” gibi soruların tümüne orada cevap vereceğim.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1a2ee9e0e167" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is a Stored Procedure and How to Use It?]]></title>
            <link>https://medium.com/@pinarmkosan/what-is-a-stored-procedure-and-how-to-use-it-a386ea5f7d5e?source=rss-bacd88a81f20------2</link>
            <guid isPermaLink="false">https://medium.com/p/a386ea5f7d5e</guid>
            <category><![CDATA[database-management]]></category>
            <category><![CDATA[sql]]></category>
            <category><![CDATA[backend-development]]></category>
            <category><![CDATA[sp]]></category>
            <category><![CDATA[stored-procedure]]></category>
            <dc:creator><![CDATA[Pinarkosan]]></dc:creator>
            <pubDate>Thu, 20 Feb 2025 21:28:52 GMT</pubDate>
            <atom:updated>2025-02-20T21:30:14.167Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AeprvrpCfeUNN_pKH-a8cQ.png" /></figure><p>A <strong>Stored Procedure</strong> is a pre-defined collection of SQL queries and commands stored within a database management system (DBMS). It is widely used to automate repetitive tasks, perform data manipulations, and optimize performance in database operations.</p><h3>Advantages and Disadvantages of Stored Procedures</h3><h3>Advantages</h3><ul><li><strong>Performance Optimization:</strong> Stored procedures are precompiled and stored in the database, leading to faster execution times.</li><li><strong>Security:</strong> They help prevent SQL injection attacks by separating SQL code from user inputs.</li><li><strong>Code Reusability:</strong> Once created, stored procedures can be reused across different applications or queries.</li><li><strong>Transaction Management:</strong> Stored procedures support complex business logic and transactional integrity.</li></ul><h3>Disadvantages</h3><ul><li><strong>Debugging Limitations:</strong> Debugging stored procedures can be more challenging than debugging application code.</li><li><strong>Vendor Lock-in:</strong> Procedures written for one DBMS may not be compatible with another.</li><li><strong>Maintenance Overhead:</strong> Complex procedures can become difficult to manage and maintain over time.</li></ul><h3>How to Create a Stored Procedure</h3><p>Creating a stored procedure in SQL Server involves using the CREATE PROCEDURE statement. Below is an example of a basic stored procedure:</p><pre>CREATE PROCEDURE GetAllEmployees<br>AS<br>BEGIN<br>    SELECT * FROM Employees;<br>END;</pre><p>This stored procedure, when executed with EXEC GetAllEmployees, will return all records from the Employees table.</p><h3>Working with INSERT, UPDATE, DELETE Operations</h3><h3>1. INSERT Example</h3><pre>CREATE PROCEDURE InsertEmployee<br>    @Name NVARCHAR(100),<br>    @Position NVARCHAR(50),<br>    @Salary DECIMAL(10, 2)<br>AS<br>BEGIN<br>    INSERT INTO Employees (Name, Position, Salary)<br>    VALUES (@Name, @Position, @Salary);<br>END;</pre><h3>2. UPDATE Example</h3><pre>CREATE PROCEDURE UpdateEmployeeSalary<br>    @EmployeeID INT,<br>    @NewSalary DECIMAL(10, 2)<br>AS<br>BEGIN<br>    UPDATE Employees<br>    SET Salary = @NewSalary<br>    WHERE EmployeeID = @EmployeeID;<br>END;</pre><h3>3. DELETE Example</h3><pre>CREATE PROCEDURE DeleteEmployee<br>    @EmployeeID INT<br>AS<br>BEGIN<br>    DELETE FROM Employees<br>    WHERE EmployeeID = @EmployeeID;<br>END;</pre><p>These examples demonstrate how stored procedures can handle data manipulation tasks efficiently.</p><h3>Error Handling with TRY…CATCH</h3><p>Stored procedures in SQL Server support error handling through TRY...CATCH blocks, allowing for robust error management:</p><pre>CREATE PROCEDURE SafeInsertEmployee<br>    @Name NVARCHAR(100),<br>    @Position NVARCHAR(50),<br>    @Salary DECIMAL(10, 2)<br>AS<br>BEGIN<br>    BEGIN TRY<br>        INSERT INTO Employees (Name, Position, Salary)<br>        VALUES (@Name, @Position, @Salary);<br>    END TRY<br>    BEGIN CATCH<br>        SELECT ERROR_MESSAGE() AS ErrorMessage;<br>    END CATCH<br>END;</pre><h3>Best Practices</h3><ul><li>Use <strong>SET NOCOUNT ON</strong> to reduce unnecessary network traffic.</li><li>Avoid using <strong>SELECT *</strong>; instead, specify the columns needed.</li><li>Regularly update and optimize stored procedures to maintain performance.</li><li>Implement proper error handling with TRY...CATCH.</li></ul><h3>Conclusion</h3><p>Stored procedures are powerful tools for database management and automation. By leveraging their performance, security, and maintainability benefits, developers can build robust and efficient data-driven applications. However, attention should be paid to best practices and potential pitfalls to maximize their effectiveness.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a386ea5f7d5e" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>