Changed categoricalFeatureList from List to array