cs231n assignment
机器学习 学习记录, cs231n assignment 解析。
weixin_44956310
这个作者很懒,什么都没留下…
展开
-
cs231n Assignment1 softmax classifier.
1)Introduction It turns out that the SVM is one of two commonly seen classifiers. The other popular choice is the Softmax classifier, which has a different loss function. Softmax 分类器是常用的分类器之一。 Example: Li为损失函数, 损失函数评价当前 网络结构的好坏。直观地讲,当评分函数输出结果与真实结果之间差异越大原创 2020-11-30 23:09:36 · 135 阅读 · 0 评论 -
cs231n assignment knn
CS231 机器学习 KNN k_nearest_neighbor.py def compute_distances_two_loops(self, X): """ Compute the distance between each test point in X and each training point in self.X_train using a nested loop over both the training data and the原创 2020-11-12 23:27:43 · 125 阅读 · 0 评论 -
cs231n assignment svm公式推导
简要记录学习理解。 1. svm 是一个线性分类器 直接由权重矩阵和图片(input x) 得到一个值,通过svm算法,不断更新W,使 正确的标签的一栏得分最高。 2. Loss function Loss function 就是评价目前这个W矩阵有’多坏‘。 其值越高,则分类效果越差, 值越低,则值效果越好 3. Regularization 作用:简而言之,防止过拟合。 所以总的Loss function 为 4. 公式推导 & 代码解析 svm_loss_naive 函数 def原创 2020-11-26 19:55:44 · 190 阅读 · 0 评论