<?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: Chandra Prakash</title>
    <description>The latest articles on DEV Community by Chandra Prakash (@chandra0505).</description>
    <link>https://dev.to/chandra0505</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%2F390770%2F7e507565-c981-41b7-a439-03049e272b8d.jpeg</url>
      <title>DEV Community: Chandra Prakash</title>
      <link>https://dev.to/chandra0505</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/chandra0505"/>
    <language>en</language>
    <item>
      <title>Difference between Data Lakes &amp; Data Warehouses</title>
      <dc:creator>Chandra Prakash</dc:creator>
      <pubDate>Tue, 21 Jul 2020 11:19:58 +0000</pubDate>
      <link>https://dev.to/chandra0505/difference-between-data-lakes-data-warehouses-2634</link>
      <guid>https://dev.to/chandra0505/difference-between-data-lakes-data-warehouses-2634</guid>
      <description>&lt;p&gt;The differences between the two most popular choices i.e. Data Lakes &amp;amp; Data Warehouses for storing big data is discussed in this article.&lt;br&gt;
As the volume of data is growing day by day and to store it efficiently is also a challenge for Data Engineers and DBAs.&lt;br&gt;
So here we are going to discuss both the techniques with some aspects like Type of data they store, their purpose, task, size, users, etc.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://postimg.cc/N22RZ6Kj"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--jzhF9OQ---/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.postimg.cc/Gtqz8zrG/database-1928236-1920.png" alt="database-1928236-1920.png" width="880" height="567"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;1. Type of data:&lt;/strong&gt;
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Data lake store unstructured and structured data from various data sources like IoT devices, real-time social media streams, user data, and web application transactions. Sometimes this data is structured, but often, it’s quite messy because data is being ingested straight from the data source.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Data warehouses contain historical data that has been cleaned to fit a relational schema.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;2. Purpose:&lt;/strong&gt;
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Data lakes are used for cost-effective storage of large amounts of data from many sources. Allowing data of any structure decreases cost because data is more flexible and scalable as the data doesn’t need to fit a specific schema.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;By restricting data to a schema, data warehouses are very efficient for analyzing historical data for specific data decisions.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;3. Size:&lt;/strong&gt;
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Data lakes are much bigger because they store all data that might be important to a company.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Data warehouses are much more selective on what data is stored.&lt;br&gt;
Hence are smaller in size in comparison to data lakes.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;3. Users:&lt;/strong&gt;
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Data lakes are set up and maintained by data engineers who integrate them into data pipelines. Data scientists work more closely with data lakes as they contain data of a wider and more current scope&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Data warehouses require a lower level of programming and data science knowledge to use. Hence data analysts and business analysts often work within data warehouses containing explicitly related data that has been processed for their work.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;4. Tasks:&lt;/strong&gt;
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Data lakes aren’t only limited to storage. Big data analytics can be run on data lakes using services such as Apache Spark and Hadoop.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Data warehouses are typically set to read-only for analyst users, who are primarily reading and aggregating data for insights.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;br&gt;
At last, it's up to you which one you want to use according to the business requirement or need.&lt;br&gt;
But most of the time while building data pipelines you need a combination of both the storage techniques.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Thank you for reading.&lt;/em&gt;&lt;br&gt;
&lt;em&gt;If you find this post helpful please react and share it.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>machinelearning</category>
      <category>datascience</category>
      <category>database</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Bivariate Regression on MLB 2002 Dataset</title>
      <dc:creator>Chandra Prakash</dc:creator>
      <pubDate>Wed, 20 May 2020 17:30:49 +0000</pubDate>
      <link>https://dev.to/chandra0505/bivariate-regression-on-mlb-2002-dataset-5e02</link>
      <guid>https://dev.to/chandra0505/bivariate-regression-on-mlb-2002-dataset-5e02</guid>
      <description>&lt;h2&gt;
  
  
  This is my mini-project undertaken in pre-final year of college
&lt;/h2&gt;

&lt;p&gt;In this project, I analyzed the data of an American Major League Baseball (MLB) tournament for season, 2002, which has a collection of batting statistics of 331 baseball players.&lt;/p&gt;

&lt;p&gt;I aim to predict whether there is a relationship between batting average and the number of home runs a player hits.&lt;/p&gt;

&lt;p&gt;First, I checked for outliers then perform the transformation on the data such that it does not violate any assumptions of regression.&lt;/p&gt;

&lt;p&gt;Various types of plots used to visualize the data like scatter plot, normal q-q plot, etc.&lt;/p&gt;

&lt;h2&gt;
  
  
  Below is the GitHub link for the code
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;{% https://github.com/Chandra0505/Project-1-mlb-dataset %}&lt;/code&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How I built it?
&lt;/h2&gt;

&lt;p&gt;We divided the dataset into two sets one training set (80%) and the other as test set (20%). On the training set, we trained our model and with the test, we test its accuracy by cross-validating it.&lt;/p&gt;

&lt;p&gt;Through our final regression model, we achieve an accuracy of about 22% which quite good because we are told to perform Bivariate Regression on batting average and home runs of a player.&lt;br&gt;
Of course, many other factors also affect a person’s ability to hit home runs, such as size, strength, number of at-bats, and other factors.&lt;br&gt;
However, batting average alone accounts for nearly one-fourth of the variability in the response.&lt;br&gt;
So we neglected/ remove all other features like which could also play a crucial in finding the relationship.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's the stack?
&lt;/h2&gt;

&lt;p&gt;R as programming language (Version:3.5)&lt;br&gt;
Libraries Used: ggplot2, caTools, Publish&lt;br&gt;
RStudio as IDE (Version: 1.1.463)&lt;/p&gt;

&lt;h2&gt;
  
  
  My learnings / Feelings / Stories
&lt;/h2&gt;

&lt;p&gt;Through this project, I got to learn how to perform various data science skills of a real-world dataset.&lt;/p&gt;

</description>
      <category>machinelearning</category>
      <category>beginners</category>
      <category>r</category>
      <category>githubsdp</category>
    </item>
  </channel>
</rss>
