fix nominal features in regression datasets