添加前两种回归的测试和注释

This commit is contained in:
chenyyx
2017-03-24 22:44:30 +08:00
2933 changed files with 1094642 additions and 311 deletions

View File

@@ -224,6 +224,7 @@ def crossValidation(xArr,yArr,numVal=10):
#test for standRegression
def regression1():
xArr, yArr = loadDataSet("../../../testData/Regression_data.txt")
@@ -241,6 +242,7 @@ def regression1():
#test for LWLR
def regression2():
xArr, yArr = loadDataSet("../../../testData/Regression_data.txt")