Lesson 1 - Linear Regression with Scikit Learn

:arrow_forward: Lecture Video is available on the course page :point_up_2:

Topics Covered:

  • Preparing data for machine learning
  • Linear regression with multiple features
  • Generating predictions and evaluating models

:spiral_notepad: Notebooks used in this lesson:


:writing_hand: Please provide your valuable feedback on this link to help us improve the course experience.

:computer: Join the Jovian Discord Server to interact with the course team, share resources and attend the study hours :point_right: Jovian Discord Server


:question: Asking/Answering Questions

Reply to this thread to ask questions. Before asking, scroll through the thread and check if your question (or a similar one) is already present. If yes, just like it. We will give priority to the questions with the most likes. The rest will be answered by our mentors or the community. If you see a question you know the answer to, please post your answer as a reply to that question. Let’s help each other learn!

4 Likes

I have a question. I’d greatly appreciate an answer. How different is this course from Zero to GANS in terms of what the student will have become capable of doing after completing the course?

Hey @biraj-aryal, welcome to the community and welcome to the course.
This course is on Machine Learning, while Zero to GANS was on Deep Learning. You can think of Deep Learning as the next step after learning Machine Learning, but at the end of the day basics are important.
To know more about Machine Learning and Deep Learning follow the link below.

Do check the course FAQ page to get more details on the course.

1 Like

Hi, I see that in the notebook (python-sklearn-linear-regressin.ipynb) we do a pip install of pandas (via !pip install pandas --quiet). Is this necessary? In my experience colab doesn’t need pandas to be installed and it should already be able to run “import pandas as pd” on its own.

1 Like

Please include the csv file, the github repository mentioned does not have a file named medical.csv, and the raw data is not getting downloaded.

@waheed-m-akram
No, it is not necessary

1 Like

Thank you. Curious as to why they did it though.

hi, i have now on my first lesson. and is the task would be do all the setups such as jupypter after this class?

and may I know how long is this class>? is 2 hr or 4 hrs per weekend?

Hey, Welcome to the course, we have one class per which is 2hrs long. Yes, you can do all the setup and run the code after the class is over you can just focus on the lecture for now.

ah ok. thank you. i was going little clueless as to whats going on. i was thinking it as interactive.
ok fine.

1 Like

I’m not able to see any graph when I’m executing the code

The code can be run anywhere so it is just for assurance, you can comment the cell out if Pandas is already installed in your environment.

What do we have to submit and where do I have to submit my assignment?

Information on assignments and how to submit them will be shared in later lectures.

Here’s a link to the CSV file:
https://raw.githubusercontent.com/JovianML/opendatasets/master/data/medical-charges.csv

2 Likes

Guessing it is a library version issue, see if this fixes the issue, Plotly plots are blank on mybinder startup? - #5 by drscotthawley - repo help - Jupyter Community Forum

You can also run the code in google colab instead of binder, probably the graphs will be visible on google colab.

1 Like

Try running the cell, that should show up the graphs.

In the repository, it is named insurance.csv

2 posts were split to a new topic: What is the importance of R^2 value? Do we need to remove outliners to get good correlation?

for those students who are fresher and they have not so hand in python so if they complete the course with little late. is that ok with the certification and the course.

1 Like