forked from GoogleCloudPlatform/public-datasets-pipelines
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: SF 311 Calls - Predicting the number of calls per category usin…
…g LSTM (GoogleCloudPlatform#293)
- Loading branch information
1 parent
dfda5d9
commit 88637ca
Showing
8 changed files
with
1,236 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
## Overview | ||
This data includes all San Francisco 311 service requests from July 2008 to the present, | ||
and is updated daily. | ||
311 is a non-emergency number that provides access to non-emergency municipal services. | ||
|
||
This public dataset is hosted in Google BigQuery and is included in BigQuery's 1TB/mo | ||
of free tier processing. This means that each user receives 1TB of free BigQuery | ||
processing every month, which can be used to run queries on this public dataset. | ||
|
||
## Dataset Details | ||
|
||
| Attribute | Value | | ||
|---------------------------|---------------| | ||
| Dataset Type | Tabular | | ||
| Category | Public safety | | ||
| Dataset source | DataSF | | ||
| Cloud service | BigQuery | | ||
| Expected update frequency | Daily | | ||
|
||
## Main Columns | ||
This dataset has over 20 columns. Here are some of the main columns in the dataset: | ||
|
||
| Column | Type | Description | | ||
|--------------|-----------|-------------------------------------------------------------------| | ||
| created_date | TIMESTAMP | The time and date of when the entry was added to the table | | ||
| closed_date | TIMESTAMP | The time and date of when the status was changed to `Closed` | | ||
| status | STRING | Either `Open` or `Closed` | | ||
| category | STRING | The call category, e.g. `Abandoned Vehicle` or `Tree Maintenance` | | ||
| neighborhood | STRING | The the neighborhood name for the incident | | ||
| latitude | FLOAT | The latitude for the incident | | ||
| longitude | FLOAT | The longitude for the incident | | ||
|
||
|
||
## Terms of Service | ||
This dataset is publicly available for anyone to use under the following terms | ||
provided by the Dataset Source - http://sfgov.org/ - and is provided "AS IS" | ||
without any warranty, express or implied, from Google. Google disclaims all | ||
liability for any damages, direct or indirect, resulting from the use of the dataset. |
23 changes: 23 additions & 0 deletions
23
datasets/san_francisco_311/docs/tutorials/predict_weekly_calls/artifact.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Copyright 2021 Google LLC | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
artifact: | ||
title: "Predicting the Weekly 311 Calls in San Francisco" | ||
description: "Train a LSTM model to predict the number of 311 calls in San Francisco based on the call category." | ||
tags: | ||
- ml:forecasting | ||
- ml:lstm | ||
- libraries:tensorflow | ||
- vertical:government | ||
- tier:free |
Oops, something went wrong.