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
extern crate collections; | |
use std::num::from_str_radix; | |
use std::fmt::radix; | |
use std::iter::{range_step}; | |
struct HexMap { | |
data: Vec<Vec<u8>> | |
} | |
impl HexMap { |
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
''' | |
Infer a movies attributes by extracting data from the movie filename | |
@author: Josiah | |
''' | |
import re, datetime | |
from sys import argv, stdout | |
import logging | |
import os |
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
from numpy import array | |
import numpy as n | |
import pylab | |
def best_fit_line(x,y, color): | |
coefs = n.lib.polyfit(x,y,1) | |
fit_y = n.lib.polyval(coefs, x) | |
pylab.plot(x, fit_y, color) | |
Task4 = {} |
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 numpy as np | |
from scipy import misc | |
import math | |
import time | |
""" | |
MANDLEBROT GENERATOR | |
by Josiah Beverton | |
Many Thanks to: |
NewerOlder