- 博客(62)
- 收藏
- 关注
原创 机器学习-周志华-课后习题-第2章 模型评估与选择
2.1 数据集包含1000个样本,其中500个正例、500个反例,将其划分为包含70%样本的训练集和30%样本的测试集用于留出法评估,试估算共有多少种划分方法。 解:考虑到数据分布的一致性,训练集应包含350个正例和350个反例; 因此,划分方法有 C_500^350∙C_500^350 种。2.2 数据集包含100个样本,其中正、反例各一半,假定学习算法所产生的
2016-07-15 14:57:35
2677
原创 145. Binary Tree Postorder Traversal
145. Binary Tree Postorder Traversal
2016-05-14 22:10:48
172
原创 3. Longest Substring Without Repeating Characters
3. Longest Substring Without Repeating Characters
2016-04-16 14:00:07
138
原创 121. Best Time to Buy and Sell Stock
121. Best Time to Buy and Sell Stock
2016-04-11 22:07:41
139
原创 24. Swap Nodes in Pairs
Given a linked list, swap every two adjacent nodes and return its head.For example, Given 1->2->3->4, you should return the list as 2->1->4->3.Your algorithm should use only constant space. You may no
2016-04-04 22:11:33
131
原创 235. Lowest Common Ancestor of a Binary Search Tree
235. Lowest Common Ancestor of a Binary Search Tree
2016-04-04 20:53:25
118
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅