上一页 1 ··· 56 57 58 59 60 61 62 63 64 ··· 72 下一页
摘要: 服务器ubuntu 系统同时安装了 anaconda3,anaconda2 ,但服务器没有连接外网,所以 想在python3 环境下安装离线安装xgboost。 主要分2步: 0:进入py3环境 (source activate py3) (具体anaconda3,anaconda2 共存见 htt 阅读全文
posted @ 2017-05-16 13:50 乐乐章 阅读(2538) 评论(0) 推荐(0) 编辑
摘要: 台大机器技法跟基石都看完了,但是没有编程一直,现在打算结合周志华的《机器学习》,撸一遍机器学习实战, 原书是python2 的,但是本人感觉python3更好用一些,所以打算用python3 写一遍。python3 与python2 不同的地方会在程序中标出。 代码及数据:https://githu 阅读全文
posted @ 2017-05-11 16:23 乐乐章 阅读(1149) 评论(0) 推荐(0) 编辑
摘要: Write a function to delete a node (except the tail) in a singly linked list, given only access to that node. Supposed the linked list is 1 -> 2 -> 3 - 阅读全文
posted @ 2017-05-10 15:04 乐乐章 阅读(93) 评论(0) 推荐(0) 编辑
摘要: Given a sorted linked list, delete all duplicates such that each element appear only once. For example,Given 1->1->2, return 1->2.Given 1->1->2->3->3, 阅读全文
posted @ 2017-05-10 14:37 乐乐章 阅读(115) 评论(0) 推荐(0) 编辑
摘要: 在linear model中,我们对各个特征线性组合,得到linear score,然后确定一个threshold,linear score < threshold 判为负类,linear score > threshold 判为正类。画PR曲线时, 我们可以想象threshold 是不断变化的。首 阅读全文
posted @ 2017-05-08 14:54 乐乐章 阅读(19615) 评论(3) 推荐(0) 编辑
摘要: Reverse a singly linked list. click to show more hints. Subscribe to see which companies asked this question. 利用循环。 注意反转后,原来的头节->next = null # Definit 阅读全文
posted @ 2017-05-06 00:23 乐乐章 阅读(241) 评论(0) 推荐(0) 编辑
摘要: Remove all elements from a linked list of integers that have value val. ExampleGiven: 1 --> 2 --> 6 --> 3 --> 4 --> 5 --> 6, val = 6Return: 1 --> 2 -- 阅读全文
posted @ 2017-05-05 00:20 乐乐章 阅读(180) 评论(0) 推荐(0) 编辑
摘要: Intersection of Two Linked Lists Write a program to find the node at which the intersection of two singly linked lists begins. For example, the follow 阅读全文
posted @ 2017-05-04 00:18 乐乐章 阅读(190) 评论(0) 推荐(0) 编辑
摘要: 1.官网 http://tomcat.apache.org/ 2.下载 这里我们需要知道一点,tomcat的版本是根据你安装的JDK版本来的,所以我们打开cmd,输入Java -version来查看自己的jdk版本 这里我是8,所以tomcat也是下载8 3.安装 直接解压就可以了,这里建议解压在C 阅读全文
posted @ 2017-04-23 20:58 乐乐章 阅读(1820) 评论(0) 推荐(0) 编辑
摘要: 先根据Ubuntu预装的python2.7来安装Anaconda2,然后将Anaconda3作为其环境安装在envs文件夹下。 重要提示:有一些软件需要py2.7的环境,比如XX-Net, 最好是先安装Anaconda2,这样系统默认的环境是py2,然后再安装Anaconda3。需要py3环境时,用 阅读全文
posted @ 2017-04-16 22:40 乐乐章 阅读(16446) 评论(0) 推荐(0) 编辑
上一页 1 ··· 56 57 58 59 60 61 62 63 64 ··· 72 下一页