Apply suggestions from code review
Co-authored-by: Ryan Curtin <ryan@ratml.org>
This commit is contained in:
co-authored by
Ryan Curtin
parent
b5fe50e4cb
commit
43e1e27a1c
@@ -91,7 +91,6 @@
|
||||
* Add Soft Shrink Activation Function (#2174).
|
||||
|
||||
* Add Hinge Embedding Loss Function (#2229).
|
||||
|
||||
* Add Cosine Embedding Loss Function (#2209).
|
||||
|
||||
* Add Margin Ranking Loss Function (#2264).
|
||||
|
||||
@@ -45,12 +45,12 @@ PROGRAM_INFO("Split Data",
|
||||
PRINT_CALL("preprocess_split", "input", "X", "training", "X_train", "test",
|
||||
"X_test", "test_ratio", 0.4) +
|
||||
"\n\n"
|
||||
"Also by default the dataset is shuffled and splited, you can provide " +
|
||||
PRINT_PARAM_STRING("no_shuffle") +" to avoid shuffling of the data, " +
|
||||
"an example to avoid shuffling of data is as"
|
||||
"Also by default the dataset is shuffled and split; you can provide the " +
|
||||
PRINT_PARAM_STRING("no_shuffle") + " option to avoid shuffling the "
|
||||
"data; an example to avoid shuffling of data is:"
|
||||
"\n\n" +
|
||||
PRINT_CALL("preprocess_split", "input", "X", "training", "X_train", "test",
|
||||
"X_test", "test_ratio", 0.4 , "no_shuffle", true) +
|
||||
"X_test", "test_ratio", 0.4, "no_shuffle", true) +
|
||||
"\n\n"
|
||||
"If we had a dataset " + PRINT_DATASET("X") + " and associated labels " +
|
||||
PRINT_DATASET("y") + ", and we wanted to split these into " +
|
||||
|
||||
Reference in New Issue
Block a user