ML
江东风又起
脚踏实地,做好每一件事
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
[原创]ML吴恩达系列习题解答2_machine_learning_ex3
要求如上,解答如下:第一部分 正则逻辑回归1.实现lrCostFunction.m 正则化逻辑回归的代价函数和梯度% ====================== YOUR CODE HERE ======================% Instructions: Compute the cost of a particular choice of theta.% ...原创 2019-06-12 20:03:34 · 2798 阅读 · 0 评论 -
[原创]ML吴恩达系列习题解答3_machine_learning_ex5
我是在网易云课堂看的视频,有点奇怪练习题怎么不连续?有习题就做吧,不太在意这个问题了要求如上,解答如下:1.实现linearRegCostFunction.m 计算代价函数、梯度% ====================== YOUR CODE HERE ======================% Instructions: Compute the cost and gradie...原创 2019-06-14 14:18:57 · 468 阅读 · 0 评论 -
[原创]ML吴恩达系列习题解答4_machine_learning_ex6
最近有点忙,慢更,见谅要求如上,实现如下:(这个练习的代码比较简单,就不细讲了。吴老师在课程中一直强调SVM已经有成熟的算法库,练习的目的是理解并熟练运用SVM,不必太关心SVM库实现。。。)1.实现gaussianKernel,就是计算相似度的% ====================== YOUR CODE HERE ======================% Instruc...原创 2019-06-20 21:09:41 · 641 阅读 · 0 评论 -
[原创]ML吴恩达系列习题解答1_machine_learning_ex2
不多说了,赶紧上车第一部分习题(仅保留代码部分,省点篇幅)1.实现plotData.m% ====================== YOUR CODE HERE ======================% Instructions: Plot the positive and negative examples on a% 2D plot, usin...原创 2019-06-11 20:40:47 · 1954 阅读 · 5 评论 -
[原创]ML吴恩达系列习题解答5_machine_learning_ex7
字不重要 看图要求如上,实现如下:1.实现findClosestCentroids,就是找到距离最近的中心点% ====================== YOUR CODE HERE ======================% Instructions: Go over every example, find its closest centroid, and store% ...原创 2019-06-22 10:25:19 · 556 阅读 · 0 评论 -
OPENCV+TENSORFLOW篇3_仿射变换与旋转
仿射变换就是平面到平面的映射,由于三点确定平面,因此,原平面到新平面找到对应三点即可确定映射关系(所谓关系就是变化矩阵)import cv2import numpy as npimg = cv2.imread('image0.jpg',1)cv2.imshow('src',img)imgInfo = img.shapeheight = imgInfo[0]width = imgInf...转载 2019-07-08 10:37:17 · 909 阅读 · 0 评论 -
[原创]ML吴恩达系列习题解答6_machine_learning_ex8
做完这套题,ML吴老师系列习题解答也就告一段落了,先谢谢大家。直奔主题吧:第一部分:1.实现estimateGaussian,就是计算一个正态分布的数据的均值和方差% ====================== YOUR CODE HERE ======================% Instructions: Compute the mean of the data and t...原创 2019-06-27 17:07:43 · 408 阅读 · 0 评论 -
OPENCV+TENSORFLOW篇1_搭建开发环境
前面的话,各方总结而来,并不是原创,也不完全是转载环境WIN10 + CPU-I5-8th + anaconda + opencv4.1.0 + TensorFlow1.131.安装anacondahttps://www.anaconda.com/distribution/安装好,python也就安装好了2.创建环境变量名字就叫tensorflow37吧python版本选个3....转载 2019-07-03 11:53:30 · 449 阅读 · 0 评论 -
OPENCV+TENSORFLOW篇2_最近邻域插值法和双线性插值法
import cv2img = cv2.imread('image0.jpg',1)cv2.imshow('imageorigin',img)imgInfo = img.shapeprint(imgInfo)(height,width,mode) = imgInfodstHeight = int(height*0.5)dstWidth = int(width*0.5)dst = ...转载 2019-07-05 15:32:44 · 2237 阅读 · 0 评论
分享