官术网_书友最值得收藏!

Consuming Location Data Like a Data Scientist

Location comes in different forms, but what if it comes in a simple structured data format and we overlooked it all this time? Most machine learning algorithms, such as random forests, are geared toward creating insights from structured data in tabular form. In this chapter, we will discuss how to leverage spatial data that is masquerading as tabular data and apply machine learning techniques to it as any data scientist would. For this chapter, we will be using New York taxi trip data to predict trip duration for any given New York taxi trip. We are choosing this dataset because of the following reasons:

  • Predicting trip duration has the right mix of geospatial analytics and machine learning
  • Finding the time it takes to travel from point A to point B is a routing problem, which will be dealt with in Chapter 6, Let's Build a Routing Engine, and so this chapter is a perfect introduction

We will be using a library known as fastai, an amazing Python library built around popular machine learning libraries such as scikit-learn and PyTorch. In this chapter, we will be discussing the following topics:

  • Exploratory data analysis
  • Processing spatial data
  • Understanding and inferring the error metric
  • Building and inferencing a random forest model
主站蜘蛛池模板: 深泽县| 当阳市| 化州市| 高唐县| 广东省| 贵德县| 昌图县| 漳浦县| 东安县| 恩施市| 重庆市| 青铜峡市| 噶尔县| 正安县| 南丹县| 利川市| 玉树县| 诏安县| 承德市| 久治县| 茂名市| 泾川县| 清丰县| 鄂伦春自治旗| 三明市| 剑阁县| 丰城市| 台江县| 甘南县| 茂名市| 凤冈县| 兴山县| 新兴县| 曲靖市| 新疆| 永宁县| 龙里县| 通渭县| 北川| 武川县| 公主岭市|