########################################################################## import platform def clear_cmd(): if platform.win32_ver()[0]: return 'cls' else: return 'clear'[2/6/18] Display array function:
def display_array(ar): "clear the screen, display the contents of an array, wait for 1sec" os.system('clear') rows = len(ar) # grab the rows if rows == 0: raise ValueError("Array contains no data") cols = len(ar[0]) # grab the columns - indices start at 0! for i in range(rows): for j in range(cols): print(ar[i][j],end=' ') # no carriage return, space separated print() time.sleep(1)[1/22/18] Welcome!
This course provides a survey of data science. Topics include data driven programming in Python; data sets, file formats and meta-data; descriptive statistics, data visualization, and foundations of predictive data modeling and machine learning; accessing web data and databases; distributed data management. You will work on weekly substantial programming problems such as accessing data in database and visualize it or build machine learning models of a given data set.
Upon completion of this course
Note: Windows users do not need to install Linux or any other OS extensions. Anaconda installs natively on Windows and inserts a Jupyter Notebook Launcher into the start menu.
Note: Jupyter Notebooks only support Chrome, Safari, and Firefox. They do NOT support Internet Explorer or Opera.
Note: Unless otherwise noted, homework must be submitted via Sakai.
- Assignment 0: Install Anaconda3, find the syllabus on the course website, read it, and upload a copy of it into Sakai. Due Thursday Feb 8th.