Skip to content

Instantly share code, notes, and snippets.

View gravesmedical's full-sized avatar

Mark Graves gravesmedical

  • Graves Medical Applications, Inc.
View GitHub Profile
import math
#### Read in the data from u1.base and format it appropriately.
FILE_NAME = 'u1.base'
def get_data(file_name):
data = open(file_name,'r').readlines()
return data
def Transpose(matrix):
nrows = len(matrix)