Hyper-parameter tuning can help you get the best performance out of your model

Photo by Jorge Salvador on Unsplash

When training your machine learning model, creating a baseline, or “vanilla” model without any specific tuning is most often the protocol. We do this to benchmark how well our model will perform on our data. So when we tune the hyperparameters, we can tell if improvements are being made. But how can we improve our model?

One way to accelerate the process of improving our model is with a cross-validation tool called GridSearch. With GridSearch CV, we define a range of values for our selected parameters. We then iterate through every combination of these parameters, to see which combination improves…


An introduction to a fundamental lesson in Data Science.

One of the most important concepts we can know in Data Science is Bayes’ Theorem. Named after the British mathematician and Presbyterian minister Thomas Bayes (18th century), Bayes’ theory is built on conditional probability. Bayes allows us to deductively reason our way into estimating unknown probabilities. His logic was true in that because we simply don’t know our reality perfectly, we can only improve our knowledge and assumptions when presented with new evidence.

Photo by Tim Mossholder on Unsplash

Applications of the Bayes’ Theorem can take a variety of forms, such as detecting spam emails to detecting…


Technically known as A|B testing or hypothesis testing

Photo by Markus Winkler on Unsplash

Following up on Part 1, I’m now going to walk through our simple A|B test using Python!

Here is an example of what our website’s data looks like:

import pandas as pd
import numpy as np
df = pd.read_csv('ad_actions.csv')df.tail()

A coding challenge walkthrough, number 6.

Photo by Brett Jordan on Unsplash

I’ll be posting a few of these individually, as they are basically required practice if you are an entry-level data analyst or data scientist looking for your first position.

Think from the hiring manager’s perspective. They see you might have some projects and coding experience, but that doesn’t completely cut it for them. As one respectable senior data scientist once told me, who will the hiring person choose: the one who can code the right answers after scouring through stack overflow and google or the one who can code the answer just from the…


Challenge number 4

Back to my series of coding challenge questions. I’ll be posting a few of these individually, as they are basically required practice if you are an entry-level data analyst or data scientist looking for your first position.

Think from the hiring manager’s perspective. They see you might have some projects and coding experience, but that doesn’t completely cut it for them. As one respectable senior data scientist once told me, who will the hiring person choose: the one who can code the right answers after scouring through stack overflow and google or the one who can code…


Another question of the challenge series answered step-by-step

Back to my series of coding challenge questions. I’ll be posting a few of these individually, as they are basically required practice if you are an entry-level data analyst or data scientist looking for your first position.

Think from the hiring manager’s perspective. They see you might have some projects and coding experience, but that doesn’t completely cut it for them. As one respectable senior data scientist once told me, who will the hiring person choose: the one who can code the right answers after scouring through stack overflow and google or…


and why doing these questions are worth your time

Back to my series of coding challenge questions. I’ll be posting a few of these individually, as they are basically required practice if you are an entry-level data analyst or data scientist looking for your first position.

Think from the hiring manager’s perspective. They see you might have some projects and coding experience, but that doesn’t completely cut it for them. As one respectable senior data scientist once told me, who will the hiring person choose: the one who can code the right answers after scouring through stack overflow and google…


and why doing these questions are worth your time

Back to my series of coding challenge questions. I’ll be posting a few of these individually, as they are basically required practice if you are an entry-level data analyst or data scientist looking for your first position.

Think from the hiring manager’s perspective. They see you might have some projects and coding experience, but that doesn’t completely cut it for them. As one respectable senior data scientist once told me, who will the hiring person choose: the one who can code the right answers after scouring through stack overflow and google…


and why doing these questions are worth your time

If you are like me, a noob and entry-level data scientist, you probably have sighed at the thought of the dreaded coding challenge. There are so many possible questions, how could you know what will be on the test? Data science and analytics knowledge is one thing. But being able to prove your skills in your language of choice (mine is Python) is something impossible to avoid.

Think from the hiring manager’s perspective. They see you might have some projects and coding experience, but that doesn’t completely cut it for them…


The proper way to program

In addition to relearning various aspects of programming foundations, I’d like to take an opportunity to write about Object-Oriented Programming (OOP). Object-Oriented Programming is a programming paradigm and a way to classify a programming language based on its features.

I’ll just by typing it as OOP from now on, for time's sake.

OOP is based on the concept of classes and objects, which contain the code and data that is structured into efficient, reusable blocks. This was a solution for old programmers who originally just wrote procedural programming, in long sequences of steps. This eventually…

Orin Conn

I’m a recent Data Science graduate with a B.S. in Environmental Science. Currently seeking job opportunities. Constantly learning!

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store