Docsity

The Role of Scientific Methodology in Multimedia Computing, Slides of Computer Science

Partial preview of the text

Download The Role of Scientific Methodology in Multimedia Computing and more Slides Computer Science in PDF only on Docsity!

Multimedia Computing

Experiments in Computer Science

Introduction

  • Some claim computer science is not an

experimental science

  • Computers are man-made, predictable
  • Is a theoretical science (like Math)
  • Some claim system development is

computer science

  • Building an OS or a federated database
  • Rather, computer engineering , and the science comes after

Experiments in Computer Science

" The fundamental principle of science, the definition almost, is

this: the sole test of the validity of any idea is experiment"

  • Richard P. Feynman
  • Tried and true experimental scientific

methodology from Physics, Biology,

Chemistry ...

  • Often not followed in Computer Science
  • Let's be better Computer S cientists!

Scientific Methodology

  • Observe
    • (Devise solution)
  • Hypothesize
  • Design
  • Experiment
  • Analyze
  • Report

Methodology: Devise and

Hypothesize

  • Devise Solution (unless empirical)
    • Claypool Reliable Audio Protocol (CRAP)
    • Claypool buffering algorithm
  • Make Hypothesis
    • Generalization about relationships
    • Processor load induces jitter
    • Java virtual machine induces jitter
    • Needs to be tested (not proven)

Methodology: Experiment

  • Design Experiment
    • Variable: processor workload
    • Control: baseline workload
  • Run Experiment

“Whoa! That’s not what I expected!”

  • Bug in code ( two processes sharing socket )
    • Back to “Run”
  • Uncontrolled event ( system backup )
    • Back to “Design”
  • Insufficient understanding (Unix scheduling)
    • Back to “Understanding”

Dirty Little Secrets

  • Mini-experiments (no, “Pilot Tests”)
  • Hypotheses after the fact
    • Running yields understanding
  • Results here mean results there
  • Controlled system still says meaningful

things about the real world

  • Observing a system will not change it

Groupwork

  • Create a CS hypothesis
  • Describe how you would test it
  • Is your work useful if your hypothesis is:
    • Accepted?
    • Rejected?