fixed #2536
Merge pull request #2537 from khalednasr/fix_rbm_notebook

fixed #2536