<s> """<STR_LIT>""" <EOL> import numpy as np <EOL> import os <EOL> from hpelm import ELM <EOL> curdir = os . path . dirname ( __file__ ) <EOL> pX = os . path . join ( curdir , "<STR_LIT>" ) <EOL> pY = os . path . join ( curdir , "<STR_LIT>" ) <EOL> X = np . loadtxt ( pX ) <EOL> Y = np . loadtxt ( pY ) <EOL> elm = ELM ( <NUM_LIT:4> , <NUM_LIT:3> ) <EOL> elm . add_neurons ( <NUM_LIT:15> , "<STR_LIT>" ) <EOL> elm . train ( X , Y , "<STR_LIT:c>" ) <EOL> Yh = elm . predict ( X ) <EOL> acc = float ( np . sum ( Y . argmax ( <NUM_LIT:1> ) == Yh . argmax ( <NUM_LIT:1> ) ) ) / Y . shape [ <NUM_LIT:0> ] <EOL> print "<STR_LIT>" % ( <NUM_LIT:100> - acc * <NUM_LIT:100> ) </s>
