Skip to content

Commit

Permalink
Inverted order of dict parameters in API's train fucntion
Browse files Browse the repository at this point in the history
  • Loading branch information
w4nderlust committed Jun 29, 2019
1 parent aa6d48a commit db30028
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions ludwig/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,8 +272,8 @@ def train(
data_test_hdf5=None,
data_dict=None,
data_train_dict=None,
data_test_dict=None,
data_validation_dict=None,
data_test_dict=None,
train_set_metadata_json=None,
experiment_name='api_experiment',
model_name='run',
Expand Down Expand Up @@ -343,17 +343,17 @@ def train(
``{'text_field_name': ['text of the first datapoint', text of the
second datapoint'], 'class_filed_name': ['class_datapoints_1',
'class_datapoints_2']}`.
:param data_test_dict: (dict) input test data dictionary. It is
expected to contain one key for each field and the values have
:param data_validation_dict: (dict) input validation data dictionary. It
is expected to contain one key for each field and the values have
to be lists of the same length. Each index in the lists
corresponds to one datapoint. For example a data set consisting
of two datapoints with a text and a class may be provided as the
following dict:
``{'text_field_name': ['text of the first datapoint', text of the
second datapoint'], 'class_filed_name': ['class_datapoints_1',
'class_datapoints_2']}`.
:param data_validation_dict: (dict) input validation data dictionary. It
is expected to contain one key for each field and the values have
:param data_test_dict: (dict) input test data dictionary. It is
expected to contain one key for each field and the values have
to be lists of the same length. Each index in the lists
corresponds to one datapoint. For example a data set consisting
of two datapoints with a text and a class may be provided as the
Expand Down

0 comments on commit db30028

Please sign in to comment.