摘要: question: Given a non-negative integer num, repeatedly add all its digits until the result has only one digit. For example: Given num = 38, the proces 阅读全文
posted @ 2016-09-26 21:16 qicaide 阅读(115) 评论(0) 推荐(0) 编辑
摘要: question: Given an array of integers, every element appears twice except for one. Find that single one. my first answer(which is wrong, due to Time Li 阅读全文
posted @ 2016-09-26 20:24 qicaide 阅读(99) 评论(0) 推荐(0) 编辑
摘要: 数据集的一般特性: 维度 (具有的属性数目) 稀疏性(在非对称特征数据集,一个对象大部分属性上的值为0) 分辨率(分辨率太高,模式可能看不清楚,分辨率太低可能模式不出现) 数据集类型 1 记录数据 (记录之间或数据字段之间没有明显的联系,并且每个记录(对象)有相同的属性集) 事务数据或购物篮数据 数 阅读全文
posted @ 2016-09-26 19:44 qicaide 阅读(1778) 评论(0) 推荐(0) 编辑
摘要: question: Calculate the sum of two integers a and b, but you are not allowed to use the operator + and -. my wrong answer 错误点: 显示memory error 应该是运行较大数 阅读全文
posted @ 2016-09-26 19:15 qicaide 阅读(135) 评论(0) 推荐(0) 编辑
摘要: question: You are playing the following Nim Game with your friend: There is a heap of stones on the table, each time one of you take turns to remove 1 阅读全文
posted @ 2016-09-26 16:58 qicaide 阅读(195) 评论(0) 推荐(0) 编辑
摘要: Basic notations input: x∈χ (customer application) output: y∈y (good/bad after approving credit card) target function (unknown pattern to be learned) : 阅读全文
posted @ 2016-09-26 09:11 qicaide 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 适用情况: 1 exists some 'underlying pattern' to be learned --so 'performance measure' can be imporoved 例:小孩哭泣,没有内在模式 2 but no programmable(easy) definitio 阅读全文
posted @ 2016-09-26 08:18 qicaide 阅读(160) 评论(0) 推荐(0) 编辑