scikit-learn实现ebay数据分析 的随笔
摘要:注:只是随笔 import pandas as pd train = pd.read_csv() 读入scv格式的文件 train = train_set.drop(['EbayID','QuantitySold','SellerName'], axis=1) 去掉无用的features; trai
阅读全文
machine leanring 笔记 vectorization
摘要:the summation of the product of two terms can be expressed as the product of two vectors ps. surf :plot 3-d mesh surf(a,b,c) c's coloum=a's length and
阅读全文
machine learning 笔记 normal equation
摘要:theta=(Xt*X)^-1 Xt*y x is feature matrix y is expectation
阅读全文
machine leanring 笔记 octave命令笔记
摘要:来源于coursea 的公开课 A*B 一般意义的矩阵相乘 A.*B矩阵各位相乘 A.^2 A矩阵的每个数平方 1./A 对A矩阵的各位取倒 .表示对每一项都如此操作 log (A) exp(A) abs(A) -A th v+ones(length(v),1) add vector of all
阅读全文