- Deep Learning By Example
- Ahmed Menshawy
- 117字
- 2021-06-24 18:52:41
Understanding the advertising data
This problem falls into the supervised learning type, in which we have explanatory features (input variables) and the response (output variable).
What are the features/input variables?
- TV: Advertising dollars spent on TV for a single product in a given market (in thousands of dollars)
- Radio: Advertising dollars spent on radio
- Newspaper: Advertising dollars spent on newspapers
What is the response/outcome/output variable?
- Sales: The sales of a single product in a given market (in thousands of widgets)
We can also use the DataFrame method shape to know the number of samples/observations in our data:
# print the shape of the DataFrame
advertising_data.shape
Output:
(200, 4)
So, there are 200 observations in the advertising data.
推薦閱讀
- R Data Mining
- 網頁編程技術
- Google App Inventor
- Apache Superset Quick Start Guide
- 基于神經網絡的監督和半監督學習方法與遙感圖像智能解譯
- 中國戰略性新興產業研究與發展·增材制造
- Applied Data Visualization with R and ggplot2
- R Machine Learning Projects
- Visual C++項目開發案例精粹
- 筆記本電腦電路分析與故障診斷
- TensorFlow Deep Learning Projects
- AVR單片機工程師是怎樣煉成的
- Xilinx FPGA高級設計及應用
- 智能+:制造業的智能化轉型
- 從機器學習到無人駕駛