Homework 6 (60 points)
Due Thursday, April 25th at 11:59pm (via blackboard)

AKA “Project” Milestone #2

In this assignment, we’re taking the raw data we obtained from HW5, and we’re building a data
model for this. This can be anything you like (for example: SQL relationships, a class hierarchy,
setting up Pandas dataframes, SQLalchemy, etc. This list is not exhaustive!) You have the
freedom to interface with your data however you’d like, but keep in mind that regardless of
how simple you think the data is, your solution will be graded on how useful, extensible,
modular and robust your solution is. Better solutions get better scores!

You are to turn in your Python code for your project so far, including the code you wrote in
HW5(i.e. this new code should integrate with the old code). You can turn in any number of
supporting files (libraries, modules, etc.) but you must follow the same format as before:

Name your script: LASTNAME_FIRSTNAME_hw6.py (you will LOSE points if you don’t do this!)

Your script should be modular in that it allows you to obtain the data from the scraper/API (as
in HW5) but also obtain it from local storage. How you implemented this (text files, CSV,
cached webpages, SQL files, Feather serialized dataframes, etc.) is up to you. There should be a
–source=remote or –source=local command line parameter (remember the lecture on args and
kwargs!)

When invoked, your Python script should grab the data (either locally or remotely) stick it into
your data model, and then retrieve it and manipulate it in some way. How you do this is up to
you; just imagine doing one of whatever computation you’ll end up doing for the final project.
For example, if your data sources were, say, lat/long combinations, a google API and voting
records, you might grab the lat/long, ask the google API for the closest city, and then get the
voting records for that city. You’d display a “result” (just one!) [You’ll save the “final”
result/conclusion for the last part of the project]

代做INF 510作业、代写Milestone留学生作业、SQL语言作业代做

In addition, you should turn in a plain text file named LASTNAME_FIRSTNAME_hw6.txt (NO
DOC, PDF, OR ANYTHING ELSE), that answers the following questions:
1. What are the strengths of your data modeling format?
2. What are the weaknesses? (Does your data model support? Sorting the information?
Re-ordering it? Only obtaining a certain subset of the information?)
3. How do you store your data on disk?
4. Let’s say you find another data source that relates to all 3 of your data sources (i.e. a
data source that relates to your existing data). How would you extend your model to
include this new data source? How would that change the interface?
5. How would you add a new attribute to your data (i.e. imagine you had a lat/long
column in a database. You might use that to access an API to get a city name. How
would you add city name to your data?)
The rubric for HW6 is as follows:
Python Code
o Code is modular and robust: /20
o Code displays a result: /5
o Remote and local source command line parameter: /5
o Code is poorly documented: -5
o Runtime error: -5
Data Model
o Question 1: /3
o Question 2: /5
o Question 3: /2
o Question 4: /10
o Question 5: /10
Due Thursday, April 25th at 11:59pm (via blackboard)

因为专业,所以值得信赖。如有需要,请加QQ:99515681 或邮箱:99515681@qq.com

微信:codinghelp

AKA “Project” Milestone的更多相关文章

  1. A Word (Or Two) On Quality

    In the world of interactive project management the promise of quality has become cliché. Quality is ...

  2. [译]脱离jQuery,使用原生Ajax

    脱离jQuery,使用原生Ajax 标签: Ajax translate 英文出处:<A Guide to Vanilla Ajax Without jQuery> 翻译: 刘健超 J.c ...

  3. [Bayesian] “我是bayesian我怕谁”系列 - Latent Variables

    下一章有意讲讲EM和变分推断的内容. EM和变分推断的内容能Google到很多,虽然质量乘次不齐,但本文也无意再赘述那么些个细节. 此处记录一些核心思想,帮助菜鸡形成整体上的认识.不过,变分推断也不是 ...

  4. The Honeynet ProjectThe Honeynet Project

    catalogue . 蜜罐基本概念 . Kippo: SSH低交互蜜罐安装.使用 . Dionaea: 低交互式蜜罐框架部署 . Thug . Amun malware honeypots . Gl ...

  5. Project Management Process

    Project Management ProcessDescription .............................................................. ...

  6. The "Real" Project Plan

    "I need a project plan by tomorrow morning." As project managers, that's what we hear. But ...

  7. A Guide to Creating a Quality Project Schedule

    Successful projects start with a good quality project schedule. Creating a schedule is one of the fi ...

  8. Pintos-斯坦福大学操作系统Project详解-Project1

    转载请注明出处. 前言:  本实验来自斯坦福大学cs140课程,只限于教学用途,以下是他们对于Pintos系统的介绍:  Pintos is a simple operating system fra ...

  9. Facebook IV Winner's Interview: 1st place, Peter Best (aka fakeplastictrees)

    Facebook IV Winner's Interview: 1st place, Peter Best (aka fakeplastictrees) Peter Best (aka fakepla ...

随机推荐

  1. ES6随笔

    let, const 这两个的用途与var类似,都是用来声明变量的,但在实际运用中他俩都有各自的特殊用途.首先来看下面这个例子: var name = 'zach' while (true) { va ...

  2. 用echarts写的multiple-trees demo

    echarts-multiple-trees 预览https://zhangzn3.github.io/echarts-multiple-trees/demo.html //根据数据条数自适应区域大小

  3. SpringMVC概述

    1. SpringMVC是什么 SpringMVC 是 Spring 框架内置的 MVC 的实现.SpringMVC 就是一个 Spring 内置的 MVC 子框架 Spring 子框架:意味着 Sp ...

  4. C语言判断水仙花数

    水仙花数 水仙花数(Narcissistic number)也被称为超完全数字不变数(pluperfect digital invariant, PPDI).自恋数.自幂数.阿姆斯壮数或阿姆斯特朗数( ...

  5. C#实现短链接生成服务

    项目中有一处需求,需要把长网址缩为短网址,把结果通过短信.微信等渠道推送给客户.刚开始直接使用网上现成的开放服务,然后在某个周末突然手痒想自己动手实现一个别具特色的长网址(文本)缩短服务. 由于以前做 ...

  6. P1169 [ZJOI2007]棋盘制作 DP悬线法

    题目描述 国际象棋是世界上最古老的博弈游戏之一,和中国的围棋.象棋以及日本的将棋同享盛名.据说国际象棋起源于易经的思想,棋盘是一个8 \times 88×8大小的黑白相间的方阵,对应八八六十四卦,黑白 ...

  7. Content Provider的启动过程

    --摘自<Android进阶解密> 第一步:query方法到AMS的调用过程 1)ApplicationContentResolver是ContextImpl中的静态内部类,继承自Cont ...

  8. PostgreSQL自学笔记:6 PostgreSQL函数

    6 PostgreSQL函数 6.2 数学函数 abs(x) 绝对值 pi() 圆周率π select abs(-3),pi(); cookie: MySQL中的pi()默认值3.141593, Po ...

  9. leetcode算法题整理

    一.线性表,如数组,单链表,双向链表 线性表.数组 U1.有序数组去重,返回新数组长度 A = [1,1,2] -> [1,2] 返回2   分析:其实一般数组的问题都可以用两个指针解决,一个指 ...

  10. 省市区地址三级联动jQuery插件Distpicker使用

    插件下载地址 http://www.jq22.com/jquery-info8054 效果如下: 使用: 1.引入js <script src="http://www.jq22.com ...