teaching machines

CS 145 Lecture 39 – Data Analysis

December 7, 2015 by . Filed under cs145, fall 2015, lectures.

Agenda

TODO

Note

First we’ll look at making our Clickture application runnable.

As a software developer, you become very useful to society. People have problems, and they want machines to solve them! However, sometimes I feel like computer science is a supporting science without any compelling problems of its own. I grow jealous of my biologist, chemist, and psychologist friends. These are the folks swimming in things to study. To get out of my funk, I must recognize that I’m a human being and can identity and study problems even though I’m “just a software developer.”

For the remainder of our time today, we’re going to ask questions of a socially relevant dataset:

In your hands, you’ve got population data for all the countries in the world for each year from 1960 through 2014. What do you want to know? Compose a list of 5 questions you’d like to find answers to from this data.

Code

Country.java

/usr/lib/ruby/vendor_ruby/rubygems/dependency.rb:315:in `to_specs': Could not find 'coderay' (>= 0) among 94 total gem(s) (Gem::MissingSpecError)
Checked in 'GEM_PATH=/var/www/.local/share/gem/ruby/3.2.0:/var/lib/gems/3.2.0:/usr/local/lib/ruby/gems/3.2.0:/usr/lib/ruby/gems/3.2.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.2.0:/usr/share/rubygems-integration/3.2.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.2.0:/home/johnch/.gems' , execute `gem env` for more information
	from /usr/lib/ruby/vendor_ruby/rubygems/dependency.rb:327:in `to_spec'
	from /usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_gem.rb:57:in `gem'
	from ./coderay:24:in `
'

Main.java

/usr/lib/ruby/vendor_ruby/rubygems/dependency.rb:315:in `to_specs': Could not find 'coderay' (>= 0) among 94 total gem(s) (Gem::MissingSpecError)
Checked in 'GEM_PATH=/var/www/.local/share/gem/ruby/3.2.0:/var/lib/gems/3.2.0:/usr/local/lib/ruby/gems/3.2.0:/usr/lib/ruby/gems/3.2.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.2.0:/usr/share/rubygems-integration/3.2.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.2.0:/home/johnch/.gems' , execute `gem env` for more information
	from /usr/lib/ruby/vendor_ruby/rubygems/dependency.rb:327:in `to_spec'
	from /usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_gem.rb:57:in `gem'
	from ./coderay:24:in `
'

Haiku

“This world’s full, young one”
An old man approached the gate
“She can have my place”