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

Data ingestion and storage

The first step in our machine learning pipeline will be taking in the data that we require for training our models. Like many other businesses, MovieStream's data is typically generated by user activity, other systems (this is commonly referred to as machine-generated data), and external sources (for example, the time of day and weather during a particular user's visit to the site).

This data can be ingested in various ways, for example, gathering user activity data from the browser and mobile application event logs or accessing external web APIs to collect data on geolocation or weather.

Once the collection mechanisms are in place, the data usually needs to be stored. This includes the raw data, data resulting from intermediate processing, and final model results to be used in production.

Data storage can be complex and involve a wide variety of systems, including HDFS, Amazon S3, and other filesystems; SQL databases such as MySQL or PostgreSQL; distributed NoSQL data stores such as HBase, Cassandra, and DynamoDB; and search engines such as Solr or Elasticsearch to stream data systems such as Kafka, Flume, or Amazon Kinesis.

For the purposes of this book, we will assume that the relevant data is available to us, so we will focus on the processing and modeling steps in the following pipeline.

主站蜘蛛池模板: 凌云县| 区。| 三明市| 合山市| 巴东县| 区。| 广宁县| 吉首市| 龙川县| 远安县| 墨脱县| 平安县| 迭部县| 噶尔县| 灌阳县| 阳东县| 昌乐县| 乌拉特后旗| 华亭县| 神农架林区| 金堂县| 莫力| 江津市| 安国市| 宜宾市| 榆树市| 永德县| 巨野县| 马公市| 弋阳县| 枣阳市| 高要市| 江北区| 政和县| 聂荣县| 永寿县| 临海市| 新余市| 浦北县| 开远市| 龙门县|