Skip to content

Instantly share code, notes, and snippets.

@JasonShin
Created October 17, 2018 04:24
Show Gist options
  • Select an option

  • Save JasonShin/2a36149fa66f588639ecb0aa972dfaca to your computer and use it in GitHub Desktop.

Select an option

Save JasonShin/2a36149fa66f588639ecb0aa972dfaca to your computer and use it in GitHub Desktop.
kalimdor medium intro import libs
import { RandomForestClassifier } from 'kalimdor/ensemble'; // model to train
import { accuracyScore } from 'kalimdor/metrics'; // measuring the training accuracy
import titanicTrain from './train.json'; // train data
import titanicTest from './test.json'; // test data
import titanicYtrue from './ytrue.json'; // y true from test data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment