Applying Artificial Neural Networks to Investment Analysis