Skip to content

Instantly share code, notes, and snippets.

View cristianexer's full-sized avatar
:octocat:
Hacking

Daniel Fat cristianexer

:octocat:
Hacking
View GitHub Profile
@cristianexer
cristianexer / Titanic: Machine Learning from Disaster with brain.js
Created June 4, 2018 15:27
Titanic: Machine Learning from Disaster with brain.js
const brain = require('brain.js');
var ezcsv = require('ezcsv');
const trainPath = './train.csv';
const testPath = './test.csv';
const gp = './gpinr.csv';
var train = ezcsv.csv.read(trainPath);
var test = ezcsv.csv.read(testPath);
var gpinr = ezcsv.csv.read(gp);