You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2018/03/16 17:06:45 UTC

[GitHub] szha commented on a change in pull request #10129: Update linear-regression.md

szha commented on a change in pull request #10129: Update linear-regression.md
URL: https://github.com/apache/incubator-mxnet/pull/10129#discussion_r175156033
 
 

 ##########
 File path: docs/tutorials/python/linear-regression.md
 ##########
 @@ -50,7 +50,7 @@ tells the iterator to randomize the order in which examples are shown to the mod
 
 ```python
 train_iter = mx.io.NDArrayIter(train_data,train_label, batch_size, shuffle=True,label_name='lin_reg_label')
-eval_iter = mx.io.NDArrayIter(eval_data, eval_label, batch_size, shuffle=False)
+eval_iter = mx.io.NDArrayIter(eval_data, eval_label, batch_size, shuffle=False,label_name='lin_reg_label')
 
 Review comment:
   space before `label_name`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services