Project: Predict Sales Revenue with scikit-learn

20 個評分
4 條評論

Build simple linear regression models in Python

Apply scikit-learn and statsmodels to regression problems

Employ explorartory data analysis (EDA) with seaborn and pandas

Explain linear regression to both technical and non-technical audiences

Clock2 hours
Comment Dots英語(English) + subtitles

In this 2-hour long project-based course, you will build and evaluate a simple linear regression model using Python. You will employ the scikit-learn module for calculating the linear regression, while using pandas for data management, and seaborn for plotting. You will be working with the very popular Advertising data set to predict sales revenue based on advertising spending through mediums such as TV, radio, and newspaper. By the end of this course, you will be able to: - Explain the core ideas of linear regression to technical and non-technical audiences - Build a simple linear regression model in Python with scikit-learn - Employ Exploratory Data Analysis (EDA) to small data sets with seaborn and pandas - Evaluate a simple linear regression model using appropriate metrics This course runs on Coursera's hands-on project platform called Rhyme. On Rhyme, you will get instant access to pre-configured cloud desktops containing all of the software and data you need for the project. Everything is already set up directly in your internet browser so you can just focus on learning. For this project, you’ll get instant access to a cloud desktop with Jupyter and Python 3.7 with all the necessary libraries pre-installed. Notes: - You will be able to access the cloud desktop 5 times. However, you will be able to access instructions videos as many times as you want. - This course works best for learners who are based in the North America region. We’re currently working on providing the same experience in other regions.


Machine LearningData Visualization (DataViz)Linear RegressionExploratory Data AnalysisScikit-Learn



  1. Introduction and Overview

  2. Loading the Data and Importing Libraries

  3. Removing the Index Column

  4. Exploratory Data Analysis (EDA)

  5. Relationship between Predictors and Response

  6. Creating the Simple Linear Regression Model

  7. Evaluation and Model Parameters

  8. Making Predictions with the Model

  9. Model Evaluation Metrics






  • 購買項目後,您將獲得完成項目所需的一切內容,包括通過 Web 瀏覽器訪問云桌面工作空間,其中包含您需要了解的文件和軟件,以及特定領域的專家提供的分步視頻說明。

  • 因為您的工作空間包含適合筆記本電腦或台式計算機使用的雲桌面,所以項目不在移動設備上使用。

  • 項目講師是特定領域的專家,他們在項目的技能、工具或領域上都很有經驗,並且熱衷於分享自己的知識以影響全球數百萬的學生。

  • 您可以從項目中下載並保留您創建的任何文件。為此,您可以在訪問云桌面時使用‘文件瀏覽器’功能。

  • 項目沒有助學金。

  • 您不需要任何前期經驗即可開始項目。講師將逐步指導您完成項目。

  • 是,您可以在瀏覽器的雲桌面中獲得完成項目所需的一切。

  • 您可以通過直接在瀏覽器中的分屏環境中完成項目來進行學習。在屏幕的左側,您將在工作空間中完成任務。在屏幕的右側,您將看到有講師逐步指導您完成項目。