摘要: 小跳最近在搭建一个数值仿真环境,由于需要用到python里面的一些库,所以不得不把simulink的模型搬过来,我们都知道在simulink里,仿真的时候设置仿真步长和微分方程求解器是必要的步骤。但是为什么要设置这个小跳却早已忘记了。一年级的时候搬砖搬多了,数分课也没好好上,回头一看,这么简单的东西,当时竟然整的稀里糊涂的。为什么要用RK4先po一张图,直观感受一下仿真的误差。对于给定线性常微分方... 阅读全文
posted @ 2020-07-25 18:00 Tolshao 阅读(5028) 评论(4) 推荐(1) 编辑
摘要: gym调用gym的调用遵从以下的顺序env = gym.make('x')observation = env.reset()for i in range(time_steps):env.render()action = policy(observation)observation, reward, done, info = env.step(action)if done: …… bre... 阅读全文
posted @ 2020-07-20 23:14 Tolshao 阅读(1658) 评论(0) 推荐(0) 编辑
摘要: MNIST 识别手写数字练习导入包、数据from keras.datasets import mnistimport matplotlib.pyplot as plt(X_train, Y_train),(X_test, Y_test) = mnist.load_data()from keras import Model, Input, metrics, optimizersfrom keras.... 阅读全文
posted @ 2020-07-16 13:05 Tolshao 阅读(263) 评论(0) 推荐(0) 编辑
摘要: Trigger Word DetectionWelcome to the final programming assignment of this specialization! In this week's videos, you learned about applying deep learning to speech recognition. In this assignment, you... 阅读全文
posted @ 2020-07-14 13:11 Tolshao 阅读(1817) 评论(0) 推荐(0) 编辑
摘要: Neural Machine TranslationWelcome to your first programming assignment for this week! You will build a Neural Machine Translation (NMT) model to translate human-readable dates ("25th of June, 2009") i... 阅读全文
posted @ 2020-07-13 23:35 Tolshao 阅读(1681) 评论(0) 推荐(0) 编辑
摘要: Emojify!Welcome to the second assignment of Week 2. You are going to use word vector representations to build an Emojifier. Have you ever wanted to make your text messages more expressive? Your emojif... 阅读全文
posted @ 2020-07-13 16:54 Tolshao 阅读(2717) 评论(0) 推荐(0) 编辑
摘要: Operations on word vectorsWelcome to your first assignment of this week! Because word embeddings are very computationally expensive to train, most ML practitioners will load a pre-trained set of embed... 阅读全文
posted @ 2020-07-13 15:40 Tolshao 阅读(1339) 评论(0) 推荐(0) 编辑
摘要: Improvise a Jazz Solo with an LSTM NetworkWelcome to your final programming assignment of this week! In this notebook, you will implement a model that uses an LSTM to generate music. You will even be ... 阅读全文
posted @ 2020-07-13 12:42 Tolshao 阅读(88306) 评论(0) 推荐(0) 编辑
摘要: Character level language model - Dinosaurus Island Welcome to Dinosaurus Island! 65 million years ago, dinosaurs existed, and in this assignment they 阅读全文
posted @ 2020-07-13 11:06 Tolshao 阅读(6726) 评论(0) 推荐(0) 编辑
摘要: Building your Recurrent Neural Network - Step by StepWelcome to Course 5's first assignment! In this assignment, you will implement key components of a Recurrent Neural Network in numpy.Recurrent Neur... 阅读全文
posted @ 2020-07-11 17:14 Tolshao 阅读(6388) 评论(0) 推荐(0) 编辑