Disease diagnosis with neural networks

For disease diagnosis, we are going to use the free dataset proben1, which is available on the Web (http://www.filewatcher.com/m/proben1.tar.gz.1782734-0.html). Proben1 is a benchmark set of several datasets from different domains. We are going to use the cancer and the diabetes datasets. We add a class to run the experiments of each case: DiagnosisExample.

Breast cancer

The breast cancer dataset is composed of 10 variables, of which nine are inputs and one is a binary output. The dataset has 699 records, but we excluded from them 16 which were found to be incomplete, thus we used 683 to train and test the neural network.

Tip

In real practical problems, it is common to have missing or invalid data. Ideally, the ...

Get Deep Learning: Practical Neural Networks with Java now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.