Skip to content

Instantly share code, notes, and snippets.

View berkeleymalagon's full-sized avatar

Berkeley Malagon berkeleymalagon

View GitHub Profile
@berkeleymalagon
berkeleymalagon / _neural_network.cpp
Created January 22, 2019 20:56
My first working neural network, found in an old email from 10 years ago. Written in c++.
#include <iostream>
#include <cstdio>
#include <cmath>
#include <fstream>
#include <string>
#include <vector>
using namespace std;
ofstream logFile("last_log.txt");
require 'formula'
class ScalaDocs < Formula
homepage 'http://www.scala-lang.org/'
url 'http://www.scala-lang.org/downloads/distrib/files/scala-docs-2.9.3.zip'
sha1 '633a31ca2eb87ce5b31b4f963bdfd1d4157282ad'
end
class ScalaCompletion < Formula
homepage 'http://www.scala-lang.org/'