-
Notifications
You must be signed in to change notification settings - Fork 123
Change the structure of notebooks directory. #48
base: master
Are you sure you want to change the base?
Conversation
README.md
Outdated
12. [LSTM](https://github.com/intel-analytics/BigDL-Tutorials/blob/master/notebooks/neural_networks/lstm.ipynb) | ||
13. [Bi-directional RNN](https://github.com/intel-analytics/BigDL-Tutorials/blob/master/notebooks/neural_networks/birnn.ipynb) | ||
14. [Auto-encoder](https://github.com/intel-analytics/BigDL-Tutorials/blob/master/notebooks/neural_networks/autoencoder.ipynb) | ||
1. RDD [Python](https://github.com/intel-analytics/BigDL-Tutorials/blob/master/notebooks/python/spark_basics/RDD.ipynb) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
try to display as RDD [Python], RDD [Python | Scala]
sc.stop() does the user need to restart the toree? |
No. User does not need to restart Toree. |
But user cannot use sc anymore in the notebook, right? |
val trainSet =
DataSet.array(load(trainData, trainLabel), sc) -> BytesToGreyImg(28, 28) -> GreyImgNormalizer(trainMean, trainStd) -> GreyImgToBatch(batchSize)
val validationSet =
DataSet.array(load(validationData, validationLabel), sc) -> BytesToGreyImg(28, 28) -> GreyImgNormalizer(testMean, testStd) -> GreyImgToBatch(batchSize) Please load the data as RDD format |
//Parameters
val batchSize = 2048
val learningRate = 0.2
val maxEpochs = 15
//Network Parameters
val nInput = 784 //MNIST data input (img shape: 28*28)
val nClasses = 10 //MNIST total classes (0-9 digits) why put this piece of code in the MNIST notebook? |
Please remove the linear_regression and Logistic Regression |
val trainData = "../datasets/mnist/train-images-idx3-ubyte"
val trainLabel = "../datasets/mnist/train-labels-idx1-ubyte"
val validationData = "../datasets/mnist/t10k-images-idx3-ubyte"
val validationLabel = "../datasets/mnist/t10k-labels-idx1-ubyte" You need tell user put the data file in ../datasets/mnist/... I think this is not user friendly, can you provide a utility to download the mnist dataset just like python notebook? |
Yes. In this specific notebook. user cannot use sc any more. But when user switches to another notebook, it works normally. |
No description provided.