This is da readmeasdf
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 neuron is a list, where the first element is the value, and the remaining elements are weights of | |
incoming connections to the neuron. Neurons are constructed by specifying the number of incoming synapses *) | |
Neuron[i_] := {0} ~Join~ ((2*RandomReal[] - 1) & /@ Range[i]); | |
(* Create a neuron with the specific weight and set of edges *) | |
Neuron[v_, w_] := Join[{v}, w]; | |
(* A layer of the network is just a list of neurons *) | |
Layer[n_, i_] := Array[Neuron[i] &, n]; |
ffas
haha
test
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> | |
<style> | |
/* Style the things in the page */ | |
body { | |
} | |
button { | |
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
import zen.core.Zen; | |
public class Play2048 { | |
static int[][] board; | |
private static final int UP = 0; | |
private static final int DOWN = 1; | |
private static final int LEFT = 2; | |
private static final int RIGHT = 3; |
NewerOlder