Skip to content
Merged
Prev Previous commit
Small re-wordings
  • Loading branch information
gustavocidornelas committed Jul 25, 2022
commit d96ef8ef1f15b96332a51545b46141305bf5511f
6 changes: 3 additions & 3 deletions unboxapi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ def add_model(
You can now upload this dataset to Unbox:

>>> model = project.add_model(
... name='Linear classifiers',
... name='Linear classifier',
... task_type=task_type,
... function=predict_proba,
... model=sklearn_model,
Expand Down Expand Up @@ -736,7 +736,7 @@ def add_dataset(
Column header in the csv containing the input text. Only applicable if your ``task_type`` is
:obj:`TaskType.TextClassification`.
categorical_feature_names : List[str], default []
A list containing the names of all categorical features on the dataset. E.g. `["Gender", "Geography"]`.
A list containing the names of all categorical features in the dataset. E.g. `["Gender", "Geography"]`.
Only applicable if your ``task_type`` is :obj:`TaskType.TabularClassification` or :obj:`TaskType.TabularRegression`.
tag_column_name : str, default None
Column header in the csv containing tags you want pre-populated in Unbox.
Expand Down Expand Up @@ -1029,7 +1029,7 @@ def add_dataframe(
Column header in the csv containing the input text. Only applicable if your ``task_type`` is
:obj:`TaskType.TextClassification`.
categorical_feature_names : List[str], default []
A list containing the names of all categorical features on the dataframe. E.g. `["Gender", "Geography"]`.
A list containing the names of all categorical features in the dataframe. E.g. `["Gender", "Geography"]`.
Only applicable if your ``task_type`` is :obj:`TaskType.TabularClassification` or :obj:`TaskType.TabularRegression`.
description : str, default None
Commit message for this version.
Expand Down