- 博客(9)
- 收藏
- 关注
原创 Springboot如何捕获Controller异常 并且将捕获具体方法的异常
这是一个很难捕获的异常 只有鄙人可以捕获 哈哈哈,请喜欢的小伙伴们关注我,谢谢!
2022-06-02 23:53:23
5534
原创 Springboot 报错 template might not exist or might not be accessible by any of the configured Template
springboot + themeleaf 报错 template might not exist or might not be accessible by any of the configured Template
2022-05-30 12:07:40
9258
2
原创 机器学习3——决策树总结
1.信息增益,信息增益是决策树的划分标准1.1熵(香农熵,克劳德·香农所描述的一个值)首先给出计算熵的公式对于一个可能有n种取值的随机变量:其熵为:# -*- coding: utf-8 -*-from math import logimport operatorimport matplotlib.pyplot as pltdef
2015-11-24 00:27:21
374
原创 机器学习2——python读写excel表格
继续kNN算法,numpy函数库的几个方法1. random.rand(4,3)随机生成一个4*3的矩阵2. mat(random.rand(4,3))生成的是一个矩阵3. a=mat(random.rand(4,3)), a.I 为矩阵A的逆矩阵4. 直接生成一个矩阵 A = matrix([ [1,2,3],[4,3,5],[5,7,3] ])
2015-11-17 20:23:48
2195
原创 kNN算法 k-Nearest Neighbors algorithm
对照着书中的代码,自己有一定的python基础,但是会的比较简单,参考网上的python教程,推荐一下廖雪峰先生的网站,http://www.liaoxuefeng.com/#我用的是win10 因为官网上的numpy是32位的,下载了安装不靠谱,用的python **install也不行,所以参考了下面的方法http://blog.youkuaiyun.com/hechenghai/articl
2015-11-16 22:59:58
694
原创 记录每天学习机器学习的经历,对照机器学习实战这本书
今天是第一天,希望能坚持下去,每天写新的---------------------------------------------------------------------------------------------------------------------------辛苦的分割线-------------------------------------------------
2015-11-16 22:58:45
532
python线性回归、pytorch实现线性回归,包括GPU运行方式
2022-08-27
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人