Machine learning assisted readout of trapped-ion qubits. (17th August 2018)