<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Kipngeno Ruto.</title>
    <description>The latest articles on DEV Community by Kipngeno Ruto. (@kipngenoruto).</description>
    <link>https://dev.to/kipngenoruto</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F292393%2F43cc2caa-deb6-4eb3-ae46-442e12cdefca.jpg</url>
      <title>DEV Community: Kipngeno Ruto.</title>
      <link>https://dev.to/kipngenoruto</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/kipngenoruto"/>
    <language>en</language>
    <item>
      <title>Exploratory Data Analysis</title>
      <dc:creator>Kipngeno Ruto.</dc:creator>
      <pubDate>Wed, 11 Oct 2023 19:16:56 +0000</pubDate>
      <link>https://dev.to/kipngenoruto/exploratory-data-analysis-4kc2</link>
      <guid>https://dev.to/kipngenoruto/exploratory-data-analysis-4kc2</guid>
      <description>&lt;p&gt;Exploratory Data Analysis is a critical step in every data science project's life cycle. It is important in that, it allows you to find patterns that exist in the data, inconsistencies or data quality concerns ranging from outliers, missing values, incorrect data types, and most importantly, it aids in the preliminary selection of the suitable models.'It's like a detective conducting an investigation'&lt;/p&gt;

&lt;p&gt;Exploratory data analysis is categorized into  4:&lt;br&gt;
&lt;strong&gt;1 Univariate non-graphical&lt;/strong&gt;&lt;br&gt;
Univariate non-graphical analysis is typically used to examine a single variable or feature. Assume you have a dataset containing the income of people in a specific country; a summary statistic such as mean can be used to calculate the average income of people residing in that country.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2 Graphical univariate&lt;/strong&gt;&lt;br&gt;
Apart from summary statistics, we can also visualize the data for better understanding; this is the most common method to use, particularly when presenting your findings to non-technical teams, due to the ease with which the information is conveyed, graphical univariate method involves visualizing only one variable/feature. You can use many graphical representations such as bar graphs, line graphs, and so on.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3 Multivariate non-graphical&lt;/strong&gt;&lt;br&gt;
Multivariate non-graphical, as the name suggests is a method that involves applying summary statistics to more than one variable. An example can be, the management wants to understand various factors contributing to customer churn. In this case, the data scientist will be tasked with looking at various features to see how they contribute to customer churn in an organization and come up with tabular data containing the results.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4 Graphical Multivariate&lt;/strong&gt; &lt;br&gt;
This method involves visualization of more than one variable to show the distribution and relationship between them. In the example mentioned above, the data scientist, instead of presenting the results in a tabular format, the most effective way will be to visualize the results for easy understanding. Here you also can use various graphical methods available e.g line graphs, bar graphs e.t .c&lt;/p&gt;

</description>
      <category>datascience</category>
      <category>learning</category>
      <category>data</category>
    </item>
    <item>
      <title>Database Keys</title>
      <dc:creator>Kipngeno Ruto.</dc:creator>
      <pubDate>Sat, 30 Sep 2023 20:57:58 +0000</pubDate>
      <link>https://dev.to/kipngenoruto/database-keys-i8h</link>
      <guid>https://dev.to/kipngenoruto/database-keys-i8h</guid>
      <description>&lt;p&gt;&lt;strong&gt;what is a key?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A data item that allows us to uniquely identify an individual occurrence, record or an entity[table] in databases&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Types of keys:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1.Primary key&lt;/strong&gt; : One or more column or attribute that distinguishes a specific record from another e.g Employee_id in employee table,&lt;br&gt;
employee_id &amp;amp; id_number also being used as primary key&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2.Foreign Key&lt;/strong&gt;-One or more attribute in an entity/table that enables a relationship to another entity &lt;/p&gt;

&lt;p&gt;e.g deptno in employee table&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3.Candidate key&lt;/strong&gt;-Any column that could be used as the primary key.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Secondary Key&lt;/strong&gt;-Candidate key that is not chosen as the primary &lt;br&gt;
key. Primary key is selected from candidate keys, and those not selected are referred to as secondary key&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5.Simple key&lt;/strong&gt;: A single attribute that uniquely distinguishes a specific record from another e,g employee_id only or id_number only&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;6.compound key&lt;/strong&gt;: A key made up more than one simple key and each of the keys making up the compound key are simple keys on their own &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;7.composite key&lt;/strong&gt; : A key made up or more than one simple key and each of the keys making up the composite key are &lt;strong&gt;not&lt;/strong&gt; simple keys on their own &lt;/p&gt;

&lt;p&gt;e.g employee_id and employee_jobtitle employee_id is a simple key but employee_jobgroup is not a simple key on its on&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;8.Artificial Key&lt;/strong&gt;: Keys generated by a business e.g., VIN numbers for vehicles, ISBN for books.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;9:Natural keys&lt;/strong&gt; : keys derived from real world occurrences e.g &lt;br&gt;
SSN,ID number&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;10: Surrogate key&lt;/strong&gt;: A key that uniquely identifies a row, has no relationship with the record it is identifying other than identifying the row uniquely, it is system generated and is mainly used in OLAP systems to maintain history&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Advantages of surrogate key&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;•It is good for maintaining history, used mainly in OLAP e.g., in slowly changing dimension&lt;/p&gt;

&lt;p&gt;•it is immutable and has high performance because of its compact datatype (such as a four-byte integer).&lt;/p&gt;

&lt;p&gt;•Surrogate keys are also less expensive to join (fewer columns to compare)&lt;/p&gt;

&lt;p&gt;•Uniformity - When every table has a uniform surrogate key, some tasks can be easily automated by writing the code in a table-independent way.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Disadvantage&lt;/strong&gt;:&lt;/p&gt;

&lt;p&gt;•Disassociation- The values of generated surrogate keys have no relationship with the real world meaning of data stored/held in a row.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;11. Business Key&lt;/strong&gt;: Unlike surrogate key , business key is a type of key that uniquely identifies an object or a record in the &lt;br&gt;
database.&lt;/p&gt;

</description>
      <category>database</category>
      <category>sql</category>
      <category>learning</category>
    </item>
    <item>
      <title>Data Science for Beginners: 2023 - 2024 Complete Roadmap</title>
      <dc:creator>Kipngeno Ruto.</dc:creator>
      <pubDate>Sat, 30 Sep 2023 12:28:22 +0000</pubDate>
      <link>https://dev.to/kipngenoruto/data-science-for-beginners-2023-2024-complete-roadmap-29mg</link>
      <guid>https://dev.to/kipngenoruto/data-science-for-beginners-2023-2024-complete-roadmap-29mg</guid>
      <description>&lt;p&gt;Over the past couple of years, there has been a rising need for Data Scientists by businesses, and institutions ranging from retail, banking, health, transport, agriculture etc.&lt;/p&gt;

&lt;p&gt;But .. what do data scientists do?  what does it take to become one?&lt;/p&gt;

&lt;h2&gt;
  
  
  Here is an example to break this down
&lt;/h2&gt;

&lt;p&gt;You operate a supermarket and the common activities happening here are supplies being received from your various supplies and the sale of these goods to customers. All these activities generate data which, if well utilized can become a great asset by your management to run your businesses successfully.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Therefore, Data Scientists are professionals responsible for getting the data generated from your business, organizing, cleaning, and exploring these data to extract insights or meaning which can then be used for decision-making&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;An example of the insight can be; by analyzing sales data and inventory levels, you can identify patterns and trends in product demand.&lt;br&gt;
 This information can help the supermarket optimize its inventory management. For example, if the data shows that a particular product has a higher demand on weekdays but has lower demand during weekends, the supermarket can adjust its restocking schedule to ensure the product is available when it's needed most. This can lead to reduced carrying costs and increased sales, ultimately improving the supermarket's profitability.&lt;/p&gt;

&lt;p&gt;Data Scientists then use this data to build prediction systems/ML models that be used to predict sales in coming days, weeks, etc. for the supermarket to stock goods accordingly and thus minimize huge losses that can happen as a result of this.&lt;/p&gt;

&lt;h2&gt;
  
  
  Now, what does it take to a Data Scientist?
&lt;/h2&gt;

&lt;p&gt;Here is  RoadMap:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Math Skills:&lt;/strong&gt; Basic math skills, including probability, basic statistics, and some calculus, are essential for understanding and working with data.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. programming skill&lt;/strong&gt;, the common data science programming language is Python and you start by getting the basics by either getting an online course, blogs, or YouTube depending on your learning  preference&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3.Data science packages&lt;/strong&gt;, in most cases, you will be doing data cleaning and manipulation, and Python already contains these packages.&lt;/p&gt;

&lt;p&gt;The commonly used data science packages are;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Pandas for most data manipulation and exploration&lt;/li&gt;
&lt;li&gt;Numpy for numeric operations&lt;/li&gt;
&lt;li&gt;Matplotlib and Seaborn for visualization&lt;/li&gt;
&lt;li&gt;Sklearn which contains algorithms used for building ML models&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;The most important thing to accelerate your learning is to connect with people already  in the field, learn from their experiences, and build on what you're learning.!&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>datascience</category>
      <category>python</category>
      <category>beginners</category>
      <category>learning</category>
    </item>
  </channel>
</rss>
