Machine Learning — Week 1

Raghavendra Hiremath
2 min readMay 9, 2020

--

I really love to learn what machine learning is, and what we can accomplish from it.

I started reading books, Youtube, Google and many online course. You know what? I’m very fascinated with the term.

Today I’m trying to write simple machine learning program using Python, A classifier model (classification model — “Predicts discrete values”, example: A given image or an object in an image is what is expect or not). We also have regression model — We will discuss this later.

First, download required ingredients:

  1. https://scikit-learn.org/stable/install.html
  2. Open Command Prompt, and make sure PIP is installed on your machine.
  3. Enter the following command: pip install -U scikit-learn
  4. After your hit enter, you will notice the download and installation progress bar.
  5. If you are using any IDE or Anaconda, it knows how to get it integrated.
  6. Verify scikit is working as expected

Launch your favourite editor/Python and check to see if scikit is installed successfully.

I was able to nail it! I believe you too will :-) It just looks like this

No error, so all good.

Or you can use Google Colab to write code

Result is 1

Yes, you saw it right, it’s an Apple [1] .. Explanation in next day — 2

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Raghavendra Hiremath
Raghavendra Hiremath

Written by Raghavendra Hiremath

WE BELIEVE IN FREE AND OPEN SOURCE. My mission is to constantly learn and share the knowledge I gain so that you can use it to empower you.

No responses yet

Write a response