Skip to content

Instantly share code, notes, and snippets.

@adesgautam
adesgautam / frozen-lake_q-learning_test.py
Created July 8, 2018 14:04
Play FrozenLake leading the Q-table
import gym
import numpy as np
import time
import pickle, os
env = gym.make('FrozenLake-v0')
with open("frozenLake_qTable.pkl", 'rb') as f:
Q = pickle.load(f)
anonymous
anonymous / NNmultiClass.py
Created October 9, 2017 22:27
import os
import csv
import time
import sys
sys.path.append("C:/Users/dm/Documents/GaTech/ML/assn2/ABAGAIL/ABAGAIL.jar")
from func.nn.backprop import BackPropagationNetworkFactory
from shared import SumOfSquaresError, DataSet, Instance
from opt.example import NeuralNetworkOptimizationProblem
from func.nn.backprop import RPROPUpdateRule, BatchBackPropagationTrainer
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@AustinRochford
AustinRochford / Bayesian Survival analysis with PyMC3.ipynb
Last active September 10, 2024 00:21
Bayesian Survival analysis with PyMC3
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@primaryobjects
primaryobjects / mnist-learning-curve.R
Created August 8, 2015 15:45
MNIST machine learning example, plotting a learning curve.
library(caret)
library(doParallel)
library(reshape2)
library(ggplot2)
# Enable parallel processing.
cl <- makeCluster(detectCores())
registerDoParallel(cl)
# Load the MNIST digit recognition dataset into R