Semiparametric Regression And Machine Learning Methods For Estimating Optimal Dynamic Treatment Regimes.