Statistical Learning from Single-Molecule Experiments: Support Vector Machines and Expectation-Maximization