Open Dataset
Data Structure ?
300.74M
Data Structure ?
*The above analysis is the result extracted and analyzed by the system, and the specific actual data shall prevail.
README.md
文脈
私は、ニューヨーク市タクシー乗車時間予測プロジェクトでハーベルサイン距離と乗車の郵便番号の概算値を使用したいと思っています。
内容
(https://www.kaggle.com/c/nyc-taxi-trip-duration)
謝辞
Rの**geosphere**パッケージ
Rの**zipcode**パッケージ インスピレーション もしこのデータがあなたに役立つと思って、ダウンロードできない場合は、以下の数行のコードを使って同じ計算を再実行することができます。 library(data.table)
library(geosphere)
library(zipcode)
** データの読み込み **
train <- fread("train.csv")
test <- fread("test.csv")
** ハーベルサイン距離の計算 **
train[, distance := distHaversine(c(pickup_longitude, pickup_latitude), c(dropoff_longitude, dropoff_latitude)), by = id]
test[, distance := distHaversine(c(pickup_longitude, pickup_latitude), c(dropoff_longitude, dropoff_latitude)), by = id]
** 地点間のユークリッド距離を使って概算の郵便番号を割り当てる **
data("zipcode")
zipcode <- as.data.table(zipcode)
zipcode <- zipcode[state == "NY"
Rの**zipcode**パッケージ インスピレーション もしこのデータがあなたに役立つと思って、ダウンロードできない場合は、以下の数行のコードを使って同じ計算を再実行することができます。 library(data.table)
library(geosphere)
library(zipcode)
** データの読み込み **
train <- fread("train.csv")
test <- fread("test.csv")
** ハーベルサイン距離の計算 **
train[, distance := distHaversine(c(pickup_longitude, pickup_latitude), c(dropoff_longitude, dropoff_latitude)), by = id]
test[, distance := distHaversine(c(pickup_longitude, pickup_latitude), c(dropoff_longitude, dropoff_latitude)), by = id]
** 地点間のユークリッド距離を使って概算の郵便番号を割り当てる **
data("zipcode")
zipcode <- as.data.table(zipcode)
zipcode <- zipcode[state == "NY"
×
The dataset is currently being organized and other channels have been prepared for you. Please use them
The dataset is currently being organized and other channels have been prepared for you. Please use them
Note: Some data is currently being processed and cannot be directly downloaded. We kindly ask for your understanding and support.
No content available at the moment
No content available at the moment
- Share your thoughts
Go share your ideas~~
ALL
Welcome to exchange and share
Your sharing can help others better utilize data.
Data usage instructions: h1>
I. Data Source and Display Explanation:
- 1. The data originates from internet data collection or provided by service providers, and this platform offers users the ability to view and browse datasets.
- 2. This platform serves only as a basic information display for datasets, including but not limited to image, text, video, and audio file types.
- 3. Basic dataset information comes from the original data source or the information provided by the data provider. If there are discrepancies in the dataset description, please refer to the original data source or service provider's address.
II. Ownership Explanation:
- 1. All datasets on this site are copyrighted by their original publishers or data providers.
III. Data Reposting Explanation:
- 1. If you need to repost data from this site, please retain the original data source URL and related copyright notices.
IV. Infringement and Handling Explanation:
- 1. If any data on this site involves infringement, please contact us promptly, and we will arrange for the data to be taken offline.
- 1. The data originates from internet data collection or provided by service providers, and this platform offers users the ability to view and browse datasets.
- 2. This platform serves only as a basic information display for datasets, including but not limited to image, text, video, and audio file types.
- 3. Basic dataset information comes from the original data source or the information provided by the data provider. If there are discrepancies in the dataset description, please refer to the original data source or service provider's address.
- 1. All datasets on this site are copyrighted by their original publishers or data providers.
- 1. If you need to repost data from this site, please retain the original data source URL and related copyright notices.
- 1. If any data on this site involves infringement, please contact us promptly, and we will arrange for the data to be taken offline.