回归树中的错误讲解math.pow不能对矩阵直接进行操作
第九章 回归树@TOC
回归树中的错误讲解math.pow不能对矩阵直接进行操作
import math
import numpy as np
import matplotlib.pyplot as plt
def loadDataSet(fileName): #general function to parse tab -delimited floats
dataMat = ...
原创
2019-04-10 16:47:40 ·
187 阅读 ·
0 评论