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> | |
</head> | |
<body> | |
<div id="main" /> | |
<script src=http://cdnjs.cloudflare.com/ajax/libs/lodash.js/2.4.1/lodash.min.js></script> | |
<script src=http://cdnjs.cloudflare.com/ajax/libs/react/0.10.0/JSXTransformer.js></script> | |
<script src=http://cdnjs.cloudflare.com/ajax/libs/react/0.10.0/react-with-addons.min.js></script> | |
<script type="text/jsx"> |
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
Download the React DevTools for a better development experience: http://fb.me/react-devtools react.js:4356 | |
DOM fully loaded and parsed uitest.html:40 | |
You are using the in-browser JSX transformer. Be sure to precompile your JSX for production - http://facebook.github.io/react/docs/tooling-integration.html#jsx JSXTransformer.js:12703 | |
_ | |
function (obj) { | |
if (obj instanceof _) return obj; | |
if (!(this instanceof _)) return new _(obj); | |
this._wrapped = obj; | |
} underscore.js:36 | |
mori |
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
"use strict"; | |
module.exports = { | |
constantify: function constantify(app, obj, prevK) { | |
for (var k in obj) { | |
var nextK = prevK ? prevK + '.' + k : app + '.' + k; | |
if (obj[k] === null) obj[k] = nextK; | |
else constantify(app, obj[k], nextK); | |
} | |
return obj; |
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
cocks |
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
def woopfordocstrings(): | |
'''this is a docstring''' | |
print( "shittin' balls" ) |
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
<?php | |
// Algotest | |
/* | |
For PN, | |
Assign next in line as target | |
End For | |
For PN, | |
If targets available are only self/other target restart |
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
Here we can see a deadlock - All of paris' targets are either already owned by Edward, or are Edward himself. Assignment is impossible! | |
Solution? | |
================ | |
Paris hunters | |
Array | |
( | |
[0] => Edward | |
[1] => Karl | |
[2] => Ralph | |
) |
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
void numtest( double learnparas[], int numhid, int emax, int usevalid, int wopt, char *tstr, char *vstr, char *ustr ) | |
{ | |
// test network on the numerical problem | |
// specified are the learning rate, momentum, number of hidden neurpons | |
// emax is max number of epochs for learning | |
// if usevalid then stop training when SSE on validation set starts to rise | |
// wopt is seed used to initialise random number generators used to initialise weights | |
// data files names are in tsr, vstr and ustr | |
int |
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
// Library Module Implementing Layers of Perceptrons for CY2D7 | |
// Dr Richard Mitchell 18/12/06 ... 17/3/08 ...12/8/09 | |
// Adapted by | |
#include "mlplayer.h" | |
#include <math.h> | |
#include <iomanip> | |
void dcopy (int num, const double fromarray[], double toarray[]) { | |
/// copy num doubles from the fromarray to the toarray |
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
% NOTES: | |
% * HAVE AXIS LABELS PLOTTED | |
% * Put all the working stuff in Appendix 2 | |
% * Talk about Wien bridges in Discussion | |
\documentclass[a4paper,10pt]{memoir} | |
\raggedbottom | |
\setlength{\unitlength}{1cm} | |
\usepackage{url} | |
\usepackage{graphicx} | |
\usepackage{epstopdf} |
OlderNewer