- 博客(10)
- 资源 (13)
- 收藏
- 关注
原创 缺失值处理方法
一、缺失值产生的原因缺失值的产生的原因多种多样,主要分为机械原因和人为原因。机械原因是由于机械原因导致的数据收集或保存的失败造成的数据缺失,比如数据存储的失败,存储器损坏,机械故障导致某段时间数据未能收集(对于定时数据采集而言)。人为原因是由于人的主观失误、历史局限或有意隐瞒造成的数据缺失,比如,在市场调查中被访人拒绝透露相关问题的答案,或者回答的问题是无效的,数据录入人员失误漏录了数据。
2016-03-28 20:09:53 2730
原创 logistic回归
逻辑斯谛回归模型逻辑斯谛分布首先介绍逻辑斯谛分布,该分布的定义是设X是连续随机变量,X服从逻辑斯谛分布是指X服从如下分布函数和密度函数:其中,为位置参数,> 0 为形状参数。可以通过其图像观察:右边的逻辑斯蒂分布函数以点中心对称,即满足:形状参数越小,曲线在中心的增长速度越快。二项逻辑斯蒂回归模型
2016-03-28 19:15:36 2122
原创 线性回归
1.线性回归模型"回归"的由来Francis Galton,英国生物学家,他研究了父母身高与子女身高之间关系后得出,若父母身高高于平均大众身高,则其子女身高倾向于倒退生长,即会比其父母身高矮一些而更接近于大众平均身高。若父母身高小于平均身高,则其子女身高倾向于向上生长,以更接近于大众平均身高。此现象,被Galton称之为回归现象,即regression.什么是线性回归?这里
2016-03-28 19:12:15 1837 1
原创 Linked List Cycle II
问题描述:Given a linked list, return the node where the cycle begins. If there is no cycle, return null.Note: Do not modify the linked list.Follow up:Can you solve it without using extra s
2016-03-14 21:41:43 373
原创 Linked List Cycle
问题描述:Given a linked list, determine if it has a cycle in it.Follow up:Can you solve it without using extra space?代码实现:/** * Definition for singly-linked list. * class ListNode { *
2016-03-14 21:38:46 283
原创 最大差值(美团校招真题)
题目描述有一个长为n的数组A,求满足0≤a≤b给定数组A及它的大小n,请返回最大差值。测试样例:[10,5],2返回:0实现代码:import java.util.*;public class LongestDistance { public int getDis(int[] A, int n) { int len=A
2016-03-14 19:32:44 472
原创 Search in Rotated Sorted Array II
问题描述:Follow up for "Search in Rotated Sorted Array":What if duplicates are allowed?Would this affect the run-time complexity? How and why?Write a function to determine if a given targe
2016-03-06 20:50:49 312
原创 Search in Rotated Sorted Array
Suppose a sorted array is rotated at some pivot unknown to you beforehand.(i.e., 0 1 2 4 5 6 7 might become 4 5 6 7 0 1 2).You are given a target value to search. If found in the array retur
2016-03-06 20:45:06 284
原创 Remove Duplicates from Sorted Array II
Follow up for "Remove Duplicates":What if duplicates are allowed at most twice?For example,Given sorted array nums = [1,1,1,2,2,3],Your function should return length = 5, with the firs
2016-03-06 20:06:50 288
原创 Remove Duplicates from Sorted Array
问题描述:Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length.Do not allocate extra space for another array, you must do this in p
2016-03-06 19:33:00 286
ggplot2手册
2015-10-12
Machine Learning with R
2015-08-04
基于代价的oracle优化
2015-06-25
hadoop权威指南
2015-03-19
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人