ModeratelyAccurateSkill is a simplified variant of Microsoft's TrueSkill algorithm that uses just Bayesian nets with tabular CPDs as implemented in Programming Assignment 4 of the Coursera PGM Course.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<title>jQuery UI MultiSelect Widget</title> | |
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/themes/base/jquery-ui.css" rel="stylesheet"> | |
<link href="http://layout.jquery-dev.net/lib/css/layout-default.css" rel="stylesheet"> | |
<style> | |
select { | |
display: block; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'ruby-prof' | |
class Bar | |
def foo(a) | |
print "foo\n" | |
a.map do |x| | |
a = x * x | |
yield a | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% A simple test suite for PA 3 | |
% | |
% copy the comparedata.m file from last week's test suite or from | |
% http://www.mathworks.com/matlabcentral/fileexchange/1459-comparedata | |
% into the directory for this weeks assignment and save this file | |
% as PA3Test.m | |
% | |
% A test can have three different results: | |
% - If the test suite says "OK", your code produced the exactly the same | |
% output as the sample data. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% A simple test suite for PA 4 | |
% | |
% copy the comparedata.m file from last week's test suite or from | |
% http://www.mathworks.com/matlabcentral/fileexchange/1459-comparedata | |
% into the directory for this weeks assignment and save this file | |
% as PA4_Run_Tests.m | |
% | |
% If you call PA4_RUn_Tests, it will always run all tests in sequence until the | |
% first test fails. | |
function result = PA4_Run_Tests(anyway) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% A simple test suite for PA 6 | |
% | |
% Based on the code by Mihaly Barasz posted on the forum. | |
% | |
% copy the CompareData.m file from last weeks test suite | |
% into the directory for this weeks assignment and save this file | |
% as PA6_RunTests.m | |
% | |
function result = PA6_RunTests(anyway) |