机器学习是目前信息技术中最激动人心的方向之一,其应用已经深入到生活的各个层面且与普通人的日常生活密切相关. 一.定义 正如我们人类根据过去的经验来判断明天的天气,购买适合自己的东西,做出有效的预判,那能不能让计算机帮助人类来实现这个呢? 机器学习正式这样一门学科,它致力于研究如何通过计算的手段,利用 ...
分类:
其他好文 时间:
2018-07-08 20:37:27
阅读次数:
191
判断一棵树里是否有两个节点的值之和等于某个值。 653. Two Sum IV - Input is a BST Given a Binary Search Tree and a target number, return true if there exist two elements in th ...
分类:
其他好文 时间:
2018-07-08 18:01:01
阅读次数:
137
TA-Lib 是用于股票技术分析,包括 MACD, RSI, Stochastic, Bollinger Bands等技术指标的第三方库。 使用pip install 进行安装,无法安装报错: 根据github上的官方说明:是在64位的python上无法安装‘32-bit binary distri ...
分类:
其他好文 时间:
2018-07-07 20:44:48
阅读次数:
156
1.下载安装包 MySQL 官方下载地址:https://dev.mysql.com/downloads/mysql/ MySQL 5.7官方安装文档:https://dev.mysql.com/doc/refman/5.7/en/binary-installation.html 本文完全按照官方步 ...
分类:
数据库 时间:
2018-07-07 20:34:01
阅读次数:
298
There is a kind of balanced binary search tree named red-black tree in the data structure. It has the following 5 properties: (1) Every node is either ...
分类:
其他好文 时间:
2018-07-07 20:31:58
阅读次数:
509
数据库安装以后,db2报错如下: If 'db2' is not a typo you can run the following command to lookup the package that contains the binary: command-not-found db2bash: d... ...
分类:
数据库 时间:
2018-07-07 12:35:08
阅读次数:
2389
库文件 查看二进制程序所依赖的库文件 ldd /PATH/TO/BINARY_FILE 管理及查看本机装载的库文件 ldconfig 加载库文件 /sbin/ldconfig -p: 显示本机已经缓存的所有可用库文件 名及文件路径映射关系 配置文件:/etc/ld.so.conf, /etc/ld. ...
分类:
其他好文 时间:
2018-07-07 12:34:33
阅读次数:
216
题目如下: 解题思路:首先将较短的输入前面补0,保证a和b长度一样,然后逐位相加再加上进位的值。如果和为3,当前位值为1,进位1;如果为2,当前位值为0,进位为1;否则不进位,当前位值即为和的值。 代码如下: ...
分类:
其他好文 时间:
2018-07-06 22:28:57
阅读次数:
112
原题网址:https://www.lintcode.com/problem/construct-binary-tree-from-preorder-and-inorder-traversal/description 描述 根据前序遍历和中序遍历树构造二叉树. 描述 描述 根据前序遍历和中序遍历树构造 ...
分类:
其他好文 时间:
2018-07-06 15:54:28
阅读次数:
115
Suppose that all the keys in a binary tree are distinct positive integers. A unique binary tree can be determined by a given pair of postorder and ino ...
分类:
其他好文 时间:
2018-07-06 12:15:29
阅读次数:
181