Researchers are using machine learning to ultimately find ways to build more capable capacitors.