Machine Learning
文章平均质量分 87
OovEver
这个作者很懒,什么都没留下…
展开
-
Coursera Machine Learning 第一周 引言(Introduction)
引言主要介绍了什么是机器学习即:机器学习为在特定编程情况下,给予计算机学习能力的领域。1.3监督学习个人理解,监督学习指为机器学习算法提供一套数据集(数据集中含有标签,即正确答案,错误答案)。其中预测的值为连续输出时我们称之为回归,如房价预测,销售额预测。预测输出的值为离散值时,我们称之为分类,如天气预报(晴天,阴天,雨天)、肿瘤(恶性,良性)。原创 2016-11-08 22:05:34 · 1012 阅读 · 0 评论 -
Coursera Machine Learning 第三周 quiz Regularization
1.You are training a classification model with logisticregression. Which of the following statements are true? Checkall that apply.Introducing regularizat原创 2016-11-10 16:11:04 · 23995 阅读 · 11 评论 -
Coursera Machine Learning 第三周 quiz Logistic Regression
1.Suppose that you have trained a logistic regression classifier, and it outputs on a new example x a prediction hθ(x) = 0.2. This means (check all that apply):答案AC h(x)=0.2为y=1时的值原创 2016-11-10 15:26:57 · 22513 阅读 · 0 评论 -
Coursera Machine Learning 第二周 quiz Programming Exercise 1: Linear Regression
warmUpExercise.mA = eye(5);computeCost.m原创 2016-11-09 19:47:52 · 3852 阅读 · 0 评论 -
Coursera Machine Learning 第二周 quiz Octave/Matlab Tutorial 习题答案
1.Suppose I first execute the following Octave/Matlab commands:12A = [1 2; 3 4; 5 6];B = [1 2 3; 4 5 6];Which of the following are then valid commands? Check all that apply. (Hint: A' denotes th原创 2016-11-09 18:58:42 · 30591 阅读 · 2 评论 -
Coursera Machine Learning 第二周 quiz Linear Regression with Multiple Variables 习题答案
1.Suppose m=4 students have taken some class, and the class had a midterm exam and a final exam. You have collected a dataset of their scores on the two exams, which is as follows:midterm exam原创 2016-11-09 14:17:08 · 32706 阅读 · 4 评论 -
Coursera Machine Learning 第一周 引言(Introduction) quiz 习题答案
1.A computer program is said to learn from experience E withrespect to some task T and some performance measure P if itsperformance on T, as measured by P, improves with experi原创 2016-11-08 22:43:03 · 12511 阅读 · 3 评论 -
Coursera Machine Learning 第一周 quiz Linear Regression with One Variable 习题答案
1.Consider the problem of predicting how well a student does in her second year of college/university, given how well she did in her first year.Specifically, let x be equal to the number of "A" gr原创 2016-11-08 23:54:03 · 18839 阅读 · 2 评论 -
Coursera Machine Learning 第一周 quiz Linear Algebra习题答案
1.Let two matrices beA=[4639],B=[−2−592]What is A + B? 答案为B 互相加即可[611−67][211211][2192原创 2016-11-09 00:08:30 · 7141 阅读 · 0 评论 -
Coursera Machine Learning 第九周 quiz Recommender Systems
1point1. Suppose you run a bookstore, and have ratings (1 to 5 stars)of books. Your collaborative filtering algorithm has learneda parameter vector θ(j) for user j, and a f原创 2016-11-13 18:11:14 · 22583 阅读 · 3 评论 -
Coursera Machine Learning 第九周 quizProgramming Exercise 8: Anomaly Detection and Recommender Systems
estimateGaussian.mfunction [mu sigma2] = estimateGaussian(X)%ESTIMATEGAUSSIAN This function estimates the parameters of a %Gaussian distribution using the data in X% [mu sigma2] = estimateGauss原创 2016-11-13 18:14:28 · 3501 阅读 · 0 评论 -
Coursera Machine Learning 第十周 quiz Large Scale Machine Learning
1point1. Suppose you are training a logistic regression classifier using stochastic gradient descent. You find that the cost (say, cost(θ,(x(i),y(i))), averaged over the last 500 exa原创 2016-11-13 21:23:19 · 14014 阅读 · 3 评论 -
Coursera Machine Learning 第三周 quiz Programming Exercise 2: Logistic Regression
sigmoid.mfunction g = sigmoid(z)%SIGMOID Compute sigmoid functoon% J = SIGMOID(z) computes the sigmoid of z.% You need to return the following variables correctly g = zeros(size(z));% =====原创 2016-11-10 17:26:30 · 3482 阅读 · 0 评论 -
Coursera Machine Learning 第四周 quiz Neural Networks: Representation
Which of the following statements are true? Check all that apply.答案CDSuppose you have a multi-class classification problem with three classes, trained with a 3 layer netw原创 2016-11-11 00:00:36 · 9843 阅读 · 1 评论 -
Coursera Machine Learning 第四周 quiz Programming Exercise 3 Multi-class Classification and Neural
lrCostFunction.mfunction [J, grad] = lrCostFunction(theta, X, y, lambda)%LRCOSTFUNCTION Compute cost and gradient for logistic regression with %regularization% J = LRCOSTFUNCTION(theta, X, y, l原创 2016-11-11 00:07:29 · 2634 阅读 · 0 评论 -
Coursera Machine Learning 第九周 quiz Anomaly Detection
1point1. For which of the following problems would anomaly detection be a suitable algorithm?答案ACGiven a dataset of credit card transactions, identify unu原创 2016-11-13 00:34:02 · 17405 阅读 · 1 评论 -
Coursera Machine Learning 第八周 quiz Programming Exercise 7 K-means Clustering and Principal Component
findClosestCentroids.mfunction idx = findClosestCentroids(X, centroids)%FINDCLOSESTCENTROIDS computes the centroid memberships for every example% idx = FINDCLOSESTCENTROIDS (X, centroids) return原创 2016-11-13 00:13:23 · 2779 阅读 · 0 评论 -
Coursera Machine Learning 第八周 quiz Principal Component Analysis
1point1. Consider the following 2D dataset:Which of the following figures correspond to possible values that PCA may return for u(1)(the first eigenvector / first principal原创 2016-11-12 22:50:44 · 10213 阅读 · 0 评论 -
Coursera Machine Learning 第八周 quiz Unsupervised Learning
1point1. For which of the following tasks might K-means clustering be a suitable algorithm? Select all that apply.答案ABGiven a database of information abou原创 2016-11-12 19:46:25 · 8072 阅读 · 0 评论 -
Coursera Machine Learning 第七周 quiz Programming Exercise 6: Support Vector Machines
gaussianKernel.mfunction sim = gaussianKernel(x1, x2, sigma)%RBFKERNEL returns a radial basis function kernel between x1 and x2% sim = gaussianKernel(x1, x2) returns a gaussian kernel between原创 2016-11-12 17:56:56 · 4103 阅读 · 1 评论 -
Coursera Machine Learning 第七周 quiz Support Vector Machines
1. Suppose you have trained an SVM classifier with a Gaussian kernel, and it learned the following decision boundary on the training set:You suspect that the SVM is underfitting your d原创 2016-11-12 17:47:11 · 7288 阅读 · 1 评论 -
Coursera Machine Learning 第六周 quiz Machine Learning System Design
有用就点个赞吧1point1. You are working on a spam classification system using regularized logistic regression. "Spam" is a positive class (y = 1) and "not spam" is the negative class原创 2016-11-12 15:59:14 · 12553 阅读 · 3 评论 -
Coursera Machine Learning 第六周 Programming Exercise 5: Regularized Linear Regression and Bias
linearRegCostFunction.mfunction [J, grad] = linearRegCostFunction(X, y, theta, lambda)%LINEARREGCOSTFUNCTION Compute cost and gradient for regularized linear %regression with multiple variables%原创 2016-11-11 13:13:15 · 2511 阅读 · 0 评论 -
Coursera Machine Learning 第六周 quiz Advice for Applying Machine Learning
1point1. You train a learning algorithm, and find that it has unacceptably high error on the test set. You plot the learning curve, and obtain the figure below. Is the algorithm suffer原创 2016-11-11 13:07:45 · 7236 阅读 · 0 评论 -
Coursera Machine Learning 第五周 quiz Programming Exercise 4: Neural Networks Learning
nnCostFunction.mfunction [J grad] = nnCostFunction(nn_params, ... input_layer_size, ... hidden_layer_size, ...原创 2016-11-11 10:52:37 · 3271 阅读 · 0 评论 -
Coursera Machine Learning 第五周 quiz Neural Networks: Learning
1. You are training a three layer neural network and would like to use backpropagation to compute the gradient of the cost function. In the backpropagation algorithm, one of the steps is to原创 2016-11-11 10:49:10 · 8256 阅读 · 0 评论 -
Coursera Machine Learning 第十一周 quiz Application: Photo OCR
1point1. Suppose you are running a sliding window detector to findtext in images. Your input images are 1000x1000 pixels. Youwill run your sliding windows detector at two scale原创 2016-11-13 21:37:51 · 9074 阅读 · 0 评论