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

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.

主站蜘蛛池模板: 桑植县| 西峡县| 彭泽县| 萍乡市| 景谷| 龙州县| 西林县| 上杭县| 大宁县| 惠来县| 南陵县| 福建省| 波密县| 琼结县| 区。| 贞丰县| 德兴市| 遵化市| 噶尔县| 缙云县| 苏州市| 太仆寺旗| 本溪市| 娱乐| 宣城市| 阳东县| 牡丹江市| 荔波县| 沂南县| 大港区| 盐源县| 固阳县| 柘荣县| 浦北县| 醴陵市| 东丽区| 永康市| 永仁县| 武川县| 江永县| 麟游县|