Accurate disease diagnosis through medical datasets by deep neural networks