Skip to content

Instantly share code, notes, and snippets.

View kdplus's full-sized avatar
🍇

Yusn kdplus

🍇
View GitHub Profile

Keybase proof

I hereby claim:

  • I am kdplus on github.
  • I am mikaalm (https://keybase.io/mikaalm) on keybase.
  • I have a public key ASAsqmGcHL2aHSFZXyVbeXW1KndT1wYqj4OgRE8Q1m8ZiQo

To claim this, I am signing this object:

@kdplus
kdplus / hadoop-fc-mapper.py
Created January 14, 2017 14:51
for cs433
#!/usr/bin/env python
import time
import numpy as np
import matplotlib.pyplot as plt
from fc_net import *
from data_utils import get_CIFAR10_data
from gradient_check import eval_numerical_gradient, eval_numerical_gradient_array
from solver import Solver
import sys
import json
@kdplus
kdplus / orientation-5degrees.lua
Last active January 11, 2017 09:07
Get 94% on my testdata
require 'torch'
require 'xlua'
require 'image'
require 'cunn'
require 'cudnn'
require 'nn'
require 'torch'
require 'optim'
require 'paths'
require 'torch'
require 'xlua'
require 'image'
require 'cunn'
require 'cudnn'
require 'nn'
require 'torch'
require 'optim'
require 'paths'
/*
*Lab of Computer Architecture
*
* <Please put your name and userid here>
*
* bits.c - Source file with your solutions to the Lab.
* This is the file you will hand in to your instructor.
*
* WARNING: Do not include the <stdio.h> header; it confuses the dlc
* compiler. You can still use printf for debugging without including