讲解:HW09、Python、TODO items、PythonR|SPSS

HW09The instructions are very simple: download the file and fill in the TODO items. You will submityour solution as a .py file。Several notes:1. The TODO items are the least tricky parts of the code and have substantial hints. Also,there arent very many of them.2. At the same time, theres some fairly interesting/useful stuff in there (like how to do thingsmanually with gradient values in Keras, which is surprisingly non-trivial to figure out fromscratch), for those who might want to spend more time investigating and experimentingwith the code.3. Even when you implement all of the methods correctly, it wont work that great most of thetime. In my experience, it gets significant traction sometimes (which shows that theresnot just a gradient ascent sign error or something), but it seems highly dependent on theluck of the initialization of the weights. You are not responsible for making the algorithmperform well. You are just responsible for implementing it correctly. However, if someonedoes figureHW09留学生作业代写、代做Python课程设计作业、代写TODO items作业、Python编程语言作业调试 代做R out how to tweak the hyper-parameters or otherwise modify the code to getbetter results, please share that information with the rest of us.4. There are some sample method calls in the last function, to help you with incrementaltroubleshooting.5. You can call A.diagnostics() to see some information about whats going on duringtraining. This is not necessary for the assignment but would be helpful if you want totroubleshoot the performance .6. Theres a file on the internet which bears some superficial similarity to this one. It doesntcarry risk of academic dishonesty issues, though, because it is going to be seriouslyuseless. Just a heads up.7. The code is kind of intended to be run in a Jupyter notebook, because of the fancyprogress meter. If you want to run it in another context, replace the tqdm import with fromtqdm import tqdm8. I updated the last page of the RL lesson on Data Gymnasia to reflect the specific methodused in this homework. This is also not really necessary but might be helpful.转自:http://www.7daixie.com/2019050430752706.html

你可能感兴趣的:(讲解:HW09、Python、TODO items、PythonR|SPSS)