Transforming Conditional Density Estimation Into a Single Nonparametric Regression Task