<?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>Forem: Boi N Moriba</title>
    <description>The latest articles on Forem by Boi N Moriba (@bmor2552).</description>
    <link>https://forem.com/bmor2552</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%2F344288%2F2ed72b11-63b1-4c4f-bba2-42180f05f445.JPEG</url>
      <title>Forem: Boi N Moriba</title>
      <link>https://forem.com/bmor2552</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/bmor2552"/>
    <language>en</language>
    <item>
      <title>Q. Quarterly Inc: A Flatiron School DS Capstone Project</title>
      <dc:creator>Boi N Moriba</dc:creator>
      <pubDate>Fri, 29 May 2020 15:22:28 +0000</pubDate>
      <link>https://forem.com/bmor2552/q-quarterly-inc-a-flatiron-school-ds-capstone-project-32ik</link>
      <guid>https://forem.com/bmor2552/q-quarterly-inc-a-flatiron-school-ds-capstone-project-32ik</guid>
      <description>&lt;h1&gt;
  
  
  Guys It's Finally HERE, My Final Project
&lt;/h1&gt;

&lt;p&gt;Here is the direct link to the Github if this project:  &lt;a href="https://github.com/bmor2552/QQuarterlyInc/blob/master/README.md"&gt;https://github.com/bmor2552/QQuarterlyInc/blob/master/README.md&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;Here is direct link to the video presentation of the project: &lt;a href="https://www.youtube.com/watch?v=8tBPOyyXLzE&amp;amp;t=11s"&gt;https://www.youtube.com/watch?v=8tBPOyyXLzE&amp;amp;t=11s&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  The Idea
&lt;/h1&gt;

&lt;p&gt;I must have missed something this time around because I had on my overthinking pants for this project. Let me tell you, I underestimated the power of overthinking!! &lt;/p&gt;

&lt;p&gt;Originally I had an idea which came from my very faint but present experience with fundamental analysis. I wanted to see if the sentiment of certain documents had an influence on the stock price change of a company. &lt;/p&gt;

&lt;h1&gt;
  
  
  The Process
&lt;/h1&gt;

&lt;p&gt;The steps I had to take were as followed:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Gather a list of companies I wanted to analyze&lt;/li&gt;
&lt;li&gt;Gather the documents of focus for the list of companies&lt;/li&gt;
&lt;li&gt;Clean the documents (stops words, html, etc...) &lt;/li&gt;
&lt;li&gt;Parse through the documents&lt;/li&gt;
&lt;li&gt;Run a sentiment analysis on the documents&lt;/li&gt;
&lt;li&gt;Compare the sentiment values to the price change in the companies&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Seems simple enough right?&lt;br&gt;&lt;br&gt;
&lt;a href="https://i.giphy.com/media/MeJ4mT0bgWxSOqDP0h/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/MeJ4mT0bgWxSOqDP0h/giphy.gif" alt="A-man-saying-couldn't-be-more-simple"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;But what if you have never done it before, and can't seem to find anyone else who has done it either? Then what?  &lt;/p&gt;

&lt;p&gt;&lt;a href="https://i.giphy.com/media/lBTBMDUV9BT9K/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/lBTBMDUV9BT9K/giphy.gif" alt="A-drawing-of-girl-stating-she's-alone"&gt;&lt;/a&gt; &lt;/p&gt;

&lt;h1&gt;
  
  
  Figuring It Out As I Go
&lt;/h1&gt;

&lt;p&gt;After my project idea was approved, I got straight to work. I had an idea of how to begin because of very helpful blogger named Osho Jha. He shared the beginning steps of how to obtain the documents you want to focus on for your sentiment analysis; I chose quarterly reports. This is where the help stopped ... dun dun duuuuuuuuunnnnnnn!! &lt;/p&gt;

&lt;p&gt;&lt;a href="https://i.giphy.com/media/Py4loHkx4eo1O/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/Py4loHkx4eo1O/giphy.gif" alt="dun-dun-dun-said dramatically"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Here is a link to his blog post: &lt;a href="https://towardsdatascience.com/useful-sentiment-analysis-mining-sec-filings-part-1-358942fc98ed"&gt;https://towardsdatascience.com/useful-sentiment-analysis-mining-sec-filings-part-1-358942fc98ed&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This did not stop me, with the guidance of my Instructor and Coach I was able to proceed with the steps listed in "The Process", but not without overthinking for two days straight, searching for data for a week, cleaning the data for another week, and finally conducting the sentiment analysis a couple of days before my presentation/final grade is due (We had a total of 3 weeks FYI)! &lt;/p&gt;

&lt;p&gt;&lt;a href="https://i.giphy.com/media/9M5jK4GXmD5o1irGrF/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/9M5jK4GXmD5o1irGrF/giphy.gif" alt="a-dog-sitting-in-a-burning-house-calmly-saying-this-is-fine"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;To those who are more level headed when it comes to tackling a task, this may come across as complaining. But I assure you this was a test of my patience with the process &amp;amp; with myself. &lt;/p&gt;

&lt;p&gt;I have been over analyzing everything since the beginning, and after 27+ years of doing this, task start to take longer then they should. Please NEVER ask me what I want to eat! &lt;/p&gt;

&lt;p&gt;&lt;a href="https://i.giphy.com/media/zdIGTIdD1mi4/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/zdIGTIdD1mi4/giphy.gif" alt="a-man-yelling-what-do-you-want"&gt;&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;But it's ok, because through trail and error along with three different notebooks I was able to find signs of correlation between the stock price change of a company and it's quarterly reports. (See Github link at the beginning of the blog, don't be shy be curious lol)&lt;/p&gt;

&lt;h1&gt;
  
  
  Images Of The Results
&lt;/h1&gt;

&lt;p&gt;Below you will see a scatter plot of the price change of a company and the subjectivity of the quarterly reports. &lt;/p&gt;

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

&lt;p&gt;Below you will see a scatter plot of the price change of a company and the polarity of the quarterly reports. &lt;/p&gt;

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

&lt;p&gt;Below you will see a scatter plot of the price change of a company and the price change of the overall market. (This is kind of obvious but also cool to plot, give me a break I'm trying here lol)&lt;/p&gt;

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

&lt;h1&gt;
  
  
  What's Next
&lt;/h1&gt;

&lt;p&gt;Because of the timeframe I was unable to look into more companies, although I did find a way to automate the document retrieval process, something was wrong with the os.listdir method, the function kept returning only one company (got to love those for loops!). Feel free to take a swing at it if you dare!&lt;/p&gt;

&lt;p&gt;I also did not get a chance to tokenize the reports or parse through the digits of the reports, this will be my next task after I fix the function that I mentioned above. &lt;/p&gt;

&lt;h1&gt;
  
  
  Closing Statement
&lt;/h1&gt;

&lt;p&gt;This was one of the most frustrating, exciting, encouraging experiences of my life and I feel like I am on cloud nine! If you are interested in doing a coding bootcamp I say go for it. You will come out with a new set of skills and as a more evolved human. Sounds like a win win to me, anyways happy coding people!!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://i.giphy.com/media/gjNNkwi2wfAnJp6dMN/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/gjNNkwi2wfAnJp6dMN/giphy.gif" alt="celebrity-saying-until-next-time"&gt;&lt;/a&gt; &lt;/p&gt;

</description>
      <category>todayilearned</category>
      <category>datascience</category>
      <category>productivity</category>
    </item>
    <item>
      <title>One Chapter Ends, Another One Begins </title>
      <dc:creator>Boi N Moriba</dc:creator>
      <pubDate>Fri, 08 May 2020 15:41:36 +0000</pubDate>
      <link>https://forem.com/bmor2552/one-chapter-ends-another-one-begins-1i9n</link>
      <guid>https://forem.com/bmor2552/one-chapter-ends-another-one-begins-1i9n</guid>
      <description>&lt;h1&gt;
  
  
  Chapter One - The Journey
&lt;/h1&gt;

&lt;p&gt;In the beginning of bootcamp, it felt as if this fast paced learning would never end! For the first month all I could do was sleep. This was the only way I could process all of the information from the day.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://i.giphy.com/media/Ii4dvuRs9WSCszbCcF/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/Ii4dvuRs9WSCszbCcF/giphy.gif" alt="laying-on-the-floor-to-sleep"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;As the second month of bootcamp progressed, the corona virus had spread across the states and rumors of going remote started to flood the school. Eventually that became our reality and I was back at home struggling to learn new material in an environment I had kept separate from educational and income based work.&lt;/p&gt;

&lt;p&gt;With the constant battle of new challenges I faced, I chose to keep my head down and keep working. I will admit I had my bad days but I kept pushing forward! I had a goal, and a student loan sooooo......yeah. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://i.giphy.com/media/syBlSgDbjsMHC/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/syBlSgDbjsMHC/giphy.gif" alt="crying-about-student-loans"&gt;&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;Now we are in the last month of our Data Science Bootcamp here at Flatiron School, I am currently working on my final project and graduation is set to be on May 29, 2020. It doesn't feel real.  &lt;/p&gt;

&lt;h1&gt;
  
  
  Words Of Wisdom
&lt;/h1&gt;

&lt;p&gt;When you are starting something new, imagine yourself as a child. Remember how scared you were to ride your bike without training wheels, or jump in the pool without your floaties? That fear is still with us in adulthood, so be gentle with yourself. It's ok if you do not get things right the first time, you've never done it before!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://i.giphy.com/media/3o6MbaH9LYlaVpHWBa/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/3o6MbaH9LYlaVpHWBa/giphy.gif" alt="dust-yourself-off-try-again"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Know that you will face some challenges along the way, and while you are facing them it will feel like you are getting no where.&lt;/p&gt;

&lt;p&gt;Keep pushing, because when you reach the end you will see just how far you have come and that fear that I mentioned before will be replaced with confidence and skill.&lt;/p&gt;

&lt;h1&gt;
  
  
  Final Words
&lt;/h1&gt;

&lt;p&gt;My plan for this blog post wasn't to go into detail about my personal journey through the bootcamp. It was more so to acknowledge that I did it, I made it to the end of the program (well, not really I still have my final project but that should be easy). &lt;/p&gt;

&lt;p&gt;&lt;a href="https://i.giphy.com/media/LOuFH5FMwy3yzKU6U9/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/LOuFH5FMwy3yzKU6U9/giphy.gif" alt="sarcastic-laugh"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I wanted to share that, as well as some kind words to encourage anyone thinking of doing a coding bootcamp or embarking on a new journey themselves. Hopefully this reaches someone in need of it. Happy coding, and stay well. &lt;/p&gt;

&lt;h1&gt;
  
  
  Chapter Two - Job Hunting Post Corona Virus ...
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://i.giphy.com/media/XhcSIUIkgbmuY/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/XhcSIUIkgbmuY/giphy.gif" alt="a-squirrel-looking scared"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>motivation</category>
      <category>bootcamp</category>
      <category>datascience</category>
      <category>flatironschool</category>
    </item>
    <item>
      <title>Binary Classification Problem: Random Forest &amp; OneHot Encoder</title>
      <dc:creator>Boi N Moriba</dc:creator>
      <pubDate>Thu, 16 Apr 2020 22:54:00 +0000</pubDate>
      <link>https://forem.com/bmor2552/binary-classification-problem-random-forest-onehot-encoder-34cg</link>
      <guid>https://forem.com/bmor2552/binary-classification-problem-random-forest-onehot-encoder-34cg</guid>
      <description>&lt;p&gt;&lt;strong&gt;For more projects checkout my github:&lt;/strong&gt; &lt;a href="https://github.com/bmor2552"&gt;https://github.com/bmor2552&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;With all the uncertainty in the air right now, picking up a new project is one of the best things one can do to kill idle time at home. So, why not learn how to solve a binary classification problem? &lt;/p&gt;

&lt;p&gt;&lt;a href="https://i.giphy.com/media/DZYtNkqkw23YvXYjAe/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/DZYtNkqkw23YvXYjAe/giphy.gif" alt="a woman shrugging her shoulders to say why not"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This week for our Module 3 Project here at Flatiron School, I was able to team up with my fellow 02-17-2020 Data Science cohort member Taki Yasuoka (github link: &lt;a href="https://github.com/Tyasuoka"&gt;https://github.com/Tyasuoka&lt;/a&gt;) to figure how to predict whether or not a customer would discontinue their services with a telecommunication company. Below you will find the github link to this project. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://github.com/Tyasuoka/Module_3_Project/tree/master"&gt;https://github.com/Tyasuoka/Module_3_Project/tree/master&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  The Data
&lt;/h1&gt;

&lt;p&gt;The data was provided by the Kaggle member david_becks and consisted of churns and non-churns in a telecommunication company. The columns contained information on the features customers used, from area codes to evening minutes. The link below will lead you to it. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.kaggle.com/becksddf/churn-in-telecoms-dataset"&gt;https://www.kaggle.com/becksddf/churn-in-telecoms-dataset&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  The Process
&lt;/h1&gt;

&lt;p&gt;First things first clean, explore, &amp;amp; transform the data!! With this data set there were no missing values. We did find some object columns that would interfere with the model of our choice. So we dropped the ones we didn't need and transformed the ones we did need. &lt;/p&gt;

&lt;p&gt;Another thing we noticed about the data was that the column names seemed as if they would interact with one another, i.e. evening minutes and evening charges. The churn column was also imbalanced; there were less churns than there were non-churns! &lt;/p&gt;

&lt;p&gt;This would later become an issue, so we decided to use the random forest model to take care of it. To measure how are model was performing we went with ROC_AUC (how confident our model is when making predictions) and Accuracy Scores (how correct those predictions are).  &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Model&lt;/strong&gt;&lt;br&gt;
The random forest model is a group of decision trees, THE END. &lt;br&gt;
Just kidding, let's start with what a decision tree is by using our data as an example. &lt;/p&gt;

&lt;p&gt;A decision tree model in our case will split its predictions into churn and non-churns. Think of it like sorting apples and oranges, or sorting change. The decision tree is classifying/sorting its predictions! The only issue with using this model is that our non-churns outweigh our churns so the sorting of our predictions will be weighed heavily on the non-churn side. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://i.giphy.com/media/xT8qBit7YomT80d0M8/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/xT8qBit7YomT80d0M8/giphy.gif" alt="unbalanced scale being balanced"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;We don't want a model to tell use everyone will keep their services and not tell us who will disconnect their services! We want a model that can predict both who is a loyal customer and who needs some extra attention before its too late!!&lt;/p&gt;

&lt;p&gt;To fix the imbalance of our data we can use, you guessed it, more trees! This is where the random forest came in!! Random forest uses the bagging method and random selection to make its collection of decision tree. This is done to get rid of multicollinearity (aka columns interacting with one another) and balance out the data. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Side Note: Since random forest is using random sampling this helps even out the non-churns and churns in our data, the more samples you pull from your given data the better the distribution of churns and non-churns in your predicted data.&lt;/strong&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  The Results:
&lt;/h1&gt;

&lt;p&gt;Here is the github link to the project; the notebooks include details on findings and the code to obtain those findings.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://github.com/Tyasuoka/Module_3_Project/tree/master"&gt;https://github.com/Tyasuoka/Module_3_Project/tree/master&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Random Forest without OneHot Encoder&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Accuracy Score: 0.936 aka about 94%&lt;/li&gt;
&lt;li&gt;ROC_AUC Score 0.909 aka about 91%&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Random Forest with OneHot Encoder&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Accuracy Score: 0.942 aka about 94% (but a higher 94%)&lt;/li&gt;
&lt;li&gt;ROC_AUC Score: 0.934 aka about 93% &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Side Note: Use OneHot encoder on a column that is distributed better than your target. In our case, area code was well distributed between 3 numbers, so to assist the models learning we applied OneHot encoder to the area code column, hence the increase in the scores above.&lt;/strong&gt; &lt;/p&gt;

&lt;h1&gt;
  
  
  Conclusion
&lt;/h1&gt;

&lt;p&gt;When you are dealing with a binary classification problem in the real world, keep in mind that if there is multicollinearity present and your data is imbalanced, a good model to consider would be the random forest. To assist in the balancing of the data and performance of the model try an ensemble method like encoding.&lt;/p&gt;

&lt;h1&gt;
  
  
  Future Recommendations
&lt;/h1&gt;

&lt;p&gt;If I were to do this project all over again without a time frame on the outcome, I would start with a less complicated model like Logistic Regression. To see if I can improve the performance of that model I would use feature engineering and ensemble methods. Then I would move one to decision tree, and finally random forest. From there I would compare the models and choose the one that best fits the business problem I am trying to solve. &lt;/p&gt;

&lt;p&gt;References: Below are great sites to help breakdown everything I discussed in this blog.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Random Forest &amp;amp; Decision Trees&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://victorzhou.com/blog/intro-to-random-forests/"&gt;https://victorzhou.com/blog/intro-to-random-forests/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Accuracy Score&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://blog.floydhub.com/a-pirates-guide-to-accuracy-precision-recall-and-other-scores/"&gt;https://blog.floydhub.com/a-pirates-guide-to-accuracy-precision-recall-and-other-scores/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;ROC_AUC Score&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://towardsdatascience.com/understanding-auc-roc-curve-68b2303cc9c5"&gt;https://towardsdatascience.com/understanding-auc-roc-curve-68b2303cc9c5&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;OneHot Encoding&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.analyticsvidhya.com/blog/2020/03/one-hot-encoding-vs-label-encoding-using-scikit-learn/"&gt;https://www.analyticsvidhya.com/blog/2020/03/one-hot-encoding-vs-label-encoding-using-scikit-learn/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Hopefully this will motivate you to learn something new or even help you solve a different binary classification problem. Happy coding!!!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://i.giphy.com/media/11BbGyhVmk4iLS/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/11BbGyhVmk4iLS/giphy.gif" alt="a girl smiling while typing"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>python</category>
      <category>datascience</category>
      <category>flatiron</category>
    </item>
    <item>
      <title> Transition To Remote Learning</title>
      <dc:creator>Boi N Moriba</dc:creator>
      <pubDate>Mon, 23 Mar 2020 06:22:33 +0000</pubDate>
      <link>https://forem.com/bmor2552/transition-to-remote-learning-4mhm</link>
      <guid>https://forem.com/bmor2552/transition-to-remote-learning-4mhm</guid>
      <description>&lt;p&gt;As the days go by, I find my motivation declining. Things just aren't the same. The more I sit in one place, the more idle I become. If this restlessness continues, it will not end well. &lt;/p&gt;

&lt;p&gt;This weekend I took it upon myself to end this madness by digging deep into the problem. One question after another:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Am I just being lazy?&lt;/li&gt;
&lt;li&gt;Is remote learning for me?&lt;/li&gt;
&lt;li&gt;Why is the switch to online learning so difficult?&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The answers weren't easy to find so I decided to compare the pros and cons of remote learning.&lt;/p&gt;

&lt;h2&gt;
  
  
  Pros
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://i.giphy.com/media/QyrysGo7Hz70I/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/QyrysGo7Hz70I/giphy.gif" alt="A man putting their thumbs up"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Sleeping in&lt;br&gt;
As a person who would wake up at 500am just to be on the road early enough to avoid downtown rush hour traffic, I am happy about not having to commute or wake up as early. 630am - 700am works just fine. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Savings on gas &lt;br&gt;
Have you seen the gas prices?&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Savings on parking garage&lt;br&gt;
This monthly bill can be eliminated all together, who doesn't like having less bills?&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;No more cold buildings&lt;br&gt;
Usually all of the buildings I go to have the A/C set to a temperature that makes me very uncomfortable. It's good to be home where I can control how cold or hot I want to be. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Getting out of my comfort zone&lt;br&gt;
I have never had to attend classes remotely, but this gives me a chance to grow. I'm learning how to do something I am obviously not comfortable doing all while learn something new about myself. &lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Cons
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://i.giphy.com/media/9Tp0jnk1p9KzC/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/9Tp0jnk1p9KzC/giphy.gif" alt="A man putting his thumb down"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Decrease in inspiration&lt;br&gt;
I joined the Flatiron Data Science Bootcamp to be surrounded by like minded people who I can bounce ideas off of and learn with. I also wanted to be able to talk to my instructor and coat as much as possible. Although the access to my instructor and coach have not changed, the access to being around my cohort has. Video chat is not the same as being next to someone.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The energy of the environment &lt;br&gt;
The energy on campus was productive and determined vs the energy at home which is relaxing and distracting. I am not use to working remote so this is a culture shock for me.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Decrease in in-person networking opportunities&lt;br&gt;
While having access to the Wework building we were able to connect with different companies on different floors. Now we are restricted to our homes (especially with the spreading of COVID 19).&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Solution
&lt;/h2&gt;

&lt;p&gt;Remote learning/working is a new experience for me, but I am willing to work at it by incorporating the following:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;To increase my inspiration I will begin reaching out to my cohort for study sessions via video chat. I will also ask my instructor and coach to join me in a study session via video chat. This way can I trick my brain into feeling as though I am in a class room.  &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;To address the energy in my environment, I will change locations until I find a spot that I feel productive in (sitting and staying at a desk in my house was surprisingly harder than I thought, so the search continues) &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;For the sake of my sanity and my bootcamp experience I deleted all social media, I didn't want that distraction. Now that I am entering the professional world I will use sites like Linkedin, Kaggle, Dev.to etc... to network on a more professional level. &lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://i.giphy.com/media/5bivKwxhVzshNk2Rjw/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/5bivKwxhVzshNk2Rjw/giphy.gif" alt="A man pointing to his temple saying problem solved"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This is not something that is going to change overnight, but it is a process I am ready to begin. Wish me luck and feel free to comment any advice you have on how to make this remote transition as smooth as possible. &lt;/p&gt;

</description>
      <category>motivation</category>
      <category>beginners</category>
      <category>productivity</category>
    </item>
    <item>
      <title>Why Not Data Science?</title>
      <dc:creator>Boi N Moriba</dc:creator>
      <pubDate>Mon, 02 Mar 2020 00:58:23 +0000</pubDate>
      <link>https://forem.com/bmor2552/why-not-data-science-bjm</link>
      <guid>https://forem.com/bmor2552/why-not-data-science-bjm</guid>
      <description>&lt;p&gt;I'm 27 years old and I have just realized that I've been going about this life thing all wrong 🤦🏾‍♀️. Good thing is I'm still alive thank God, so I can start going about it the right way.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://i.giphy.com/media/l4FGBOiHtpxQQocRW/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/l4FGBOiHtpxQQocRW/giphy.gif" alt="image of woman clapping her hands as to express gratitude"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The How
&lt;/h2&gt;

&lt;p&gt;After getting my Bachelor's Degree in 2014 I was on a mission to start my career in the health field. I was going to be a physical therapist!! 6 years later and I haven't even touched anything that has to do with physical therapy, let alone my degree (ask me if it's on my wall, go ahead ... it's not). &lt;/p&gt;

&lt;p&gt;Don't get me wrong I loved furthering my education and I appreciate the experience I got from going to a university (Virginia State University 😏), but I was going after something I didn't want, I was going after something that sounded good. &lt;/p&gt;

&lt;p&gt;Now before you judge me for picking a major that sounded appealing, have a conversation with my mother, then tell me how you feel (love you mom 💕). Let's face it, at 18 I had no idea what I wanted to do with my life and staying at home was not an option. Long story short, it just wasn't for me. &lt;/p&gt;

&lt;p&gt;Like a lot of my peers in the same predicament I got a job and started working until I grew numb. I got tired of wasting my life in an enviroment that stumped my growth. I deserved a challenge, I deserved mental stimulation, I deserved a job where I could sit down all day!! &lt;/p&gt;

&lt;p&gt;&lt;a href="https://i.giphy.com/media/l0Exh8PRm2qQ6pYmA/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/l0Exh8PRm2qQ6pYmA/giphy.gif" alt="a woman walking away with her reward saying she deserves it"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The When
&lt;/h2&gt;

&lt;p&gt;In 2019 one of my really good friends mentioned coding to me and how much I would like it. Right after he told me that, I recalled the two other times I had been told to try coding as a career. Third times a charm right? I took it as a sign and went all in. I haven't stopped coding since October of that year. &lt;/p&gt;

&lt;p&gt;I still haven't explained why I want to become a Data Scientist, have I?&lt;br&gt;
Well to break it down to its simplest form I have come up with a list. This list will not only show you why I chose data science but it will also show you what I like to do in my spare time. Prepare yourself...&lt;/p&gt;

&lt;h2&gt;
  
  
  The list
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;I love problem solving (and the rise and fall of my emotions during problem solving. Once I figure it out, that feeling makes it all worth it.) &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;I love Googling things (it's a skill, and it's not up for debate.)   &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;I love math  (for the record, I more so like statistical math, don't through any geometry at me please because I will NOT catch it).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;I'm a Virgo ♍️ (which means I already made a life career out of over analyzing EVERYTHING plus I like to organize EVERYTHING so I am VERY task oriented) &lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  The WHY
&lt;/h2&gt;

&lt;p&gt;It's a match made in heaven!! As a Data Scientist I will be looking at all sorts of data and googling ways to manipulate that data. My day will revolve around completing task that have to do with the data. From time to time I will have to use math, as well as present what I have discovered and how it is helpful (which is a plus because I like to talk, can't you tell from my super long blog post). &lt;br&gt;
Last but not least I will be sitting down majority of my work day 🤯😫!!! So, the REAL question is Why Not Data Science?   &lt;/p&gt;

&lt;p&gt;&lt;a href="https://i.giphy.com/media/y3QOvy7xxMwKI/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://i.giphy.com/media/y3QOvy7xxMwKI/giphy.gif" alt="a man with his hand on his chin with a thinking expression on his face"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>career</category>
      <category>motivation</category>
    </item>
  </channel>
</rss>
