This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| library(caret) | |
| library(doParallel) | |
| library(reshape2) | |
| library(ggplot2) | |
| # Enable parallel processing. | |
| cl <- makeCluster(detectCores()) | |
| registerDoParallel(cl) | |
| # Load the MNIST digit recognition dataset into R |