随笔分类 -  深度学习&机器学习&机器学习

上一页 1 ··· 4 5 6 7 8 9 10 11 下一页
摘要:![image](https://img2023.cnblogs.com/blog/1914163/202306/1914163-20230623224947072-1200603742.png) ▪ Load datasets ▪ Build Network ▪ Train ▪ Test ![im 阅读全文
posted @ 2023-06-24 09:09 lipu123 阅读(67) 评论(0) 推荐(0)
摘要:▪ Pooling ▪ upsample ▪ ReLU 我们看一下这个Subsampling层就是这个:这一层起到Reduce Dim的作用。 ![image](https://img2023.cnblogs.com/blog/1914163/202306/1914163-2023062322121 阅读全文
posted @ 2023-06-23 22:33 lipu123 阅读(133) 评论(0) 推荐(0)
摘要:再跑CNN程序的时候报了这个错 ``` 2023-06-23 21:11:52.069321: I tensorflow/core/platform/cpu_feature_guard.cc:151] This TensorFlow binary is optimized with oneAPI D 阅读全文
posted @ 2023-06-23 21:46 lipu123 阅读(1874) 评论(0) 推荐(1)
摘要:# 1 卷积神经网络的引入 这个主要是应对2D的图片处理产生的。 灰色的图片的表示:[b,h,w,1] ![image](https://img2023.cnblogs.com/blog/1914163/202306/1914163-20230621094420677-934100077.png) 阅读全文
posted @ 2023-06-20 17:06 lipu123 阅读(48) 评论(0) 推荐(0)
摘要:Tricks ▪ Early Stopping ▪ Dropout ▪ Stochastic Gradient Descent # 1 Early stopping 我们走到最大指的时候我们可以提交stop掉,防止它overfitting。 ![image](https://img2023.cnbl 阅读全文
posted @ 2023-06-20 17:04 lipu123 阅读(61) 评论(0) 推荐(0)
摘要:▪ momentum(动量,惯性) ▪ learning rate decay # 1 momentum ![image](https://img2023.cnblogs.com/blog/1914163/202306/1914163-20230620160400056-8750057.png) 分 阅读全文
posted @ 2023-06-20 16:21 lipu123 阅读(54) 评论(0) 推荐(0)
摘要:# 1 过拟合和欠拟合 线性模型 ![image](https://img2023.cnblogs.com/blog/1914163/202306/1914163-20230620132749513-1737244344.png) 非线性模型 ![image](https://img2023.cnb 阅读全文
posted @ 2023-06-20 16:00 lipu123 阅读(164) 评论(0) 推荐(0)
摘要:# 1 数据集: ![image](https://img2023.cnblogs.com/blog/1914163/202306/1914163-20230619215119680-946357436.png) 这个照片很模糊,大小只有[32,32],所以我们预测的结果也不是很好。 # 2 自定义 阅读全文
posted @ 2023-06-20 12:26 lipu123 阅读(18) 评论(0) 推荐(0)
摘要:一般情况下有三种方式: ▪ save/load weights(只保存网络的参数,状态不管) ▪ save/load entire model(把所有的状态都保存) ▪ saved_model(交给工厂的时候可以用,可以跨语言) # 1 save/load weights 比如说你的网络里面有[w1 阅读全文
posted @ 2023-06-19 21:31 lipu123 阅读(66) 评论(0) 推荐(0)
摘要:▪ keras.Sequential ▪ keras.layers.Layer ▪ keras.Model # 1 keras.Sequential ![image](https://img2023.cnblogs.com/blog/1914163/202306/1914163-2023061900 阅读全文
posted @ 2023-06-19 20:35 lipu123 阅读(65) 评论(0) 推荐(0)
摘要:Keras != tf.keras ▪ datasets ▪ layers ▪ losses **▪ metrics(主要)** ▪ optimizers # 1 Keras.Metrics 1.Metrics(新建一个Matrics) 2.update_state(添加数据) 3.result() 阅读全文
posted @ 2023-06-19 00:44 lipu123 阅读(64) 评论(0) 推荐(0)
摘要:一.数据的加载: ``` (x, y), (x_test, y_test) = datasets.fashion_mnist.load_data() print(x.shape, y.shape) ``` ![image](https://img2023.cnblogs.com/blog/19141 阅读全文
posted @ 2023-06-18 17:45 lipu123 阅读(33) 评论(0) 推荐(0)
摘要:首先这个是链式法则: ![image](https://img2023.cnblogs.com/blog/1914163/202306/1914163-20230618150258630-379278443.png) ![image](https://img2023.cnblogs.com/blog 阅读全文
posted @ 2023-06-18 15:31 lipu123 阅读(44) 评论(0) 推荐(0)
摘要:![image](https://img2023.cnblogs.com/blog/1914163/202306/1914163-20230618143224466-131314557.png) # 1 Basic Rule ![image](https://img2023.cnblogs.com/ 阅读全文
posted @ 2023-06-18 15:01 lipu123 阅读(16) 评论(0) 推荐(0)
摘要:# 1 单输出感知机 ![image](https://img2023.cnblogs.com/blog/1914163/202306/1914163-20230618131306306-350372722.png) ![image](https://img2023.cnblogs.com/blog 阅读全文
posted @ 2023-06-18 14:16 lipu123 阅读(37) 评论(0) 推荐(0)
摘要:# 1 梯度下降简介 ## 1.1 什么是梯度下降 ![image](https://img2023.cnblogs.com/blog/1914163/202306/1914163-20230617213114099-1826567435.png) 梯度是一个向量 ![image](https:// 阅读全文
posted @ 2023-06-18 00:42 lipu123 阅读(80) 评论(0) 推荐(0)
摘要:▪ MSE ▪ Cross Entropy Loss(针对分类问题) ▪ Hinge Loss ![image](https://img2023.cnblogs.com/blog/1914163/202306/1914163-20230617164108526-1325568515.png) # 1 阅读全文
posted @ 2023-06-17 17:10 lipu123 阅读(160) 评论(0) 推荐(0)
摘要:这里的输出方式有这几种: ![image](https://img2023.cnblogs.com/blog/1914163/202306/1914163-20230617151543706-2043333171.png) # 1 𝑦∈𝑅^d ▪ linear regression(线性回归) 阅读全文
posted @ 2023-06-17 16:39 lipu123 阅读(25) 评论(0) 推荐(0)
摘要:▪ Matmul ▪ Neural Network ▪ Deep Learning ▪ Multi-Layer # 1.Matmul - out=f(x@w+b) - out=relu(x@w+b) ![image](https://img2023.cnblogs.com/blog/1914163/ 阅读全文
posted @ 2023-06-17 15:08 lipu123 阅读(125) 评论(0) 推荐(0)

上一页 1 ··· 4 5 6 7 8 9 10 11 下一页