Deep Learning Specialization: Neural Networks and Deep Learning - Python basics with Numpy

学习笔记:Deep Learning Specialization: Neural Networks and Deep Learning - Python basics with Numpy

终于搞定了怎么上Coursera的问题,然后就开始修吴恩达的Deep Learning Specialization了,一个月$49,看在钱的份上还是要好好学习!

其实之前是有学过Andrew的Machine Learning课的,在课程的最后一周就是神经网络,当时还是用Matlab/Octave做作业,神经网络里的各种下标真是要把我整崩溃了。同样的东西用矩阵运算的库来做不仅简单很多,效率还更高。

需要了解的东西并不需要太多,简单了解一些基本概念做作业是足够了。

Sigmoid函数 1 / ( 1 + e − x ) 1/(1 + e^{-x}) 1/(1+ex)

import math

def basic_sigmoid(x):
    return 1 / (1 + math.exp(-x))

x = ( x 1 , x 2 , . . . , x n ) x = (x_1, x_2, ..., x_n) x=(x1,x2,...,xn)exp函数应用至每一个元素 n p . e x p ( x ) = ( e x 1 , e x 2 , . . . , e x n ) np.exp(x) = (e^{x_1}, e^{x_2}, ..., e^{x_n}) np.exp(x)=(ex1,ex2,...,exn)

import numpy as pn

def sigmoid(x):
    return 1 / (1 + np.exp(-x))

Reshape

img.reshape((32 * 32 * 3, 1))

Broadcasting

a = np.random.randn(3, 2)
b = np.random.randn(3, 1)

a + b # (3, 2)
a + 1 # (3, 2)

Vectorization

Python的循环效率非常低,矩阵运算应该尽可能使用Numpy的矩阵计算模块。

np.dot: 矩阵乘法
np.multiply/*: element-wise乘法

Exploring an advanced state of the art deep learning models and its applications using Popular python libraries like Keras, Tensorflow, and Pytorch Key Features • A strong foundation on neural networks and deep learning with Python libraries. • Explore advanced deep learning techniques and their applications across computer vision and NLP. • Learn how a computer can navigate in complex environments with reinforcement learning. Book Description With the surge of Artificial Intelligence in each and every application catering to both business and consumer needs, Deep Learning becomes the prime need of today and future market demands. This book explores deep learning and builds a strong deep learning mindset in order to put them into use in their smart artificial intelligence projects. This second edition builds strong grounds of deep learning, deep neural networks and how to train them with high-performance algorithms and popular python frameworks. You will uncover different neural networks architectures like convolutional networks, recurrent networks, long short term memory (LSTM) and solve problems across image recognition, natural language processing, and time-series prediction. You will also explore the newly evolved area of reinforcement learning and it will help you to understand the state-of-the-art algorithms which are the main engines behind popular game Go, Atari, and Dota. By the end of the book, you will be well versed with practical deep learning knowledge and its real-world applications What you will learn • Grasp mathematical theory behind neural networks and deep learning process. • Investigate and resolve computer vision challenges using convolutional networks and capsule networks. • Solve Generative tasks using Variational Autoencoders and Generative Adversarial Nets (GANs). • Explore Reinforcement Learning and understand how agents behave in a complex environment. • Implement complex natural language processing tasks using recurrent networks (LSTM, GRU), and attention models. Who This Book Is For This book is for Data Science practitioners, Machine Learning Engineers and Deep learning aspirants who have a basic foundation of Machine Learning concepts and some programming experience with Python. A mathematical background with a conceptual understanding of calculus and statistics is also desired
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值