Andrew Ng机器学习
squeue2019
邮箱:sunkun201309 at 163.com
展开
-
Andrew Ng机器学习week3(Regularization)编程习题
Andrew Ng机器学习week3(Regularization)编程习题1、plotData.mfunction plotData(X, y)%PLOTDATA Plots the data points X and y into a new figure % PLOTDATA(x,y) plots the data points with + for the positive exam原创 2017-04-08 21:15:18 · 2178 阅读 · 0 评论 -
Andrew Ng机器学习week2(Linear Regression)编程习题
Andrew Ng机器学习week2(Linear Regression)编程习题1、Warm-up Exercisefunction A = warmUpExercise()%WARMUPEXERCISE Example function in octave% A = WARMUPEXERCISE() is an example function that returns the 5x5原创 2017-04-05 00:08:12 · 2019 阅读 · 1 评论 -
Andrew Ng机器学习week4(Neural Networks: Representation)编程习题
Andrew Ng机器学习week4(Neural Networks: Representation)编程习题lrCostFunction.mfunction [J, grad] = lrCostFunction(theta, X, y, lambda)%LRCOSTFUNCTION Compute cost and gradient for logistic regression with %原创 2017-04-16 20:51:33 · 1276 阅读 · 0 评论 -
Andrew Ng机器学习week5(Neural Networks: Learning)编程习题
Andrew Ng机器学习week5(Neural Networks: Learning)编程习题nnCostFunction.mfunction [J grad] = nnCostFunction(nn_params, ... input_layer_size, ...原创 2017-04-23 21:13:41 · 1821 阅读 · 0 评论 -
Andrew Ng机器学习week6(Regularized Linear Regression and Bias/Variance)编程习题
Andrew Ng机器学习week6(Regularized Linear Regression and Bias/Variance)编程习题linearRegCostFunction.mfunction [J, grad] = linearRegCostFunction(X, y, theta, lambda)%LINEARREGCOSTFUNCTION Compute cost and gra原创 2017-06-02 00:30:17 · 2369 阅读 · 0 评论 -
Andrew Ng机器学习week7(Support Vector Machines)编程习题
Andrew Ng机器学习week7(Support Vector Machines)编程习题gaussianKernel.mfunction sim = gaussianKernel(x1, x2, sigma)%RBFKERNEL returns a radial basis function kernel between x1 and x2% sim = gaussianKernel(原创 2017-06-02 00:34:30 · 2160 阅读 · 0 评论 -
Andrew Ng机器学习week9(Anomaly Detection and Recommender Systems)编程习题
Andrew Ng机器学习week9(Anomaly Detection and Recommender Systems)编程习题estimateGaussian.mfunction [mu sigma2] = estimateGaussian(X)%ESTIMATEGAUSSIAN This function estimates the parameters of a %Gaussian di原创 2017-06-17 20:26:59 · 1469 阅读 · 0 评论 -
Andrew Ng机器学习week8(Unsupervised Learning)编程习题
Andrew Ng机器学习week8(Unsupervised Learning)编程习题findClosestCentroids.mfunction idx = findClosestCentroids(X, centroids)%FINDCLOSESTCENTROIDS computes the centroid memberships for every example% idx =原创 2017-06-08 09:13:16 · 1628 阅读 · 0 评论