原文地址:https://www.joelonsoftware.com/2003/10/08/the-absolute-minimum-every-software-developer-absolutely-positively-must-know-about-unicode-and-charact ...
分类:
编程语言 时间:
2018-11-25 20:04:46
阅读次数:
206
There is a public bike service in Hangzhou City which provides great convenience to the tourists from all over the world. One may rent a bike at any s ...
分类:
其他好文 时间:
2018-11-25 16:09:39
阅读次数:
156
LRU(Least recently used,最近最少使用)算法根据数据的历史访问记录来进行淘汰数据,其核心思想是“如果数据最近被访问过,那么将来被访问的几率也更高”。 1. 新数据插入到链表头部; 2. 每当缓存命中(即缓存数据被访问),则将数据移到链表头部; 3. 当链表满的时候,将链表尾部的 ...
分类:
其他好文 时间:
2018-11-25 11:46:01
阅读次数:
88
https://leetcode.com/problems/maximum-subarray/ Given an integer array nums, find the contiguous subarray (containing at least one number) which has t ...
分类:
其他好文 时间:
2018-11-21 19:42:36
阅读次数:
190
LinkedHashMap特别有意思,它不仅仅是在HashMap上增加Entry的双向链接,它更能借助此特性实现保证Iterator迭代按照插入顺序(以insert模式创建LinkedHashMap)或者实现LRU(Least Recently Used最近最少算法,以access模式创建Linke ...
分类:
编程语言 时间:
2018-11-21 16:11:08
阅读次数:
221
Given an array of integers, find if the array contains any duplicates. Your function should return true if any value appears at least twice in the arr ...
分类:
其他好文 时间:
2018-11-21 15:52:32
阅读次数:
150
1、控制台错误提示如下: At least one JAR was scanned for TLDs yet contained no TLDs 07-Mar-2017 11:00:21.970 INFO [RMI TCP Connection(2)-127.0.0.1] org.apache.ja ...
分类:
编程语言 时间:
2018-11-20 13:22:52
阅读次数:
1597
本文参考资料列表: 【1】Robust Regression Shrinkage and Consistent Variable Selection Through the LAD-Lasso 【2】维基百科 https://en.wikipedia.org/wiki/Least_absolute_ ...
分类:
编程语言 时间:
2018-11-17 22:18:58
阅读次数:
226
53. Maximum Subarray Given an integer array nums, find the contiguous subarray (containing at least one number) which has the largest sum and return i ...
分类:
其他好文 时间:
2018-11-17 19:13:51
阅读次数:
196
随机梯度下降分类器并不是一个独立的算法,而是一系列利用随机梯度下降求解参数的算法的集合。 from sklearn.linear_model import SGDClassifier clf = SGDClassifier(loss="hinge", penalty="l2") loss funct ...
分类:
其他好文 时间:
2018-11-16 22:35:16
阅读次数:
258