Robin Kiplang'atof life learnings and musings
http://4bic.github.io
Getting started with Kaggle Titanic problem using Logistic Regression
I took some nerve to start the Kaggle but am really glad I did get to start after multiple false starts. By following this you’ll be able to score atleast top 5000th position on the leaders board. Let’s import some libraries to get started! import numpy as np import pandas...
Mon, 27 Aug 2018 00:00:00 +0300
http://4bic.github.io/2018-08-27-titanic_logistic_regression/
http://4bic.github.io/2018-08-27-titanic_logistic_regression/Text mining and analysis with tweets
For a start, install the following pachages: 📦 Tweepy 📦 json 📦 pandas 📦 matplotlib 📦 seaborn 📦 re 📦 nltk I’ll be using Health_X’s tweets for the purpose of this analysis. Health_X is a dynamic platform for targeted and impactful dialogue on emerging healthcare & related topics - Adapted...
Sat, 21 Jul 2018 00:00:00 +0300
http://4bic.github.io/2018-07-21-healthX_twitter_analysis/
http://4bic.github.io/2018-07-21-healthX_twitter_analysis/week ten - Principal Component Analysis.
Principal Component Analysis PCA is just a transformation of your data and attempts to find out what features explain the most variance in your data Import Libraries import numpy as np import pandas as pd import matplotlib.pyplot as plt import seaborn as sns %matplotlib inline Load Data Let’s work with...
Tue, 17 Jul 2018 00:00:00 +0300
http://4bic.github.io/2018-07-17-principal_component_analysis/
http://4bic.github.io/2018-07-17-principal_component_analysis/week nine - Natural Language Processing.
Natural Language Processing (NLP) is basically the combining of machine learning techniques with text and using math / statistics to get that text in a format that the machine learning algorithms can understand! 📖 NLP concerns itself with the interaction between natural human languages and computing devices. NLP is a...
Wed, 11 Jul 2018 00:00:00 +0300
http://4bic.github.io/2018-07-11-week_nine/
http://4bic.github.io/2018-07-11-week_nine/week eight - Support Vector Machines.
By definition; Support vector machine (SVM) is an extension of the support vector classifier that results from enlarging the feature space in a specific way, using kernels. 📖 What new skills have you learned? 📦 Support Vector Machines Support Vector Machines Often referred to as SVM. SVM’s are supervised learning...
Wed, 04 Jul 2018 00:00:00 +0300
http://4bic.github.io/2018-07-04-week_eight/
http://4bic.github.io/2018-07-04-week_eight/week seven - K Nearest Neighbors, Decision Trees,Random Forests.
Immersing self in machine learnings, regression and classification problems can be solved through a variety of steps. For this week the focus is on: What new skills have you learned? 📦 K Nearest Neighbors 📦 Decision Trees 📦 Random Forests K Nearest Neighbors KNN is a classification algorithm that classifies...
Sun, 24 Jun 2018 00:00:00 +0300
http://4bic.github.io/2018-06-24-week_seven/
http://4bic.github.io/2018-06-24-week_seven/week six - logistic regression.
This week’s work comes after attending the Data science workshop in Nyeri. It’s taken a while to log for this week. Focus for this week is on; Logistic Regression with Python Import Libraries Let’s import some libraries to get started! import numpy as np import pandas as pd import matplotlib.pyplot...
Sun, 17 Jun 2018 00:00:00 +0300
http://4bic.github.io/2018-06-17-week_six/
http://4bic.github.io/2018-06-17-week_six/week five - Intro To ML and Linear Regression.
Machine learning has not been easy to pick up and there has been lots of detours that I took all in supplementing the depth of knowledge that I thought I’d need. What new skills have you learned? Machine learning. Machine Learning is a field of computer science that uses statistical...
Wed, 06 Jun 2018 00:00:00 +0300
http://4bic.github.io/2018-06-06-intro-to-ml/
http://4bic.github.io/2018-06-06-intro-to-ml/week_four - 911 Calls Capstone Project.
This is an analysis of some 911 call data from Kaggle that I took as a progress milestone to cover for the first batch of learnings. Data and Setup import numpy as np import pandas as pd import matplotlib.pyplot as plt import seaborn as sns %matplotlib inline Getting started -...
Sun, 27 May 2018 00:00:00 +0300
http://4bic.github.io/2018-05-27-capstone_project_01/
http://4bic.github.io/2018-05-27-capstone_project_01/week_three - Plotly and Cufflinks.
With a polished data exploration skills set and data that I can see and understand, I need to create and build comprehensive and understandable visualizations. For data visualizations, I had focus on: 📌 Plotly 📌 Cufflinks 📌 Geographical Plotting - Choropleth Maps What new skills have you learned? Plotly Plotly...
Sun, 20 May 2018 00:00:00 +0300
http://4bic.github.io/2018-05-20-week_three/
http://4bic.github.io/2018-05-20-week_three/week_two = Data Viz,Matplotlib and Seaborn.
This week it got intense in comparison to last week. I had to attend to other commitments and a result spent less time of these topics. After generation, access and manipulation of data, the next course of action was to look at presentation in data visualization and for this week...
Sun, 13 May 2018 00:00:00 +0300
http://4bic.github.io/2018-05-13-week_two/
http://4bic.github.io/2018-05-13-week_two/week_one = [ Python, Numpy and Pandas]
Having set out to build practice plans, for the first week, I had set out the following goals: Work on python basics for data analysis Intro to Numpy. Pandas Basics What new skills have you learned? Numpy Numpy is powerful in reference to basic routines for manipulating large arrays and...
Sat, 12 May 2018 00:00:00 +0300
http://4bic.github.io/2018-05-12-week_one/
http://4bic.github.io/2018-05-12-week_one/When Dreams conflict with Reality.
Every individual / organizational journey has to overcome or adapt to challenges in ways unique to itself Ben Horowitz in Hard Thing about Hard Things speaks of having been brought up in a fairly conserved family and had to break off many barriers that conflicted with his experiences as a...
Mon, 07 May 2018 00:00:00 +0300
http://4bic.github.io/2018-05-07-hard_things/
http://4bic.github.io/2018-05-07-hard_things/Is Deliberate Practice for Me.
What Lies forth in a skills journey? and is fairly ok good enough? Inspired by Robert Chang’s journey , I read Plateau of Productivity which in an elaboration of skills journey, not a new concept but I’ve always had my own reservations. I have a pretty good working knowledge of...
Tue, 01 May 2018 00:00:00 +0300
http://4bic.github.io/2018-05-01-deliberate_practice/
http://4bic.github.io/2018-05-01-deliberate_practice/Plot 9 charts with a line (or 2) in Python
Simple and practical applications of plotting and data representation in Python. I use Jupiter notebook alot for the convenience and interactivity it allows. To get us started, load up necessary python statistical library tools. import pandas as pd import numpy as np import matplotlib.pyplot as plt #enable jupyter to display...
Sat, 14 Apr 2018 00:00:00 +0300
http://4bic.github.io/2018-04-14-data-representation/
http://4bic.github.io/2018-04-14-data-representation/With Out Adventures
A weary pig and a chicken on the roadside, are heading to the farm without an M that’s too far, a family of snails is bewildered at a dinner table, as aunt loses a U and becomes an ant, A terrified chicken realizes that, foxes smiling, without X become foes,...
Tue, 10 Apr 2018 00:00:00 +0300
http://4bic.github.io/2018-04-10-with-out-adventures/
http://4bic.github.io/2018-04-10-with-out-adventures/Searching for Inspiration
Just a few hundreds of words can hardly describe you, let alone barely scratch the surface of it. Ditching all that you consider your world at some point will propel you significantly to finding out more about yourself that you had no clue existed in the first place. How liberating...
Fri, 16 Mar 2018 00:00:00 +0300
http://4bic.github.io/2018-03-16-inspired/
http://4bic.github.io/2018-03-16-inspired/My beloved is hooked on graft
In light on recent theatrics it’s clear that it is all about Snorting tender after tender, the goal has been to push through to the next hit. I’ve watched yet another upsetting scandal on my newsfeed, saddening that this particular one wouldn’t matter just like the other ones, by sunrise....
Fri, 16 Mar 2018 00:00:00 +0300
http://4bic.github.io/2018-03-16-hooked-on-graft/
http://4bic.github.io/2018-03-16-hooked-on-graft/Mapping a jogging track
Python has massive capabilities in fitting well to data wrangling and manipulation tasks. These abilities complemented with folium makes its easy for you to visualize this data I’ll be running all commands from a Jupyter notebook. To get stated, Import numpy and pandas python packages for data manipulation import pandas...
Sat, 10 Mar 2018 00:00:00 +0300
http://4bic.github.io/2018-03-10-mapping_and_folium/
http://4bic.github.io/2018-03-10-mapping_and_folium/Generate a word cloud in R
As a way of learning new ideas and skills I resolved to taking little experiments. An interesting lesson is generating a word-cloud in R with RStudio . In order toTo get started generating a word cloud, we need to install the following packages : install.packages("tm") #for textmining install.packages("SnowballC") #for text...
Sat, 28 Oct 2017 00:00:00 +0300
http://4bic.github.io/2017-10-28-generate-wordcloud-with-R/
http://4bic.github.io/2017-10-28-generate-wordcloud-with-R/