Nonparametric estimation of regression functions with both categorical and continuous data