Researchers from Australia's national science agency, the CSIRO, say they have developed new implantable devices with machine learning that can help to prevent seizures and monitor patients after brain surgery.