A Binary Search Tree (BST) is recursively defined as a binary tree which has the following properties: The left subtree of a node contains only nodes ...
分类:
其他好文 时间:
2020-01-26 16:10:12
阅读次数:
98
A Binary Search Tree (BST) is recursively defined as a binary tree which has the following properties: The left subtree of a node contains only nodes ...
分类:
其他好文 时间:
2020-01-26 14:40:36
阅读次数:
61
<profiles> <profile> <id>dev</id> <properties> <profiles.active>dev</profiles.active> </properties> <activation> <activeByDefault>true</activeByDefaul ...
分类:
其他好文 时间:
2020-01-25 12:56:11
阅读次数:
86
在上一篇中,我们学习了线性回归,这一次来看看k近邻的表现 K最近邻(k-Nearest Neighbor,KNN)分类算法,是一个理论上比较成熟的方法,也是最简单的机器学习算法之一。该方法的思路是:在特征空间中,如果一个样本附近的k个最近(即特征空间中最邻近)样本的大多数属于某一个类别,则该样本也属 ...
分类:
其他好文 时间:
2020-01-24 15:48:29
阅读次数:
82
@[toc] 绝对值 distance$:|a b|$ properties$:(1)|x| \geq 0$,for all $x \in R$,and $"=” \Leftrightarrow x=0$ $(2):|a b|=|b a|(|x|=| x|)$ $(3):|x+y| \leq |x| ...
分类:
其他好文 时间:
2020-01-24 15:48:02
阅读次数:
144
如何修改已发布issue的标题和正文 我们知道,点击issues中的New issue就可以发布新的issue,但是发布完成后想要修改它的标题和段落应该怎么做呢? 标题的修改 进入需要修改的issue中,点击标题右侧白色的Edit键即可更改(后来我才意识到edit是编辑的意思,exit才是退出的意思 ...
分类:
其他好文 时间:
2020-01-24 09:13:42
阅读次数:
70
我的电脑系统盘只有 64 G,空间比较紧张,需要节约系统盘的空间占用。 所以 npm 全局 module 不易安装到默认路径下。 如何设置呢? - 编辑 npm 配置 npm config edit - 添加、修改 prefix 的值,指向新的路径,如: prefix=E:\Program File ...
分类:
其他好文 时间:
2020-01-24 00:11:15
阅读次数:
96
1.配置文件: springboot默认使用一个全局配置文件 配置文件名是固定的 配置文件有两种(开头均是application,主要是文件的后缀): ->application.properties ->application.yml 作用:修改springboot自动配置的默认值 springb ...
分类:
编程语言 时间:
2020-01-23 22:48:35
阅读次数:
177
其次在application.properties文件中配置mybatis的mapper文件位置,和实体类的包路径,还有最好加上驼峰命名规范 ####mybatis配置 # 注意注意 mybatis.mapper-locations=classpath:edu/hohai/chapter1/gt/m ...
分类:
编程语言 时间:
2020-01-23 22:32:34
阅读次数:
99
EditText与之前的TextView和Button的用法大体相同,用法案例如下: activity_edit_text.xml: <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schema ...
分类:
其他好文 时间:
2020-01-23 22:30:25
阅读次数:
97