<?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: zyazyaG</title>
    <description>The latest articles on DEV Community by zyazyaG (@zyazyag).</description>
    <link>https://dev.to/zyazyag</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F557435%2F21aa3136-3838-4c18-b468-36a20baf3d15.png</url>
      <title>DEV Community: zyazyaG</title>
      <link>https://dev.to/zyazyag</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/zyazyag"/>
    <language>en</language>
    <item>
      <title>4 Things Your Data Science Project Might Be Missing</title>
      <dc:creator>zyazyaG</dc:creator>
      <pubDate>Sun, 30 Jan 2022 17:18:22 +0000</pubDate>
      <link>https://dev.to/zyazyag/4-things-your-data-science-project-may-lack-1i2m</link>
      <guid>https://dev.to/zyazyag/4-things-your-data-science-project-may-lack-1i2m</guid>
      <description>&lt;p&gt;Throughout my yet short journey in the Data Science field, I’ve studied many projects and works of other beginners and professionals. Mainly, this is how I improve my skills and get directions on where I need to strengthen my knowledge. Looking at those works I’ve noticed &lt;strong&gt;4 shortcomings related to project structure of beginner&lt;/strong&gt; data scientists that I want to mention today.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. No Comments
&lt;/h2&gt;

&lt;p&gt;Most of the time when we look at someone else’s code, we have that weird facial expression called confusion. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--OGv0xt0q--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rjqyvkwybgcmqiqdl6sz.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--OGv0xt0q--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rjqyvkwybgcmqiqdl6sz.jpg" alt="Image description" width="236" height="201"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The lack of well-written comments is the main weakness of the project. It is important not to only explain what you are doing, but also why are you doing that. Why?! If you want someone to look at your work and not skip over it, you need to make sure that you clearly explained the thought flow and process of your project. For example, if you are utilizing SMOTE in your project, explain that the reason behind it is data imbalance. &lt;/p&gt;

&lt;h2&gt;
  
  
  2. No Visualizations
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--oHc78eTa--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ntizkj72dd4qhnmp2zyu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--oHc78eTa--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ntizkj72dd4qhnmp2zyu.png" alt="Image description" width="500" height="433"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If I ask you to close your eyes and list all continents, the first thing that your brain would do is visualize the map. The human brain tends to better comprehend and analyze visual information. Thus, while working on a project, it is essential to show your findings or analysis through graphs and plots. That way you’ll make sure that the person looking at your work will be more engaged and interested. And maybe even see things you might have missed. &lt;/p&gt;

&lt;h2&gt;
  
  
  3. No Virtual Environment
&lt;/h2&gt;

&lt;p&gt;Imagine that someone liked your project and wanted to take a better look at it or test it on his/her own. So, they download it…but wait, for some reason your project is not working on their local machine. Most of the time that happens because some of the libraries or packages you’ve used in your project are not on their system. The best way to ensure that strangers won’t have problems utilizing your work is to create a virtual environment for your project. This environment will have all the packages and dependencies of your work that would ease the interaction of others with your project. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--aHRlJlNV--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7sb9t5nmv6ondefcdxml.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--aHRlJlNV--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7sb9t5nmv6ondefcdxml.jpg" alt="Image description" width="600" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  4. No User-Defined Functions
&lt;/h2&gt;

&lt;p&gt;The last thing I wanted to mention is the lack of user-defined functions and classes. Most of the time the code snippets in Data Science projects repeat themselves: when you perform data cleaning, EDA, feature engineering, and modeling. Why not make your life and the life of others easier?! If you noted that you type the same code over and over, try to build a reusable function or class for it. In that case, you’ll save your time and make the code look more organized and easier to understand.  &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--48pbe1-2--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/82mm1a4biqr3ctn9fxyd.JPEG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--48pbe1-2--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/82mm1a4biqr3ctn9fxyd.JPEG" alt="Image description" width="880" height="679"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Keep in mind those 4 things, like I do when working on my projects. I hope you'll find those tips as useful as I do.&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>datascience</category>
      <category>datascienceproject</category>
    </item>
    <item>
      <title>Quick look to R vs. Python</title>
      <dc:creator>zyazyaG</dc:creator>
      <pubDate>Sun, 23 Jan 2022 23:42:24 +0000</pubDate>
      <link>https://dev.to/zyazyag/quick-look-to-r-vs-python-oi4</link>
      <guid>https://dev.to/zyazyag/quick-look-to-r-vs-python-oi4</guid>
      <description>&lt;p&gt;Since the beginning of my journey in the Data Science field, I’ve programmed my projects with help of &lt;strong&gt;Python&lt;/strong&gt; programming language. But I was aware that another popular language related to Data Science is &lt;strong&gt;R&lt;/strong&gt;. Recently, I’ve started my research on what are the main differences, similarities, and main uses of those two languages. And here is a quick look at what I’ve learned.&lt;/p&gt;

&lt;h2&gt;
  
  
  Overview of languages
&lt;/h2&gt;

&lt;h3&gt;
  
  
  R
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;R&lt;/strong&gt; is a &lt;strong&gt;statistical language&lt;/strong&gt;. It is used for statistical software development and data analysis. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;R has many libraries for creating &lt;strong&gt;dynamic and interactive graphs.&lt;/strong&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The development of R began as a research project by New Zealanders &lt;strong&gt;Robert Gentleman and Ross Ihak&lt;/strong&gt;. In 1993, the first binary versions of R were published in Statlib, an archive of statistical software and datasets.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;R has its own &lt;strong&gt;open-source CRAN&lt;/strong&gt; (Comprehensive R Archive Network) repository. There are over 16,000 packages available in CRAN for analytical tasks.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;R is a &lt;strong&gt;command-line language&lt;/strong&gt;, but there are several IDEs that provide an interactive GUI.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Python
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Python is a multifunctional language that can be used in web development, software development, system scripting. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;It is among the ten most commonly used programming languages.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Python was developed by the Dutch programmer Guido van Rossum in 1991. The name was inspired by the TV show Monty Python's Flying Circus. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The language is designed to be easy to read and has similarities to English. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Python uses dynamic typing (a variable is bound to a type at the time a value is assigned).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Previously, Python lacked libraries for data analysis and ML. Now, it provides APIs for creating artificial intelligence.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Most data processing tasks can be solved using five Python libraries: Numpy, Pandas, Scipy, Scikit-learn, and Seaborn. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;It is suitable for those who want to use the results of calculations in an application or website.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What is the difference?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;R was created for statistical tasks and data analysis, while Python is more versatile.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;R is great for complex visualizations, as opposed to Python.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;R is difficult to integrate into a production process, while Python can easily become part of the product.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Python codes are easier to maintain and more robust than similar algorithms in R.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Benefits of each
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Pros of Python
&lt;/h3&gt;

&lt;p&gt;It is common to hear that it is easier for beginners to learn Python. The R language has a rather steep "learning curve" because statisticians created it for themselves. Python has a simpler syntax.&lt;br&gt;
Compared to R logic, the coding syntax in Python is more in line with how people think. Therefore, Python is easier to "translate" into other programming languages.&lt;/p&gt;

&lt;h3&gt;
  
  
  Pros R
&lt;/h3&gt;

&lt;p&gt;The language is command-line oriented, but many use the RStudio or R commander environments. These IDEs have data editors, debugging support, and a graphics window. Python is partially closing this functionality with Eclipse and Visual Studio.&lt;br&gt;
R is designed specifically for data visualization. Rendering in Python is more confusing, and there are fewer libraries to choose from - only a few dozen.&lt;/p&gt;

&lt;h2&gt;
  
  
  Which language to choose?
&lt;/h2&gt;

&lt;p&gt;To understand what language you need, first, decide what problems you want to solve, how the results should be presented, and do you plan to deploy your model.&lt;/p&gt;

&lt;p&gt;If you are planning to work with massive amounts of data, build deep learning models or perform non-statistical tasks – &lt;strong&gt;Python&lt;/strong&gt; would be a better option. And if you are going to build statistical models and require better visualizations, then &lt;strong&gt;R&lt;/strong&gt; would be just what you need.&lt;/p&gt;

</description>
      <category>datascience</category>
      <category>python</category>
    </item>
    <item>
      <title>My Fight with Procrastination</title>
      <dc:creator>zyazyaG</dc:creator>
      <pubDate>Mon, 11 Jan 2021 02:04:18 +0000</pubDate>
      <link>https://dev.to/zyazyag/my-fight-with-procrastination-2ej5</link>
      <guid>https://dev.to/zyazyag/my-fight-with-procrastination-2ej5</guid>
      <description>&lt;p&gt;After the beginning of my Phase 1 Project week I was so excited to start coding. I was full of motivation and energy. But as soon as I hit the first serious bug that I couldn’t fix my desire to code started to fade away…and soon enough I’ve started to procrastinate. &lt;/p&gt;

&lt;p&gt;In this post I will share the &lt;strong&gt;tricks I used to make myself work on the project and code&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;First of all, &lt;strong&gt;procrastination&lt;/strong&gt;, in psychology, means a person's tendency to constantly put things off for later. In a mild form, it does not harm and is even considered normal, but as soon as procrastination worsens, it begins to harm (which was my case).&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--LNMZnB5b--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/mt7usocmcc32qwtutp4r.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--LNMZnB5b--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/mt7usocmcc32qwtutp4r.jpg" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Most important part was to realize that I’ve actually started to procrastinate. I tried to avoid my laptop, Slack app, and even felt like avoiding my instructors. But when I understood that the deadline is close and I haven’t achieved anything, I started to move. Thus, I highly recommend &lt;strong&gt;paying attention to what you do when you have a problem with code&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;After starting to code, I still couldn’t make myself to concentrate and actually code the project. It is then I started to think about motivation. I remembered all the reasons why this project is important for me and where it will take me. &lt;strong&gt;If work for you is a tool to achieve your goal, remember this more often&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--uvB2qPIx--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/mkcpb57oubojr6rctqin.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--uvB2qPIx--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/mkcpb57oubojr6rctqin.jpg" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;My motivation gave me a kick start, but it didn’t last for long because the bugs were all over me. I’ve started to self-deprecate and scold. And my mom, who knows nothing about coding asked me to show her what I had done. After I’ve done so, she started to praise what I’ve done already. It is then, I realized that even though I have gaps, there is still a lot of “gain”.  So, I felt superior. It is very important to &lt;strong&gt;never scold yourself, but rather praise yourself for what you’ve already done&lt;/strong&gt;. You may even get yourself a gift or something.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--WmOioJ-F--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/kx7c04xwl9u4lm9vaykp.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--WmOioJ-F--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/kx7c04xwl9u4lm9vaykp.gif" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;While coding, I noticed that large amount of my time is consumed by social media. I love Instagram and funny memes, but they distracted me so much. So, I’ve turned off everything. &lt;strong&gt;IT DIDN’T WORK!&lt;/strong&gt; I became obsessed with feeling that I’ve missed some important message, post or email and lost my concentration at all. What helped me is using social media as a reward for myself. After an hour of working on project, I gave myself 5 minutes break to scroll the Instagram. Better than nothing… So, &lt;strong&gt;don't try to fight the social media as your enemy. Better learn to reward yourself with it.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--OCy8cNuP--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/5yyhhpbj7efczv5dqjsn.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--OCy8cNuP--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/5yyhhpbj7efczv5dqjsn.jpg" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;A week after, I have finished my project and submitted it! The feeling of joy almost made me think I am superior. I will be using all those simple small methods in my future coming studies and projects. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--A-OSe6KN--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/x6x01ldbclqjai0yrqx2.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--A-OSe6KN--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/x6x01ldbclqjai0yrqx2.gif" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Focus on your goals, and start acting now, creating a future you will never regret.&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
