Select Language

Open Dataset

ニューヨーク市のタクシーの走行距離

ニューヨーク市のタクシーの走行距離

300.74M
341 hits
0 likes
6 downloads
0 discuss
Travel Classification

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"
    ×

    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.
    Points:0 Go earn points?
    • 341
    • 6
    • 0
    • collect
    • Share