- 博客(6)
- 收藏
- 关注
原创 LeetCode-3. Longest Substring Without Repeating Characters
1. 问题描述 Given a string, find the length of the longest substring without repeating characters. Examples: Given "abcabcbb", the answer is "abc", which the length is 3. Given "bbbbb", the an
2017-07-27 02:04:33
224
原创 1 - Factorization Machines ( Steffen Rendle, 2010 )
Factorization Machines
2017-07-05 14:05:27
2776
原创 单例类(Java版)
1. 问题描述单例类是指一个最多只能创建一个实例(对象)的类。根据上述要求,有以下解决方案: 该类的对象只能在类中初始化,即将类的构造器用private修饰; 需要提供一个public方法供外部访问,且该方法为类方法,即用static修饰; 2. 具体实现class Singleton { private static Singleton instance; private Sing
2017-05-24 01:23:43
280
原创 LeetCode-2. Add Two Numbers
1. 问题描述 You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and
2017-04-24 17:28:15
366
原创 LeetCode-1. Two Sum
1. 问题描述 Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have exactly one solution, and you may not us
2017-04-18 21:14:08
306
原创 通过scikit-learn介绍机器学习
文章整体结构借鉴An introduction to machine learning with scikit-learn。加载示例数据集 学习与预测 模型持久化 惯例 类型转换 参数更新加载示例数据集scikit-learn内置了一些常用的标准数据集,如用于分类的iris与digits数据集以及用于回归的波士顿房价数据集。下面演示如何分别加载iris和digits数据集,在终端中输入python进
2017-04-15 11:57:18
394
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人