<?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 Zeynep Küçük on Medium]]></title>
        <description><![CDATA[Stories by Zeynep Küçük on Medium]]></description>
        <link>https://medium.com/@zynpkucuk?source=rss-240af7f59212------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*hCYyPYGAGcuC1zPDsVO5LA.jpeg</url>
            <title>Stories by Zeynep Küçük on Medium</title>
            <link>https://medium.com/@zynpkucuk?source=rss-240af7f59212------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 05:13:58 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@zynpkucuk/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[Overview of the Python programming language — summary]]></title>
            <link>https://zynpkucuk.medium.com/overview-of-the-python-programming-language-summary-022a9ca6540a?source=rss-240af7f59212------2</link>
            <guid isPermaLink="false">https://medium.com/p/022a9ca6540a</guid>
            <category><![CDATA[python-programming]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[programming-languages]]></category>
            <dc:creator><![CDATA[Zeynep Küçük]]></dc:creator>
            <pubDate>Sun, 15 Oct 2023 19:51:51 GMT</pubDate>
            <atom:updated>2023-10-15T19:51:51.737Z</atom:updated>
            <content:encoded><![CDATA[<h3>Overview of the Python programming language — summary</h3><p>Python is a powerful, versatile, and widely embraced programming language known for its simplicity and readability. Developed by Guido van Rossum in the late 1980s and officially released in 1991, Python has evolved into a go-to choice for a broad range of applications, making it a favorite among developers and organizations worldwide.</p><p><a href="https://womaneng.com/overview-of-the-python-programming-language/">Click to see a more detailed article on this subject.</a></p><p><strong>Key Features of Python</strong></p><ul><li><strong>Readability and Simplicity:</strong> Python’s elegant and clean syntax, enforced by its use of indentation, makes it an ideal language for both beginners and experienced developers.</li><li><strong>Versatility and Portability:</strong> Python supports multiple programming paradigms and is compatible with various platforms, ensuring portability.</li><li><strong>Extensive Standard Library:</strong> Python’s rich standard library simplifies development by providing modules for various tasks.</li><li><strong>Active Community and Third-party Libraries:</strong> A thriving community contributes to a vast ecosystem of third-party libraries and frameworks, enhancing developers’ capabilities.</li><li><strong>Cross-Platform Compatibility: </strong>Python’s cross-platform compatibility ensures smooth operation on different operating systems.</li></ul><p><strong>Advantages of Python</strong></p><ul><li><strong>Rapid Development: </strong>Python’s concise and expressive syntax accelerates project development.</li><li><strong>Large Community and Support:</strong> Python’s active community offers extensive documentation and support.</li><li><strong>Scalability:</strong> Python is suitable for both small scripts and large-scale applications.</li><li><strong>Web Development:</strong> Popular frameworks like Django and Flask make web development in Python efficient.</li><li><strong>Data Science and Machine Learning: </strong>Python dominates data science and machine learning with libraries like NumPy, pandas, and TensorFlow.</li></ul><p><strong>Comparison with Other Programming Languages</strong></p><p>Python’s simplicity and readability distinguish it from languages like Java, C++, and JavaScript. Each language has its strengths and use cases, and Python’s adaptability makes it a great starting point for beginners.</p><p>In conclusion, Python’s history, features, and advantages have positioned it as a versatile and powerful programming language. Its readability, extensive libraries, and active community support make it an excellent choice for developers in various domains, from web development to data science and beyond.</p><p><a href="https://womaneng.com/overview-of-the-python-programming-language/">Click to see a more detailed article on this subject.</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=022a9ca6540a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Overview of the Python programming language]]></title>
            <link>https://zynpkucuk.medium.com/overview-of-the-python-programming-language-fb76a1dab200?source=rss-240af7f59212------2</link>
            <guid isPermaLink="false">https://medium.com/p/fb76a1dab200</guid>
            <category><![CDATA[advantages-of-python]]></category>
            <category><![CDATA[programming-language-2022]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[java-or-python]]></category>
            <category><![CDATA[python-programming]]></category>
            <dc:creator><![CDATA[Zeynep Küçük]]></dc:creator>
            <pubDate>Fri, 22 Sep 2023 19:30:34 GMT</pubDate>
            <atom:updated>2023-09-22T19:30:34.505Z</atom:updated>
            <content:encoded><![CDATA[<p>When it comes to programming languages, Python stands out as a true gem. Known for its simplicity, readability, and versatility, Python has won the hearts of developers and organizations worldwide. In this article, we’ll take a closer look at the Python programming language and discover why it has become a go-to choice for a wide range of applications.</p><p><strong>Python: A Brief Introduction</strong></p><p>Python, created by Guido van Rossum in the late 1980s and officially released in 1991, is a high-level, interpreted programming language. Its initial goal was to create a language that emphasized code readability and reduced the cost of program maintenance. Today, Python has evolved into a powerful and versatile language used for web development, data analysis, machine learning, automation, scientific computing, and more.</p><h3>Key Features of Python</h3><h3>1. Readability and Simplicity</h3><p>Python’s elegant and clean syntax is one of its standout features. It uses indentation for code blocks instead of curly braces or keywords, which enforces consistent and readable code. This readability makes Python an excellent choice for both beginners and experienced developers.</p><h3>2. Versatility and Portability</h3><p>Python is versatile, supporting multiple programming paradigms, including procedural, object-oriented, and functional programming. It runs on various platforms, making it a portable choice for developers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*Yu1A-SLXueL2hQjH.png" /></figure><h3>3. Extensive Standard Library</h3><p>Python comes with a rich standard library that provides modules and packages for various tasks, from file handling to web development. This extensive library reduces the need for developers to reinvent the wheel, accelerating development.</p><h3>4. Community and Third-party Libraries</h3><p>Python’s active community contributes to a vast ecosystem of third-party libraries and frameworks. These libraries, such as NumPy, pandas, Django, and TensorFlow, empower developers to tackle complex tasks efficiently.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*M0BIiifG43REP5_V.jpeg" /></figure><h3>5. Cross-platform Compatibility</h3><p>Python’s cross-platform compatibility ensures that code written in Python can run on different operating systems with minimal modifications, further simplifying development and deployment.</p><p>Python is a cross-platform language: a Python program written on a Windows PC will run on a Linux system and vice versa.</p><h3>Advantages of Python</h3><h3>1. Rapid Development</h3><p>Python’s concise and expressive syntax allows developers to write code faster, resulting in quicker project development and reduced time-to-market.</p><h3>2. Large Community and Support</h3><p>Python boasts a large and active community of developers. This means access to extensive documentation, tutorials, and community-driven solutions to problems.</p><h3>3. Scalability</h3><p>Python is suitable for both small scripts and large-scale applications. Its modularity and ease of integration enable developers to scale their projects smoothly.</p><h3>4. Web Development</h3><p>Frameworks like Django and Flask make web development in Python efficient and productive. Python is widely used for building websites and web applications.</p><h3>5. Data Science and Machine Learning</h3><p>Python has become the go-to language for data science and machine learning. Libraries like NumPy, pandas, and scikit-learn, along with frameworks like TensorFlow and PyTorch, have solidified Python’s position in these domains.</p><h3>Comparison with Other Programming Languages</h3><p>While Python has its merits, it’s essential to acknowledge that no programming language is a one-size-fits-all solution. Here’s a brief comparison of Python with some other popular programming languages:</p><h3>Python vs. Java</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*JS_MCTSDhIuvJNfZ.png" /></figure><p>Python is known for its simplicity and readability, while Java offers robust performance and platform independence. Python is often favored for rapid development, whereas Java shines in enterprise applications.</p><p>Personally, I would recommend starting with Python if you’re completely new to programming. Python has a reputation for being beginner-friendly, and it’s known for its simplicity and readability. The syntax is straightforward, which means you can quickly grasp the fundamentals of programming without getting overwhelmed by complex concepts.</p><h3>Python vs. C++</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*28HPFgGK5t-2Hne2.jpeg" /></figure><p>Python prioritizes ease of use, whereas C++ is renowned for its performance and low-level control. Developers often choose Python for quick prototyping and C++ for resource-intensive applications.</p><p>Python and C++ are both popular programming languages with their own strengths and weaknesses. Choosing between the two depends on your goals and the type of projects you want to work on.</p><p>Python is a high-level, dynamically-typed language known for its simplicity, making it ideal for beginners. Often used for scripting and data analysis, Python is praised for its readability.</p><p>On the other hand, C++ is a low-level, statically-typed language designed for system programming. It offers fine-grained hardware control but has a steep learning curve.</p><p>C++ generally outperforms Python due to its compilation process, whereas Python’s interpreted nature sacrifices speed for ease of writing and maintenance.</p><p>Python boasts a large standard library and an active community, providing extensive support and resources. It excels in data analysis and machine learning with specialized libraries.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*AkIg8fh30YpMBrqO.png" /></figure><p>In essence, Python is user-friendly and dominates data-related tasks, while C++ offers control and performance for systems programming. The choice depends on project requirements and familiarity with the languages.</p><h3>Python vs. JavaScript</h3><p>Python and JavaScript serve different purposes. Python is a general-purpose language, whereas JavaScript is primarily used for web development. Python is also popular in scientific computing and data analysis, whereas JavaScript is essential for building interactive web applications. I don’t know much about javascript but according to me the only benifit you can get by learning python first would be that you will be familiar with the concept of object oriented programming which will help you learning other language’s OOPs portion like java, ruby.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/0*Era5DrfCvNUakSyI.png" /></figure><p>And by learning python first you make your way of your career to the field of Machine Learning, Artificial intelligence, Data Science ect. As this fields widely used the python programming language. Similarly javascript can help you making websites on your own.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*Et_pkXtOUkF9KNE6.png" /></figure><h3>Python vs. Ruby</h3><p>Python and Ruby share a similar focus on readability and developer productivity. Ruby is known for its elegant syntax and is often used in web development. Python’s versatility and extensive libraries make it suitable for a broader range of applications.</p><p>When we were studying at university, they first showed us ruby. You can access some sample code I wrote in Ruby <a href="https://github.com/zeynepkucuk/Ruby-Exercises">here</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*9H63-biaiZFtYBez.jpeg" /></figure><h3>Conclusion</h3><p>Python’s history, features, and advantages have established it as a versatile and powerful programming language. Its readability, extensive libraries, and active community support make it an excellent choice for both beginners and experienced developers. While Python is not the best fit for every situation, its strengths in areas like web development, data science, and machine learning have solidified its place in the world of programming.</p><p>Website : <a href="https://womaneng.com/">https://womaneng.com</a></p><p>Instagram : <a href="https://www.instagram.com/woman.engineer/">https://www.instagram.com/woman.engineer/</a></p><p>Tiktok : <a href="https://tiktok.com/woman.engineer">https://tiktok.com/woman.engineer</a></p><p>Youtube : <a href="https://www.youtube.com/zeynepkucuk">https://www.youtube.com/zeynepkucuk</a></p><p>LinkedIn<a href="https://www.linkedin.com/in/zeynep-kucuk/">: https://www.linkedin.com/in/zeynep-kucuk/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fb76a1dab200" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Data Cleaning is Important & What is Data Cleaning Methods?]]></title>
            <link>https://zynpkucuk.medium.com/why-data-cleaning-is-important-what-is-data-cleaning-methods-97b48c944e5d?source=rss-240af7f59212------2</link>
            <guid isPermaLink="false">https://medium.com/p/97b48c944e5d</guid>
            <category><![CDATA[data-cleaning-methods]]></category>
            <category><![CDATA[data-normalization]]></category>
            <category><![CDATA[data-cleaning-with-python]]></category>
            <category><![CDATA[data-cleaning]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Zeynep Küçük]]></dc:creator>
            <pubDate>Mon, 15 May 2023 10:07:06 GMT</pubDate>
            <atom:updated>2023-09-23T08:49:19.579Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*AkoOpbIGSlQKvC3r.png" /></figure><p>Data cleaning, also known as data cleansing or data scrubbing, is the process of identifying and correcting or removing errors, inconsistencies, and inaccuracies in datasets. It is an essential step in the data preparation phase of any data analysis or machine learning project. Here are some reasons why data cleaning is important:</p><ol><li><strong>Ensures data accuracy and reliability</strong>: Data can be prone to errors and inconsistencies due to various factors such as human input, data collection methods, or technical issues. Cleaning the data helps identify and correct these errors, ensuring that the data is accurate, reliable, and trustworthy.</li><li><strong>Improves data quality</strong>: Clean data is of higher quality, which leads to more accurate and reliable insights and analysis. By removing inconsistencies, duplicates, and outliers, data cleaning helps improve the overall quality of the dataset, enabling more effective decision-making.</li><li><strong>Prevents biased or misleading analysis</strong>: Dirty data, with errors or inconsistencies, can lead to biased or misleading analysis. By cleaning the data, you reduce the chances of drawing incorrect conclusions or making flawed decisions based on flawed data.</li><li><strong>Facilitates data integration</strong>: When working with multiple datasets from different sources, data cleaning becomes crucial for integrating and harmonizing the data. By standardizing formats, resolving inconsistencies, and aligning data structures, data cleaning enables effective data integration and enhances the overall data coherence.</li><li><strong>Enables efficient data analysis</strong>: Clean data is easier to work with during the analysis phase. It reduces the time spent on manually identifying and correcting errors, allowing analysts and data scientists to focus more on extracting meaningful insights and patterns from the data.</li><li><strong>Supports accurate modeling and predictions</strong>: In machine learning and predictive analytics, the accuracy of models and predictions heavily relies on the quality of the input data. By cleaning the data, removing outliers, and resolving inconsistencies, you provide a solid foundation for building accurate and reliable predictive models.</li><li><strong>Saves time and resources</strong>: Data cleaning can be time-consuming, but it saves time and resources in the long run. By investing effort in cleaning the data upfront, you avoid potential issues and errors later in the analysis or modeling process, reducing the need for rework and troubleshooting.</li><li><strong>Complies with regulations and standards</strong>: In certain industries, there are regulations and standards regarding data quality and accuracy, such as GDPR in Europe. By performing data cleaning, you ensure compliance with these regulations and maintain the integrity of the data.</li></ol><p>Overall, data cleaning is essential for ensuring data accuracy, improving data quality, and enabling reliable analysis and decision-making. It plays a vital role in extracting meaningful insights from data and is a critical step in any data-driven project.</p><h3>What are the data cleaning methods in machine learning?</h3><p>Data cleaning methods in machine learning aim to preprocess and transform raw data into a clean and usable format for effective analysis and model training. Here are some common data cleaning methods used in machine learning:</p><p><strong>Handling missing data:</strong> Missing data is a common issue in datasets. Some methods for handling missing data include:</p><ul><li>Deleting rows or columns with missing values if the missingness is random and doesn’t introduce bias.</li><li>Imputing missing values using techniques such as mean imputation, median imputation, mode imputation, or regression imputation.</li><li>Using advanced methods like multiple imputation, which generates multiple plausible imputations to preserve variability in the data.</li></ul><p><strong>Dealing with outliers: </strong>Outliers are extreme values that deviate significantly from the typical patterns in the data. Outliers can be addressed using techniques such as:</p><ul><li>Identifying outliers using statistical methods like z-scores or interquartile range (IQR) and then removing or replacing them.</li><li>Winsorizing, which replaces extreme values with a less extreme but still plausible value.</li><li>Transforming the data using techniques like log transformations or Box-Cox transformations to reduce the impact of outliers.</li></ul><p><strong>Handling categorical data:</strong> Categorical variables need to be converted into a numerical representation for many machine learning algorithms. Methods for encoding categorical data include:</p><ul><li>One-Hot Encoding: Creating binary columns for each category, where 1 represents the presence of a category and 0 represents the absence.</li><li>Label Encoding: Assigning a unique numerical label to each category.</li><li>Target Encoding: Replacing categories with the average target value for that category.</li></ul><p><strong>Addressing inconsistent data:</strong> Inconsistent data refers to data that violates predefined rules or constraints. Common methods for addressing inconsistent data include:</p><ul><li>Standardizing formats: Ensuring consistent formatting for variables like dates, phone numbers, or addresses.</li><li>Correcting errors: Identifying and correcting errors, such as misspelled words or inconsistent naming conventions.</li><li>Removing duplicates: Detecting and removing duplicate records in the dataset.</li></ul><p><strong>Feature scaling:</strong> Scaling numerical features can help prevent certain features from dominating others during model training. Common scaling methods include:</p><ul><li>Standardization: Transforming data to have a mean of 0 and a standard deviation of 1.</li><li>Min-Max Scaling: Scaling data to a specific range, often between 0 and 1</li></ul><p><strong>Feature engineering: </strong>Creating new features or transforming existing features can help improve model performance. This can include operations such as:</p><ul><li>Creating interaction terms by multiplying or combining existing features.</li><li>Transforming variables using logarithmic, exponential, or polynomial functions.</li><li>Binning or discretizing continuous variables into categorical bins.</li></ul><p><strong>Data normalization:</strong> Normalizing data can be beneficial when features have significantly different scales. Normalization techniques include:</p><ul><li>Z-score normalization: Transforming data to have a mean of 0 and a standard deviation of 1.</li><li>Min-Max normalization: Scaling data to a specific range, often between 0 and 1.</li></ul><p>These methods are not exhaustive, and the choice of data cleaning techniques depends on the specific characteristics of the dataset and the requirements of the machine learning task. It’s important to carefully analyze the data, understand the nature of the cleaning needed, and select appropriate methods accordingly.</p><p><strong>More:</strong></p><p><a href="https://womaneng.com/why-data-science/">Why Data Science?</a></p><p><a href="https://womaneng.com/why-is-data-science-important/">Why is Data Science important?</a></p><p><a href="https://womaneng.com/5-free-data-science-books-for-beginners/">5 Free Data Science Books for Beginners</a></p><p><a href="https://womaneng.com/how-to-become-data-scientist/">How can I become a Data Scientist ?</a></p><p><em>Originally published at </em><a href="https://womaneng.com/why-data-cleaning-is-important-what-is-data-cleaning-methods/"><em>https://womaneng.com</em></a><em> on May 15, 2023.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=97b48c944e5d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Advanced SQL Concepts You Should Know — Woman Engineer]]></title>
            <link>https://zynpkucuk.medium.com/advanced-sql-concepts-you-should-know-woman-engineer-20f1f25ae702?source=rss-240af7f59212------2</link>
            <guid isPermaLink="false">https://medium.com/p/20f1f25ae702</guid>
            <category><![CDATA[advanced-sql]]></category>
            <category><![CDATA[sql-stored-procedure]]></category>
            <category><![CDATA[sql-triggers]]></category>
            <category><![CDATA[materializedviews]]></category>
            <category><![CDATA[sql-union]]></category>
            <dc:creator><![CDATA[Zeynep Küçük]]></dc:creator>
            <pubDate>Wed, 08 Mar 2023 20:52:49 GMT</pubDate>
            <atom:updated>2023-09-22T19:56:35.300Z</atom:updated>
            <content:encoded><![CDATA[<h3>Advanced SQL Concepts You Should Know</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*aundWJyzmNb9syvz.png" /></figure><p>Learning advanced SQL involves building upon the basic SQL knowledge and expanding your understanding of complex queries, data manipulation, and data analysis. Here are some steps you can take to learn more advanced SQL:</p><p>If you are well aware with the basic SQL, then learning advanced SQL is not a rocket science. I am sharing the topics for advanced SQL with a little description:</p><h3>Advanced SQL Topics:</h3><h3>Stored Procedures</h3><p>A stored procedure in SQL is a pre-written program or routine that is stored in the database server and can be executed whenever it is needed. Stored procedures are used to encapsulate a series of SQL statements and to execute them as a single unit of work.</p><p>Stored procedures provide many benefits, including:</p><ol><li>Increased performance: Stored procedures are precompiled and stored in memory, so they can be executed much faster than ad-hoc SQL statements.</li><li>Enhanced security: Stored procedures can be granted permissions to specific users, and database administrators can control the access to the underlying tables and data.</li><li>Code reuse: Stored procedures can be reused across multiple applications, making it easier to maintain and update the code.</li><li>Consistency: Stored procedures help to ensure that database operations are performed in a consistent manner across different applications.</li></ol><p><strong>Here are some basic steps to create a stored procedure in SQL:</strong></p><ol><li>Define the procedure name and input/output parameters.</li><li>Write the SQL statements to be executed in the stored procedure.</li><li>Compile and save the stored procedure in the database.</li><li>Call the stored procedure using the procedure name and input parameters.</li></ol><p>Example of creating a simple stored procedure:</p><pre>CREATE PROCEDURE GetCustomerOrders<br>    @CustomerID int<br>AS<br>BEGIN<br>    SELECT * FROM Orders WHERE CustomerID = @CustomerID<br>END</pre><p>This stored procedure accepts an input parameter <strong>@CustomerID </strong>and returns all the orders for that customer. You can call this stored procedure from your application by executing the following SQL statement:</p><pre>EXEC GetCustomerOrders @CustomerID = 1</pre><p>This will execute the stored procedure and return all the orders for customer ID 1.</p><h3>Indexes</h3><p>Indexes in SQL are database structures that are used to speed up data retrieval. They work like a table of contents in a book, providing quick access to specific information. Indexes are created on one or more columns of a table and are used to improve the performance of SELECT, UPDATE, and DELETE operations.</p><p>When you create an index on a table, the database creates a separate data structure that contains a copy of the indexed columns and a pointer to the corresponding rows in the original table. This allows the database to quickly locate the data without having to scan the entire table.</p><p>Here are some benefits of using indexes in SQL:</p><ol><li>Faster data retrieval: Indexes can speed up data retrieval by reducing the amount of time it takes to search for and retrieve data from the database.</li><li>Improved query performance: Indexes can improve query performance by reducing the number of rows that need to be scanned to satisfy a query.</li><li>Efficient data modification: Indexes can also improve the performance of data modification operations, such as INSERT, UPDATE, and DELETE, by reducing the amount of data that needs to be modified.</li></ol><p>Here are some common types of indexes in SQL:</p><ol><li>Clustered index: A clustered index determines the physical order of the data in a table based on the values of one or more columns. A table can have only one clustered index.</li><li>Non-clustered index: A non-clustered index is a separate structure that stores a copy of the indexed columns and a pointer to the corresponding rows in the original table.</li><li>Unique index: A unique index enforces a unique constraint on the indexed columns, preventing duplicate values from being inserted into the table.</li><li>Composite index: A composite index is an index that is created on two or more columns in a table.</li></ol><p>To create an index in SQL, you can use the CREATE INDEX statement, followed by the name of the index, the name of the table, and the name of the column or columns to be indexed. Here’s an example:</p><pre>CREATE INDEX idx_customers_last_name ON customers (last_name);</pre><p>This creates a non-clustered index on the <strong><em>last_name</em></strong> column of the customers table. When a query is executed that searches for a specific customer by last name, the database can use the index to quickly locate the relevant rows in the table.</p><h3>Constraints</h3><p>Constraints in SQL are rules that are applied to columns in a table to ensure that data meets certain conditions or requirements. Constraints are used to enforce data integrity and prevent data from being entered incorrectly.</p><p>Here are some common types of constraints in SQL:</p><ol><li>NOT NULL constraint: A NOT NULL constraint ensures that a column cannot contain NULL values. This means that every row in the table must have a value for the column.</li><li>UNIQUE constraint: A UNIQUE constraint ensures that each value in a column is unique. This means that no two rows in the table can have the same value for the column.</li><li>PRIMARY KEY constraint: A PRIMARY KEY constraint is a combination of a NOT NULL and UNIQUE constraint. It ensures that each row in the table is uniquely identified by a specific column or set of columns.</li><li>FOREIGN KEY constraint: A FOREIGN KEY constraint is used to establish a relationship between two tables. It ensures that values in a column in one table match values in a column in another table.</li><li>CHECK constraint: A CHECK constraint is used to ensure that values in a column meet a specific condition. For example, a CHECK constraint can be used to ensure that a date column contains only dates that are in the future.</li></ol><p>Here’s an example of adding a NOT NULL constraint to a column:</p><pre>ALTER TABLE customers<br>ALTER COLUMN first_name varchar(50) NOT NULL;</pre><p>This SQL statement adds a NOT NULL constraint to the <strong><em>first_name</em></strong> column in the <strong><em>customers</em></strong> table. This means that every row in the table must have a value for the <strong><em>first_name</em></strong> column, and NULL values are not allowed.</p><p>Here’s an example of adding a FOREIGN KEY constraint to a column:</p><pre>ALTER TABLE orders<br>ADD CONSTRAINT fk_orders_customers<br>FOREIGN KEY (customer_id) REFERENCES customers(id);</pre><p>This SQL statement adds a FOREIGN KEY constraint to the <strong><em>customer_id</em></strong> column in the <strong><em>orders</em></strong> table. This ensures that values in the <strong><em>customer_id</em></strong> column match values in the <strong><em>id</em></strong> column of the <strong><em>customers</em></strong> table, establishing a relationship between the two tables.</p><h3>SQL UNION</h3><p>UNION is a SQL operator used to combine the results of two or more SELECT statements into a single result set. The result set returned by the UNION operator contains all the rows returned by each SELECT statement in the UNION, with duplicate rows removed.</p><p>Here’s the basic syntax for using the UNION operator:</p><pre>SELECT column1, column2, ...<br>FROM table1<br>UNION<br>SELECT column1, column2, ...<br>FROM table2;</pre><p>In this example, two SELECT statements are combined using the UNION operator. Each SELECT statement retrieves data from a different table and returns a result set with the same number of columns. It’s important to note that the data types and order of the columns in each SELECT statement must match in order for the UNION operator to work correctly. Here’s an example of using UNION to retrieve data from two tables:</p><pre>SELECT name, email<br>FROM customers<br>UNION<br>SELECT name, email<br>FROM leads;</pre><p>in this example, the results of two SELECT statements are combined using the UNION operator. The first SELECT statement retrieves the <strong>name</strong> and <strong>email</strong> columns from the <strong>customers</strong> table, and the second SELECT statement retrieves the same columns from the <strong>leads</strong> table. The UNION operator combines the results of these two SELECT statements into a single result set.</p><p>It’s important to note that the UNION operator removes duplicate rows from the result set. If you want to include duplicate rows, you can use the UNION ALL operator instead of UNION.</p><h3>Triggers</h3><p>In SQL, a trigger is a special type of stored procedure that is automatically executed in response to certain database events or changes, such as the insertion, update, or deletion of data in a table.</p><p>Triggers are useful for enforcing business rules, implementing audit trails, and maintaining data integrity. They can be used to perform complex calculations, send notifications, or perform other actions based on changes to the data.</p><p>Here’s an example of a trigger that logs information about updates to a table:</p><pre>CREATE TRIGGER log_update<br>AFTER UPDATE ON my_table<br>FOR EACH ROW<br>BEGIN<br>  INSERT INTO audit_log (table_name, column_name, old_value, new_value, updated_at)<br>  VALUES (&#39;my_table&#39;, &#39;column_name&#39;, OLD.column_name, NEW.column_name, NOW());<br>END;</pre><p>In this example, the trigger is defined to fire AFTER an update occurs on the my_table table. The FOR EACH ROW clause specifies that the trigger will execute once for each row that is affected by the update.</p><p>Inside the trigger body, an INSERT statement is used to log information about the update to an audit_log table. The OLD and NEW keywords are used to refer to the old and new values of the updated column, respectively. The NOW() function is used to record the current date and time.</p><p>It’s important to note that triggers can have a significant impact on database performance, especially if they are used to perform complex calculations or operations. It’s also important to ensure that triggers are designed to handle all possible scenarios and edge cases, and that they are thoroughly tested before being deployed in a production environment.</p><h3>Materialized Views</h3><p>In SQL, a materialized view is a database object that stores the results of a query in a precomputed table. Materialized views are used to improve query performance by reducing the amount of time it takes to execute complex queries that involve aggregations, joins, and other operations.</p><p>When a materialized view is created, the query used to define the view is executed and the results are stored in a table. The table can then be indexed, partitioned, and optimized for query performance. When the underlying data changes, the materialized view can be refreshed to update the results.</p><p>Here’s an example of creating a materialized view in SQL:</p><pre>CREATE MATERIALIZED VIEW my_view AS<br>SELECT column1, column2, COUNT(*)<br>FROM my_table<br>GROUP BY column1, column2;</pre><p>In this example, the materialized view is defined using a SELECT statement that performs an aggregation on the my_table table. The GROUP BY clause is used to group the data by the column1 and column2 columns, and the COUNT(*) function is used to count the number of rows in each group.</p><p>When the materialized view is created, the results of the SELECT statement are stored in a table called my_view. The materialized view can then be queried like any other table, and the results will be returned much more quickly than if the query had to be executed on the fly.</p><p>It’s important to note that materialized views can have a significant impact on database performance and storage requirements, especially if they are used to store large amounts of data. It’s also important to ensure that materialized views are refreshed regularly to keep them up to date with the underlying data.</p><p><em>Originally published at </em><a href="https://womaneng.com/advanced-sql-concepts-you-should-know/"><em>https://womaneng.com</em></a><em> on March 8, 2023.</em></p><p>Website : <a href="https://womaneng.com/">https://womaneng.com</a></p><p>Instagram : <a href="https://www.instagram.com/woman.engineer/">https://www.instagram.com/woman.engineer/</a></p><p>Tiktok : <a href="https://tiktok.com/woman.engineer">https://tiktok.com/woman.engineer</a></p><p>Youtube : <a href="https://www.youtube.com/zeynepkucuk">https://www.youtube.com/zeynepkucuk</a></p><p>LinkedIn<a href="https://www.linkedin.com/in/zeynep-kucuk/">: https://www.linkedin.com/in/zeynep-kucuk/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=20f1f25ae702" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Simple Linear Regression — KNIME]]></title>
            <link>https://medium.com/low-code-for-advanced-data-science/simple-linear-regression-knime-bbef37195f63?source=rss-240af7f59212------2</link>
            <guid isPermaLink="false">https://medium.com/p/bbef37195f63</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[decision-tree-regressor]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[getting-started]]></category>
            <category><![CDATA[knime-analytics-platform]]></category>
            <dc:creator><![CDATA[Zeynep Küçük]]></dc:creator>
            <pubDate>Wed, 02 Feb 2022 09:55:05 GMT</pubDate>
            <atom:updated>2022-02-02T09:57:30.384Z</atom:updated>
            <content:encoded><![CDATA[<h4>GETTING STARTED | SIMPLE REGRESSION | KNIME ANALYTICS PLATFORM</h4><h3>Simple Linear Regression — KNIME</h3><h4>From data ingestion to model prediction and evaluation in just a few clicks</h4><p><em>Co-author: </em><a href="https://www.linkedin.com/in/zeynep-k%C3%BC%C3%A7%C3%BCk/"><em>Zeynep Küçük</em></a></p><p><em>As first published on </em><a href="https://womaneng.com/simple-linear-regression-knime/"><em>Woman Engineer</em></a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Flzzc9e99D1ke-p6yfbzjQ.png" /></figure><p>Linear regression is a kind of statistical analysis that attempts to model the relationship between a scalar response and one or more explanatory variables. Linear regression looks at various data points and aims at fitting a trend line. Linear regression can be used to create a predictive model on apparently random data, showing trends in the dataset, such as in cancer diagnoses or in stock prices.</p><p>Predicting a response using one or more input features, that is given a set of input data points (X) and responses (Y), simple linear regression tries to fit a line that passes through the maximum number of points while minimizing the squared distance of the points to the fitted line values.</p><p>In simple terms, linear regression helps to find the relation between two variables and is a type of supervised algorithm.</p><p>A linear regression line has an equation of the form:</p><p><strong>y=b0+ b1x+e</strong></p><p><strong>y =</strong> Dependent variable</p><p><strong>x =</strong> Independent variable</p><p>The term <strong>b0</strong> is the intercept , <strong>b1</strong> is the slope of the regression line, <strong>x</strong> is the input variable, <strong>e</strong> is the error term, and <strong>y</strong> is the predicted value of the response variable.</p><p>The slope <strong>b1</strong> tells us how a change in the input causes changes in the output.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*hwt3Mw4_JsI-pwev.png" /></figure><h3>A No-Code Approach to Simple Regression with KNIME</h3><p><a href="https://www.knime.com/software-overview?utm_source=medium&amp;utm_medium=social&amp;utm_term=&amp;utm_content=&amp;utm_campaign=Community">KNIME</a>, the Konstanz Information Miner, is an open source data analytics, reporting and integration platform. Let’s make an example using a simple regression tree in <a href="https://www.knime.com/software-overview?utm_source=medium&amp;utm_medium=social&amp;utm_term=&amp;utm_content=&amp;utm_campaign=Community">KNIME Analytics Platform</a>.</p><h3>Exploring the Dataset</h3><p>The <strong>Iris flower data set</strong> contains 3 classes of 50 instances each, where each class refers to a type of iris plant. One class (Iris-setosa) is linearly separable from the other 2; whereas the latter are NOT linearly separable from each other.</p><p>The Iris Dataset we are using looks like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*5izQSekFxw08vp6Z.png" /></figure><h3>Attribute Information</h3><p>1. sepal length in cm <br>2. sepal width in cm <br>3. petal length in cm <br>4. petal width in cm <br>5. class: <br> — Iris Setosa <br> — Iris Versicolour <br> — Iris Virginica</p><p>So, once the file is read into KNIME using a <strong>File Reader </strong>node. Usually, at this point we would need to apply the first pre-processing step to the data , but we don’t need pre-processing in this case because the iris data set is a clean set. With the exception of the feature “class”, our dataset contains only numeric features.</p><h3>Train — Test Split</h3><p>Finally, we have our dataset in a form that can be used for training a simple regressor and testing it. Before that, the last thing we need to do is to split the complete dataset into <strong>Train and</strong> <strong>Test set</strong>. To do so, we use the <strong>Partitioning </strong>node. In its configuration, we specify that we want to split the data using “Stratified sampling” with 80% as our train data and the remaining as our test data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*_Jkwba_mQfHWIj8o.png" /></figure><h3>Training and Testing the Model</h3><p>KNIME provides several options to perform simple regressions using the regression learners and regression predictor nodes. In this example, the <a href="https://kni.me/n/yZrYBRw7gRSJnyv6?utm_source=medium&amp;utm_medium=social&amp;utm_term=&amp;utm_content=&amp;utm_campaign=Community">Simple Regression Tree Learner</a> node is used to learn a single regression tree, and the <a href="https://kni.me/n/uQYuAe-3kjr5heD6?utm_source=medium&amp;utm_medium=social&amp;utm_term=&amp;utm_content=&amp;utm_campaign=Community">Simple Regression Tree Predictor</a> node to apply the learnt model. We feed the Iris train data set coming from the Partitioning node to the learner node using “petal width” as the target column. The output of this node is a learnt Regression Tree model.</p><p>Next, we feed the output model and Iris test data set to the Simple Regression Tree Predictor node, which will return the predicted values for the target column.</p><p>You can see this part of the workflow in the figure below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/520/0*IE9QIizboOifSLgU.png" /></figure><h3>Evaluating the Model</h3><p>We are using the following metrics to evaluate the regression model:</p><ul><li>R-Squared</li><li>Mean Absolute Error</li><li>Mean Squared Error</li><li>Root Mean Squared Error</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*66soTQh4wFEhc4d0.png" /></figure><p>All these metrics measure how much the predicted value deviates from the actual values. We can directly calculate these metrics using the <a href="https://kni.me/n/ZqcMbr00jkoQ1av4?utm_source=medium&amp;utm_medium=social&amp;utm_term=&amp;utm_content=&amp;utm_campaign=Community"><strong>Numeric Scorer</strong></a> node. This node computes statistics between the numeric column’s actual values and the predicted values.</p><p>We see that our model has an R-Squared value of 88.3% which means that 88.3% of our Iris dataset falls around the regression line created by our model.</p><h3>Line Plot</h3><p>The final step is the visualization of results. To do this, we are using KNIME’s Line Plot node to draw a line plot and visualize the performance of the simple regression tree. Using the Line Plot node, we can plot the numeric columns of the input table as lines.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*v-pQBrnSCiLyKEP1.png" /></figure><p>If we want to inspect the regression tree built by the Simple Regression Tree Learner node, we can easily do that exploring the Regression Tree View of the node.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*2GhN-eUrlTQHtxpd.png" /></figure><p>Finally, we can inspect the predicted values for the test set output by the Simple Regression Tree Predictor in the form of a table.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*zRRrGtyP58ZVObbE.png" /></figure><h3>Linear Regression Use Cases</h3><p>The following can be some of the best use cases for using Linear Regression:</p><ul><li>Given some demographic description of a person, it can help predict his or her monthly income.</li><li>Linear regression can also be used to analyze the marketing effectiveness, pricing and promotions on sales of a product.</li><li>Given some description of a house (bathrooms, condition, view, floors), it can help predict its cost.</li><li>Linear regression can be used by a company that wants to know if the funds that they have invested in marketing a particular brand has given them substantial return on investment.</li><li>Conducting a linear analysis on sales data with monthly sales, the company could forecast sales in future months.</li><li>Analyzing the impact of rainfall totals on fruit harvest.</li><li>Analyzing the impact of product price on number of sales.</li></ul><p>Thanks for reading!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bbef37195f63" width="1" height="1" alt=""><hr><p><a href="https://medium.com/low-code-for-advanced-data-science/simple-linear-regression-knime-bbef37195f63">Simple Linear Regression — KNIME</a> was originally published in <a href="https://medium.com/low-code-for-advanced-data-science">Low Code for Data Science</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Matris Hatası Nedir? -Confusion Matrix]]></title>
            <link>https://zynpkucuk.medium.com/matris-hatas%C4%B1-nedir-confusion-matrix-c92df30d9dcd?source=rss-240af7f59212------2</link>
            <guid isPermaLink="false">https://medium.com/p/c92df30d9dcd</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[veri-bilimi]]></category>
            <category><![CDATA[confusion-matrix]]></category>
            <category><![CDATA[makine-öğrenmesi]]></category>
            <category><![CDATA[hata-matrisi]]></category>
            <dc:creator><![CDATA[Zeynep Küçük]]></dc:creator>
            <pubDate>Sun, 28 Feb 2021 08:45:25 GMT</pubDate>
            <atom:updated>2021-02-28T08:46:37.155Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aOAeWi0sr2pkIRWGQZkyOA.jpeg" /></figure><p>Confusion matrix ( hata matrisi), veri setindeki var olan durum ile sınıflandırma modelimizin doğru ve yanlış tahminlerinin sayısını tablo olarak göstermektedir.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*96yKlbjB3nd5S7gE5IHFAA.png" /></figure><ol><li>Gerçek pozitif (True Positive — TP) — Olumlu tahmin ettiniz ve bu doğru</li><li>Gerçek negatif (True Negative — TN) — Olumsuz tahmin ettiniz ve bu doğru</li><li>Yanlış pozitif (False Positive — FP) — Olumlu tahmin ettiniz ve bu yanlış</li><li>Yanlış negatif (False Negative — FN) — Olumsuz tahmin ettiniz ve bu yanlış</li></ol><p><strong>GERÇEK POZİTİFLER =</strong> TP + FN</p><p><strong>GERÇEK NEGATİFLER =</strong> TN + FP</p><p><strong>TOPLAM =</strong> TP + TN + FP + FN</p><p><strong>Accuracy(Doğruluk):</strong> Sistemde doğru olarak yapılan tahminlerin tüm tahminlere oranıdır.</p><p><strong>Accuracy =</strong> (TP+TN) / (TP+TN+FN+FP) = 72+20 / 20+24+20+72 = 67.5 %</p><p><strong>Precision(Kesinlik) :</strong> Pozitif olarak tahmin edilen bir durumdaki başarıyı gösteren durum.</p><p><strong>Precision =</strong> TP / (TP + FP) = 20/ 20+20 = 50 %</p><p><strong>Recall(Hassasiyet) :</strong> Pozitif durumların ne kadar başarılı tahmin edildiğini gösterir.</p><p><strong>Recall =</strong> TP / (TP + FN) = 20 /20+24 = 45 %</p><p><strong>F-measure =</strong> Precision ve Recall metriklerinin harmonik ortalamasıdır.</p><p><strong>F-Measure = </strong>2. Precision.Recall / Precision + Recall = 2.50.45 / 50+45 = 47.6 %</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c92df30d9dcd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Kümeleme Nedir?]]></title>
            <link>https://zynpkucuk.medium.com/k%C3%BCmeleme-nedir-9a56bb92eaee?source=rss-240af7f59212------2</link>
            <guid isPermaLink="false">https://medium.com/p/9a56bb92eaee</guid>
            <category><![CDATA[kümeleme-nedir]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[stream-learning]]></category>
            <category><![CDATA[clustering]]></category>
            <category><![CDATA[realtime]]></category>
            <dc:creator><![CDATA[Zeynep Küçük]]></dc:creator>
            <pubDate>Fri, 19 Feb 2021 18:17:36 GMT</pubDate>
            <atom:updated>2021-02-19T18:26:19.513Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Akan Verilerde Kümeleme Nedir?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3F8uDvC-VkfnpAFBCKU8xA.png" /></figure><p>Kümeleme, danışmansız öğrenme yöntemi ile gerçekleştirilen bir sınıflandırmadır. Küme, içerisindeki nesneler birbirine farklı kümelerde yer alan nesnelere göre daha çok benzemektedir. Kümeleme işlemindeki amaçlardan birisi de kümeler arasındaki farklılıkları ve kümeler içi benzerlikleri en yüksek düzeye çıkarmaktır. Özetlemek gerekirse, aynı kümelerdeki veri noktaları arasındaki benzerlik fazlayken, farklı kümelerdeki veri noktaları arasındaki benzerlik azdır. Kümeleme yönteminde kullanılan yaklaşımlardan birisi de veri noktaları arasındaki uzaklık ölçümü veya yakınlığa dayalı bir benzerlik değerlendirilerek nesnelerin bir araya toplanması şeklinde ifade edilmektedir.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/308/1*bns_oxNfwNly64MRVpfLmg.png" /></figure><p><strong><em>Akan Verilerde Kümeleme</em></strong></p><p>Akan verilerde kümeleme işleminde, sistem veriyi bir defa okumalı, hızlı olmalı ve kendisini gelen veriye göre uyarlayabilmelidir. Akan verilerde kümeleme yöntemlerinin, finansal uygulamalar, ağ (network) analizi, telekomünikasyon, çağrı merkezleri, web, sensör ağ, meteoroloji, bilim ve mühendislik araştırmaları, sosyal medya, mobil uygulamalar, IoT (nesnelerin interneti / I<em>nternet of Things)</em> gibi alanlarda kullanımı artmaktadır.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GN4mB8A36w4qIPAtUKLfyw.png" /></figure><p>Şekil 5’te görüldüğü gibi akan verinin sonu belli değildir. Boyut sonsuz kabul edilirse verilerin depolanarak işlenme imkanı yoktur. Bu yüzden çevrimiçi öğrenen sistemler geliştirilmektedir. Bu sistemlerin sahip olması gereken özellikler;</p><ul><li>Uyarlanabilirlik, sistemin her veri için kendisini uyarlaması gerekmektedir.</li><li>Veri sadece bir defa işlenmelidir.</li><li>Veri sistem tarafından kısa sürede az kaynak ile işlenebilmeli.</li><li>Eski kümelerin yeni veriye göre adapte olabilmesi gerekmektedir (yok etme, birleştirme vb.)</li><li>Veri akarken, kümeleme işlemi de devam etmeli.</li><li>Sapan verilerin tespiti yapılmalı.</li><li>Gerçek zamanlı işleme.</li></ul><p><strong><em>Akan Verilerde Kümeleme Yöntemlerinin Zorlukları</em></strong></p><p>Akan verilerde kümeleme yaparken karşımıza çıkan zorluklardan bazıları aşağıda sıralanmıştır:</p><ul><li>Akan veri kümeleme de normal kümeleme yöntemlerinin aksine veriler dinamik ve değişkendir</li><li>Verileri depolama ve sonradan işleme imkanı olmamaktadır, veri akışının, teorik olarak bir sonu olmadığı düşünülürse, toplam veri hacmi bile bilinmemektedir.</li><li>Sonuçlar zamansal olarak değişmektedir.</li><li>Sapan verilerin tespiti ve düzeltilmesi zordur.</li><li>Verilerden istatistiksel bilgi çıkarmak zordur.</li><li>Parametrelerin belirlenmesi tüm veri olmadığı için oldukça zordur.</li><li>Uyarlanabilirlik, modelin her veri için kendisini uyarlaması gerekmektedir.</li><li>Veri sadece bir defa işlenmelidir.</li><li>Paralel ve iteratif işleme gerektirir.</li><li>Veri kısa sürede az kaynak ile işlenebilmelidir.</li><li>Eski kümelerin yeni veriye göre adapte olabilmesi gerekmektedir (yok etme, birleştirme gibi).</li><li>Veri akarken kümeleme işlemi de devam etmeli.</li><li>Anlık olarak model cevap dönebilmeli.</li><li>Veri hızına bağlı olarak hızlı ilerleyen bir kümeleme yaklaşımı tercih edilmeli.</li><li>Akan verilerde çok boyutlu veri işlemek oldukça zordur bunun için farklı yöntemler geliştirilmeli.</li></ul><p><strong><em>Akan Verilerde Kümeleme Yaklaşımlarının Uygulandığı Alanlar</em></strong></p><p>Günümüzde bütün işlerimizi internet üzerinden halledebiliyor duruma geldik. Bu da yapılan işlemlerin anlık sonuçlanmasını ve bizleri doğru bir şekilde geri dönüş verilmesini gerektirmektedir. Akan verilerde kümeleme yöntemlerinin uygulanabileceği alanlar ise;</p><ul><li>Finansal (borsa),</li><li>Ağ izleme,</li><li>Telekomünikasyon çağrı kayıtları ve verileri,</li><li>Web logları ve anlık tıklamalar,</li><li>Sensör ağ,</li><li>Güvenlik izleme,</li><li>Meteorolojik,</li><li>Ticaret (kredi kartı işlem akışları),</li><li>Bankacılık,</li><li>İmalat, güç kaynağı,</li><li>Bilim ve mühendislik</li></ul><p>gibi alanlarda kullanmakta ve giderek kullanım alanları portföyünü genişletmektedir. IoT’un giderek yaygınlaştığı günümüzde de bu yöntemlerin kullanım alanlarının giderek artacağını söylemek mümkündür .</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9a56bb92eaee" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[MBR VS GPT KARŞILAŞTIRMASI]]></title>
            <link>https://zynpkucuk.medium.com/mbr-vs-gpt-kar%C5%9Fila%C5%9Ftirmasi-4cd7b5fde094?source=rss-240af7f59212------2</link>
            <guid isPermaLink="false">https://medium.com/p/4cd7b5fde094</guid>
            <category><![CDATA[disk]]></category>
            <category><![CDATA[gpt-nedir]]></category>
            <category><![CDATA[disk-yönetimi]]></category>
            <category><![CDATA[disk-yönetme]]></category>
            <category><![CDATA[mbr-gpt-farkı-nedir]]></category>
            <dc:creator><![CDATA[Zeynep Küçük]]></dc:creator>
            <pubDate>Wed, 17 Feb 2021 19:29:43 GMT</pubDate>
            <atom:updated>2021-02-17T19:29:43.815Z</atom:updated>
            <content:encoded><![CDATA[<p>Disk Yönetimi’nde bilgisayarda yeni bir sabit diski ilklendirmek istediğinizde, GUID Bölme Tablosu (GPT) ve Ana Önyükleme Kaydı (MBR) olarak adlandırılan iki farklı disk stili arasında seçim yapmanız gerekebilir. Kendiniz için hangisinin daha iyi olduğunu merak ederseniz, onları aşağıdaki gibi karşılaştırabiliriz.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Pr14rlFFd-P6oi_RKnTxeg.png" /></figure><h4>1.Popülerlik</h4><p>MBR sabit sürücülerdeki bölümleri yönetmek için GPT’den daha önce gösterilen eski bir standarttır. Bu nedenle, hızlı gelişmelerle ,GPT’den çok daha fazla sayıda kullanıcıya sahiptir.</p><h4>2.Partition Numarası</h4><p>MBR, yalnızca en fazla 4 birincil bölüm oluşturmanıza izin vermektedir. Daha fazla bölüm oluşturmak istiyorsanız, harici bölüm olarak dört bölümden birini seçmeniz gerekir. Ve bundan sonra, bu harici bölümdeki diğer mantıksal bölümleri oluşturabilirsiniz. Ancak, GPT söz konusu olduğunda, isterseniz en fazla 128 birincil bölüm oluşturabilirsiniz.</p><h4>3.İşletim Sistemi Desteği</h4><p>MBR, GPT’den daha uzun sürdüğü için, neredeyse her tür işletim sisteminde kullanılabilir. Tam tersine, GPT yeni bir teknoloji olduğu için, Windows 8 veya diğer Windows sistemlerinin bir kısmı destekleyebilir.</p><p>Genel anlamda,i BIOS sadece MBR’yi destekler, ancak UEFI MBR ve GPT’yi desteklemektedir. İşletim sistemi desteğindeki MBR ve GPT’yi karşılaştırırken, MBR diskine tüm işletim sistemleri yüklenebilmektedir, yani MBR tüm işletim sistemlerinin tüm sürümlerini destekler. Ancak, tam tersine, tüm Windows sistemleri GPT’ yi desteklemez.</p><h4>4.Hard Disk Kapasiteleri</h4><p>Ayrıca, farklı sabit disk kapasiteleri var. MBR, yalnızca 2TB depolama alanına sahiptir. Yeni sürücü 2 GB’den fazlaysa, bunun yerine GPT’yi seçmeniz gerekir. GPT, depolama kapasitesinde yaklaşık 18EB(ExaByte)’ye kadar desteklemektedir.</p><h4>5.Güvenlik</h4><p>Yukarıdaki farklılıklar dışında güvenlik konusunda da farklılıklar vardır. Diagramdan baktığımızda GPT disklerde başta ve sonra iki adet GPT Header mevcuttur. MBR ve GPT arasında en büyük farklardan biriside aslında budur. Bu fark GPT disklerde ana header bozulduğu zaman yedek header sonda olduğundan hızlı bir kurtarmaya olanak sağlıyor. CRC32 ile sorunların tespitini hızlı bir şekilde sağlamaktadır.</p><p>Bu, GPT’nin olağanüstü bir avantajıdır, oysa MBR’nin böyle bir özelliği yoktur. Bölüm tablosu bozulduğunda, MBR diski kullanılamaz. Bu açıdan, GPT’nin MBR diskten daha yüksek bir güvenliği vardır.</p><p>İkisi arasındaki farkları tablo olarak inceleyelim</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YDmIOq_m2FYCh-zQHyaOBQ.png" /></figure><h3>Aygıtımızın MBR mi GPT mi olduğunu nasıl anlarız?</h3><p>Aygıtımızın MBR mi GPT mi olduğunu nasıl anlarız windows ekranında çalıştır kısmına mmc devmgmt.msc komutunu yazalım tamam diyelim.<br>Aygıt yöneticisi ekranı açılacak bu ekranda Disk sürücülerine tıklayalım WDC.. diye devam eden diske sağ tıklayalım özellikler diyelim açılan ekranda birimlere gidelim doldur diyip Bölümleme sitili kısmından diskimizin mbr veya gpt olup olmadığını kontrol edelim.</p><h3>MBR(Master Boot Record) Nedir?</h3><p>MBR, IBM tarafından kullanılmaya başlayan bir disk bölümleme sistemidir. İlk başta sadece IBM sistemleriyle kullanılmak üzere tasarlanan MBR, 1983 yılında PC DOS 2.0 ile bütün bilgisayarların kullanımına sunulmaya başlandı. MBR, diğer adıyla Master Boot Record, sabit diskin başlama noktasıdır. Eğer MBR ya da MBR gibi bir başlama noktası olmasaydı, işlemci BIOS kodlarından sonra ne yapacağını bilemezdi.<br>MBR, disk bölümlerini yönetmek için kullanılır. Eski bir sistem olmasına karşı halen günümüzde en fazla kullanım oranına sahiptir. MBR disk bölümlerini işletim sisteminin çalıştırabilmesi ve taraması için kullanılan kodu barındırır.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/724/1*-xrvjG-gOSw88qyIAPvHMg.png" /></figure><p>MBR disklerde en fazla dört partition oluşturulabilir.Eğer daha fazla yaratmak istiyorsanız dördüncü bölümü genişletilebilir olarak ayarlamanız gerekir.Bunun sayesinde alt bölümler oluşturabilirsiniz. Oluşturduğunuz bu bölümleri en fazla 2TB ile sınırlandırılmaktadır.</p><p>MBR‘nin başında 440 byte boyutunda Master Boot Code (Bootstrap) vardır. Bu kod, BIOS’un bootable bir cihaz ararken varlığına baktığı ve eğer var ise sistemi başlatma işini teslim ettiği kodlardır. Burada var olan kodlar işletim sistemlerine özel olabilir. Buradaki kod direkt işletim sistemini de başlatabilir, çoklu boot var ise boot ekranını oluşturacak programının kodlarını da içerebilir. Windows üzerine Ubuntu yüklediğinizde buradaki kod değişir, Windows’un bootlader’ından Ubuntu’unu GNU GRUP bootloader’ına geçer.</p><p>Master Boot Code‘un ardından 4 byte disk imzası alanı gelir. Disk imza alanının ardından 2 byte boş alan gelir. Bunun nedeni Eğer Master Boot Code, 440 byte alanına sığmaz ise, disk imzası ve bu boş alan eklenerek Master Boot Code‘un 446 byte değerine ulaştırılabilmesi içindir.<br>MBR’yi asıl önemli kılan Master Boot Code‘dan ziyade Master Partition Table‘dır. 64Byte boyutuna sahip bu tablo, boyutundan dolayı sadece 4 adet Primary Partition şeması içerebilir.</p><p>MBR kısmı bilgisayarın açılışında BIOS kontrolü yapıldıktan sonra Harddisk içerisinden ilk olarak çalıştırılan kısımdır. Çünkü diskin içerisinde yer alan hangi işletim sisteminin veya diğer yazılımın başlatılacağının öğrenilmesi için ilk olarak bilgisayarın bu kısmı okuyarak işleme başlaması gerekir.<br>Bir bilgisayarın doğru şekilde başlaması, işletim sistemleri arasında tercih yapılabilmesi ve harddiskin sağlıklı olarak çalışabilmesi için diskin hatasız bir MBR bölümüne sahip olması gereklidir. MBR bölmesi, diskin içerisinde yer alan bir bölüm olması nedeniyle kullanıcının yapmış olduğu her hareketten etkilenebilir.<br>Kullanıcının yaptığı hatalı ve bilinçsiz bir hareket veya “Stone Empire Monkey Virus” benzeri bir MBR virüsü bulaşması sonucunda MBR kullanılamaz hale gelebilir. Sonuç olarak diskin başlangıç bilgisi etkilendiği için bu tür hatalar bilgisayarın boot edilememesine (başlatılamamasına) ve diskin kullanışsız hale gelmesine neden olabilir.</p><p>Bilgisayarımız işletim sistemimizi bulmak için bütün diskimizi tarasaydı, herhalde bilgisayarımızın açma tuşuna bastıktan sonra siyah ekran manzarası önünde uzunca bir çay keyfinin tadını çıkartırdık. İşletim sisteminiz nasıl bulunup nasıl işleme alındığını hiç düşündünüz mü?<br>MBR’ın içinde küçük bir çalıştırılabilir assembly kodu (masterbootcode), disk imzası ve disk bölümleme tablosu vardır.</p><h3>GPT(GUID Partition Table) Nedir?</h3><p>Yeni nesil, “Sabit disk üzerindeki bölümleme tablosunun” şemasıdır. GPT (GUID Partition Table) git gide MBR’ın yerine geçme eğiliminde yeni bir standart. UEFI ile birleşik olarak gelen bu yeni standartla karşılaşan çoktur. GPT disklerde, her bölümün kendine özgü global bir kimlik belirleyicisi, bir işareti vardır.</p><p>Bu sistemde MBR’ın limitleri ile karşılaşmazsınız. Sürücüler işletim sistemine ve dosya sistemine bağlı olarak daha büyük olabilir. 2 TB sınırı yok. GPT, diskinizde neredeyse sınırsız bölümleme özgürlüğü verir. Bu noktada limiti işletim sisteminiz koyar ve mesela Windows Üzerinde 128 adet partition barındırabilir. Bu partitionların 2TB sınırı yoktur. İşletim sistemlerine göre değişiklik gösterebilir.<br>Mesela Windows’ta tek partition sınızı 18EB (ExaByte) olarak boyutlandırılabilir.</p><p>Tavsiye edilen partition boyutu 64TB olarak sınırlandırılmalıdır. Windows’ta bootable olarak kullanılamamaktadır. (Itanium tabanlı sunucular için üretilmiş Windows ve yeni nesil Linux işletim sistemleri hariç)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/681/1*q4_Mh9zi7IeAz900fAgaaA.png" /></figure><p>Diagramdan baktığımızda GPT disklerde başta ve sonra iki adet GPT Header mevcuttur. MBR ve GPT arasında en büyük farklardan biriside aslında budur. Bu fark GPT disklerde ana header bozulduğu zaman yedek header sonda olduğundan hızlı bir kurtarmaya olanak sağlıyor. CRC32 ile sorunların tespitini hızlı bir şekilde sağlamaktadır.<br>GPT diskler MBR disklere göre bir adım daha öndedir. Gerek güncel işletim sistemlerinin UEFI desteği, gerek sınırsız bölüm oluşturabilmesi ve bir bölümü 2TB’dan daha fazla desteklemesidir.</p><p>KAYNAKÇA</p><ul><li><a href="https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2003/cc739412(v=ws.10)">How Basic Disks and Volumes Work: Storage Services</a></li><li><a href="https://www.partitionwizard.com/partitionmagic/mbr-vs-gpt.html">MBR VS GPT (Focus on Difference and How to Convert Safely)</a></li><li><a href="https://www.datanumen.com/blogs/mbr-vs-gpt-suitable-hard-drive/">MBR vs GPT: Which Is More Suitable for Your Hard Drive?</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4cd7b5fde094" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[One Hot Encoding Nedir — Nasıl Yapılır?]]></title>
            <link>https://zynpkucuk.medium.com/one-hot-encoding-nedir-nas%C4%B1l-yap%C4%B1l%C4%B1r-918eaf6b4256?source=rss-240af7f59212------2</link>
            <guid isPermaLink="false">https://medium.com/p/918eaf6b4256</guid>
            <category><![CDATA[one-hot-encoding-nedir]]></category>
            <category><![CDATA[etiketleme]]></category>
            <category><![CDATA[one-hot-encoding]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Zeynep Küçük]]></dc:creator>
            <pubDate>Wed, 17 Feb 2021 19:26:44 GMT</pubDate>
            <atom:updated>2021-02-17T19:26:44.190Z</atom:updated>
            <content:encoded><![CDATA[<h3>One Hot Encoding Nedir — Nasıl Yapılır?</h3><p>Makine öğrenme algoritmaları doğrudan kategorik veriler üzerinde çalışmamaktadır bu yüzden verilerimizin sayısal verilere dönüştürülmesi gerekmektedir.</p><p>Bu yazımda sizlere Python’da derin öğrenmeyle sınıflandırma problemlerinde kullanmak üzere verilerimizin one hot encode şeklinde dönüştürülmesinden bahsedeceğim. Scikit-learn ve Keras kütüphanelerini kullanarak örnek üzerinden açıklamaya çalışacağım.</p><h3>One Hot Encoding Nedir?</h3><p>One Hot Encoding, kategorik değişkenlerin ikili (binary) olarak temsil edilmesi anlamına gelmektedir. Bu işlem ilk önce kategorik değerlerin tamsayı değerleriyle eşlenmesini gerektirir. Daha sonra, her bir tamsayı değeri, 1 ile işaretlenmiş tamsayı indeksi dışında ki tüm değerleri sıfır olan bir ikili vektör olarak temsil edilir. Örneğin aşağıda 3 kategoride veri vardır apple, chicken ve broccoli bu alanlar binary olarak ayrıştırıldığında Apple için ilk satır 1 iken diğerleri 0 oluyor Diğer veri içinde aynı şekilde sayısal veriye çevirme işlemi devem ediyor.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4zWB6-hU_uHAb7JGVbyCIA.png" /></figure><h3>One Hot Encoding Nasıl Çalışıyor?</h3><p>Bir örnek yaparak açıklamaya çalışalım.</p><p>‘Kırmızı’ ve ‘yeşil’ değerlerini içeren bir dizi etiketimiz olduğunu varsayalım.</p><p>Kırmızı için bir tamsayı 0 ve yeşil için 1 tamsayı değerini atayabiliriz. Bu sayıları her zaman bu etiketlere atadığımız sürece bu işleme tamsayı kodlaması denmektedir. Tutarlılık önemlidir, böylece kodlamayı daha sonra tersine çevirebilir ve bir tahmin yapılması durumunda etiketler tamsayı değerlerini geri alabiliriz.</p><p>Daha sonra, her bir tamsayı değerini temsil eden bir ikili vektör oluşturabiliriz. Vektör, 2 olası tamsayı değeri için 2 uzunluğuna sahip olacaktır.</p><p>0 olarak kodlanan ‘kırmızı’ etiket, sıfırıncı indeksin 1 değeriyle işaretlendiği birinci indeksinin ise 09 olarak işlendiği bir ikili vektör [1, 0] ile temsil edilir. Buna karşılık, 1 olarak kodlanan ‘yeşil’ etiket ise, İlk indeksinin 0 değeri ile işaretlendiği ikili vektör [0, 1] ile temsil edilebilir.</p><ul><li>Aşağıdaki gibi bir veri setimiz olsun.</li></ul><p>‘red’, ‘red’, ‘green’</p><ul><li>Veri setimizin tam sayılar ile temsil edilmiş şekli aşağıdaki gibi olsun.</li></ul><p>0,0,1</p><ul><li>One Hot Encoding yapılmış halide aşağıda yer almaktadır.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/722/1*AifwFz0tptN-P5E0jlQvww.png" /></figure><h3>Neden One Hot Encoding Kullanıyoruz?</h3><p>Bir One Hot Encoding, kategorik verilerin temsilinin daha etkileyici ve kolay olmasını sağlar.</p><p>Birçok makine öğrenimi algoritması doğrudan kategorik verilerle çalışamaz bu yüzden, kategoriler sayılara dönüştürülmelidir. Bu işlem kategorik olan giriş ve çıkış değişkenleri için gereklidir.</p><p>Bu, kategoriler arasında doğal sıralı bir ilişki olduğunda örneğin sıcaklık gibi, “soğuk”, “sıcak” ve “ılık” etiketleri gibi tamsayı değerlerinde sorunlara yol açabilir.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/468/1*bTjzz-f2w2387nO5gdoI3Q.png" /></figure><p>Bir örnek olarak hayvan kategorisin de “köpek” ve “kedi” etiketleri verelim ve sayısallaştıralım. Bu işlem, ağın model için problemi daha kolay hale getirmesine yardımcı olabilir. Çıkış değişkeni için one hot encoding kullanıldığında, tek bir etikete göre daha nüanslı bir tahmin kümesi sunulabilmektedir.</p><h3>Sklearn Üzerinde Bir Örnek Yapalım</h3><p>Sklearn üzerinde de bir örnek göstererek konunun kafamızda daha iyi bir yer etmesini sağlayalım. Örneğin elimde ‘Zeynep’ şeklinde String bir veri var bunu one hot encoding ile binary şekilde etiketlendirmek istiyorum .</p><p>a,b,c…z ‘ye kadar alfabemiz 1’den 25’ e kadar numerik olarak belirlidir.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/330/1*cKVglfdcJ1KDnLcT5rnDsQ.png" /></figure><p>Bizde her bir harfin numerik olarak karşılığını bulalım. Bütün bu tablolar ve işlemler sciket-learn üzerinde yer almaktadır. Sırasıyla ‘zeynep’ verimizin 0. indeksinden başlanarak sayısal karşılığı aşağıdaki tabloda yer almaktadır.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/688/1*_Wzmsqgp0mVGZM7rezxV0Q.png" /></figure><p>Son olarakta aşağıda ‘zeynep’ kelimesinin one hot encoding ilemi sonucu çevirilmiş hali verilmiştir. 26 boyutlu bir vektör üzerinde her harfin sayısal karşılığına denk gelen değeri 1 diğer alanlar 0 olacak şekilde düzenlenmiştir.</p><p>‘z’ =&gt; 25 [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0]</p><p>zeynep<br>[25, 4, 24, 13, 4, 15][[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0], [0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]]</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Vk6M-G5cHYaGUaIPt4e1jA.png" /></figure><p>Bu yazıda neler öğrendik; Kategorik verilerin makine öğrenmesi işlemlerinde analiz edilmesi zor olduğu için bu verilerin binary olarak ifade edilmesi sonucu daha etkili ve hızlı sonuç alabileceğimiz veri setleri elde etmemiz gerektiğini ve bu işlemin temelde nasıl yapıldığını öğrenmeye çalıştık umarım faydalı olmuştur. Teşekkürler.</p><p>Bana instagram hesabımdan ulaşabilirsiniz. instagram.com/woman.engineer</p><p>Kaynak : <a href="https://machinelearningmastery.com/how-to-one-hot-encode-sequence-data-in-python/">https://machinelearningmastery.com/how-to-one-hot-encode-sequence-data-in-python/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=918eaf6b4256" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Danışmanlı Öğrenme ve Danışmansız Öğrenme]]></title>
            <link>https://zynpkucuk.medium.com/dan%C4%B1%C5%9Fmanl%C4%B1-%C3%B6%C4%9Frenme-ve-dan%C4%B1%C5%9Fmans%C4%B1z-%C3%B6%C4%9Frenme-c7bb2f854b35?source=rss-240af7f59212------2</link>
            <guid isPermaLink="false">https://medium.com/p/c7bb2f854b35</guid>
            <category><![CDATA[veri-bilimi]]></category>
            <category><![CDATA[makine-öğrenmesi]]></category>
            <category><![CDATA[supervised-learning]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[unsupervised-learning]]></category>
            <dc:creator><![CDATA[Zeynep Küçük]]></dc:creator>
            <pubDate>Wed, 17 Feb 2021 19:18:15 GMT</pubDate>
            <atom:updated>2021-02-17T19:18:15.886Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5NAGIAd8BJFq6w1j_-15oQ.png" /></figure><p>Makine öğrenme sistemleri, eğitim sırasında aldıkları denetim türüne göre sınıflandırılmaktadır. İki ana kategori vardır: (1) danışmanlı öğrenme(Supervised Learning) ve (2) danışmansız öğrenme (Unsupervised learning).</p><p>Danışmanlı öğrenmede sınıf sayısı ve bir grup örneğin hangi sınıfa ait olduğu bilgisinin önceden biliniyor olması gerekir. Bu duruma örnek olarak Şekil 1’de gösterilen spam filtreleme verilebilir. Etiketli e-postalar ile birlikte algoritma öğrenme işlemine başlar ve daha sonra gelen yeni bir e-posta eğitim kümesine dayanarak sınıflandırılır .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ta9CIsiM9_-mz09ADHufZA.png" /></figure><p>Danışmanlı öğrenme yöntemini kullanan öğrenme algoritmaları:</p><ul><li>k-en-yakın komşu (<em>k-nearest neighbors</em>)</li><li><a href="https://womaneng.com/linear-regresyon/">doğrusal regresyon (<em>linear regression</em>)</a></li><li>lojistik regresyon (<em>logistic regression</em>)</li><li>destek vektör makineleri (<em>support vector machines</em>: SVMs)</li><li>karar ağaçları (<em>decision trees</em>) ve rassal ormanlar (<em>random forests</em>)</li><li>sinir ağları (<em>neural networks</em>)</li></ul><p>Danışmansız öğrenmede ise hangi verinin hangi sınıfa dâhil olacağı bilgisi verilmemekte, verinin kendi kendine öğrenmesi ve uygun olan sınıfa yerleşmesi beklenmektedir.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qXkX6T02rT6ZHABYcg1pNQ.png" /></figure><p>Örnek olarak, Şekil 2’de blog’ unuzda yer alan ziyaretçi kitlesi verilmiş olsun kümeleme algoritması kullanarak benzer ziyaretçileri bir arada gruplamak isteyelim. Bu yöntem ile ziyaretçileriniz ile aranızda daha kolay iletişim kuracak aynı zamanda ziyaretçilerin yaş, cinsiyet gibi kategorik özellikleri gözetilerek gruplanması mümkün olmaktadır. Danışmansız öğrenme yöntemini kullanan öğrenme algoritmaları:</p><ul><li><a href="https://womaneng.com/soft-clustering-yumusak-kumelenme-nedir/">kümeleme (<em>clustering</em>)</a></li><li>temel bileşen analizi (<em>principal component analysis</em>: PCA)</li><li>birliktelik kuralı öğrenme (<em>association rule learning</em>)</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c7bb2f854b35" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>