Yet another introduction to Neural Networks

Yet another introduc...

In this notebook, I will explain how to implement a neural network from scratch and use the version of MNIST dataset that is provided within Scikit-Learn for testing. I will specificallty illustrate the use of Python classes to define layers in the network as objects. Each layer object has forward and backward propagation methods which […]

Learning Deep Learning Part 2: Online Courses

Learning Deep Learni...

This is the second in a series of articles in which Data Science Associate George McIntire catalogs his experience teaching himself deep learning while only using free resources. This post is not sponsored by any entity and the views and opinions expressed in this piece are solely attributable to the author. In part one of this […]

Intro to Caret, Model Training and Tuning

Intro to Caret, Mode...

Contents Model Training and Parameter Tuning An Example Basic Parameter Tuning Notes on Reproducibility Customizing the Tuning Process Pre-Processing Options Alternate Tuning Grids Plotting the Resampling Profile The trainControl Function Alternate Performance Metrics Choosing the Final Model Extracting Predictions and Class Probabilities Exploring and Comparing Resampling Distributions Within-Model Between-Models Fitting Models Without Parameter Tuning 5.1 Model Training and […]

Intro to Caret: Data Splitting

Intro to Caret: Data...

Contents Simple Splitting Based on the Outcome Splitting Based on the Predictors Data Splitting for Time Series Data Splitting with Important Groups 4.1 Simple Splitting Based on the Outcome The function createDataPartition can be used to create balanced splits of the data. If the yargument to this function is a factor, the random sampling occurs within each class and […]

Principal Component Analysis Tutorial

Principal Component ...

The Problem Imagine that you are a nutritionist trying to explore the nutritional content of food. What is the best way to differentiate food items? By vitamin content? Protein levels? Or perhaps a combination of both? Knowing the variables that best differentiate your items has several uses: 1. Visualization. Using the right variables to plot […]

Artificial Neural Networks (ANN) Introduction

Artificial Neural Ne...

Training a Computer to Recognize your Handwriting Take a look at the picture below above and try to identify what it is. One should be able to tell that it is a giraffe, despite it being strangely fat. We recognize images and objects instantly, even if these images are presented in a form that is […]

What is knyfe?

What is knyfe?...

Knyfe is a python utility for rapid exploration of datasets. Use it when you have some kind of dataset and you want to get a feel for how it is composed, run some simple tests on it, or prepare it for further processing. The great thing about knyfe is that you don’t have to know […]

Decision Trees Tutorial

Decision Trees Tutor...

Would you survive a disaster? Certain groups of people, such as women and children, might be entitled to receiving help first, granting them a higher chance of survival. Knowing whether you belong to one of these privileged groups would help predict whether you would make it out alive. To identify which groups have higher survival rates, […]

An Introduction to Deep Learning using nolearn

An Introduction to D...

NOTE: If you are having trouble with nolearn working properly, make sure you are using version 0.5b1 available here. Otherwise you may run into problems. One of the most well known problems in machine learning regards how to categorize handwritten numbers automatically. Basically, the idea is that you have 10 different digits (0-9) and you […]