Extreme learning machine optimization