Skip to content

Instantly share code, notes, and snippets.

@dhammack
dhammack / Numerical_Analysis_Ipython_Notebook.ipynb
Last active August 29, 2015 13:55
Selected topics from Numerical Analysis with code and explanations in some cases.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@dhammack
dhammack / Logistic_Regression.ipynb
Created December 21, 2013 16:45
Logistic Regression. Multiclass (softmax) classification, various nonlinear basis functions, training with gradient descent + momentum, comparisons with sklearn's implementation. Based on Bishop 4.3
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@dhammack
dhammack / LinearBasisFunctionModels
Created December 15, 2013 00:49
Code for a linear basis function model, with demos using it for regression and classification with different bases. Also shows the affect of regularization on model predictions and generalization. Based on Bishop 3.1 and part of 4.1.
{
"metadata": {
"name": "LinearModels"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
@dhammack
dhammack / starcraft predictions
Created December 7, 2013 04:56
A late-night quick rundown of some different classifiers on the UCI starcraft dataset.
{
"metadata": {
"name": "Untitled9"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
@dhammack
dhammack / KNN
Created December 5, 2013 06:29
Nearest neighbor classifier, and a kernel density classifier.
{
"metadata": {
"name": "Nearest Neighbors"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
@dhammack
dhammack / DSA study ipython notebook
Last active December 30, 2015 07:59
To study for the DSA final, I'm implementing all the algorithms we've covered since exam 2. This is an ipython notebook of them.
{
"metadata": {
"name": "DSA Exam Study"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{