[kaggle]DC比赛进程2

2016-11-16  本文已影响86人  HOHOOO
teamviewer界面

打开xshell


teamviewer.gif

tips:

  1. 推荐使用编辑器或者手写记录算法或试验的操作;
  2. 有什么问题需要演示可以录制gif或者视频;

关于本次会议:

  1. 介绍个人在 算法 / 编程 / 编辑方面的能力;更愿意承担的工作;
  2. 能拿出来参与比赛的时间,中间会有什么个人的重要时间节点;
    以下为个人示例:

我对三个方面没有偏重,但鉴于大家对计算环境不太了解,我更倾向于承担编程方面的工作,当然是会参与算法的研究和迭代的;
基本每天晚上的9:30之后、周末的一部分时间、上班的闲暇之余均可以。
之前的工作与本次比赛可能用到的地方:
用户驾驶行为评分 / 用户画像分析 / GPS、G-sensor原始数据清洗校准 / 自动化数据报告。。。etc.

稍后我把一些简单的数据处理操作示例给大家录gif。

我的提案:
周六晚上前,必须完成如下任务中的一项:

  1. 两篇强相关文献,及文献解读,可借鉴地方说明;
  2. 一个可复现的案例(代码、算法可复现),并说明可借鉴地方,纽约taxi的案例也行,这方面有大量素材;
  3. 提出自己的算法文档或流程,不需要完备。

昨天简单试验

  1. 上传数据

注意:ID string,lat string,lon double,status int,stamp string

hadoop fs -mkdir /user/yyl;
hadoop fs -put /root/temp/* /user/yyl/hoho/;
#导入过程中发现缺少7、13两天数据,原因未知。

create table if not exists trip_stat_hoho (ID string,lat string,lon double,status int,stamp string ) ROW format delimited FIELDS TERMINATED BY ',' lines terminated by '\n' stored as textfile;

load data '/user/yyl/hoho/*' into table trip_stat_hoho;

load data inpath '/user/yyl/hoho/*' into table trip_stat_hoho;
"create table if not exists trip_stat_hoho1 (ID string,lat string,lon double,status int,stamp string ) ROW format delimited FIELDS TERMINATED BY ',' LOCATION '/user/yyl/hoho/user'")
sql(hiveContext,"create table if not exists trip_stat_hoho1 (ID string,lat string,lon double,status int,stamp string ) ROW format delimited FIELDS TERMINATED BY ',' LOCATION '/user/yyl/hoho/user'")
  1. 简单分析
    在spark中执行了count:
    除去一个放在dropbox的文件共43G
近十亿条数据
上一篇 下一篇

猜你喜欢

热点阅读