Home - this site is powered by TWiki(R)
Fall11 > JacobVoganHomework8b
TWiki webs: Main | TWiki | Sandbox   Log In or Register

Changes | Index | Search | Go
-- %TEACHINGWEB%.JacobVogan - 25 Nov 2011

Homework #8b - Bayesian Analysis of Event Grouping

  • event.pl: A perl script that infers what group a set of experiments belongs to using Bayesian inference.

event.pl Features:

  • Accepts files that record one timed event per line, in chronological order, and with the last line indicating when the experiment terminated (EXAMPLE)
  • Input reads two files defining two respective groups, and a third file to be analyzed (e.g. events.group1, events.group2, and events.unknown)
  • Computes the posterior probabilities P( Group = 1 | Unknown ) and P( Group = 2 | Unknown ).
  • Outputs the posterior probability P( Group = 2 | Unknown ) -- which in this homework is P(Active | E3).

event.pl Examples:

  • perl event.pl E1.txt E2.txt E3.txt     Outputs the posterior probability P( E2 | E3 ). Default prior P( E2 ) = 0.01.

  • perl event.pl -h     Prints program information

  • perl event.pl E1.txt E2.txt E3.txt -P 0.5     Option to change prior P( E2 ) to user STDIN (e.g. 0.5).

Terminal Examples:


event_term_1.png


event_term_3.png


I AttachmentSorted ascending Action Size Date Who Comment
Txttxt event.pl.txt manage 3.8 K 2011-11-26 - 18:49 JacobVogan perl scripts that infers what group a set of experiments belongs to,
Edit | Attach | Print version | History: r15 < r14 < r13 < r12 < r11 | Backlinks | Raw View | Raw edit | More topic actions

This site is powered by the TWiki collaboration platformCopyright © 2008-2014 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
TWiki Appliance - Powered by TurnKey Linux