Prediction of hereditary cancers using neural networks