Microsoft Vision ResNet 50, transfer learning to classify fruit-360 data with 98% Accuracy

Introduction

In this blog, I will be going through the Microsoft Vision model, how to achieve the transfer learning using that, and finally will move into implementation of the Microsoft Vision model for classifying fruit-360 with 98% test accuracy.

If you are interested in the script directly go to my Google Colab and you can play with it here.

For others who are interested in the full story, read the entire blog:

In practice, very few train the entire network from the scratch i.e., with random initial weights…


Slot Machine

Multi-Arm Bandits is used by many companies like Stitchfix, Netflix, Microsoft, and other big companies for recommendations. There are tons of research going on the Multi-Arm Bandits and their application to real-time problems. This article is an attempt to apply Multi-Arm bandits.

What is a Multi-Arm Bandit?

If you are visiting the casino for the first time then I am sure you will be confused about which machine to play to get the jackpot as all seem identical, Right? Let's find out is there a way to solve this problem, Multi-Arm Bandit is inspired by the same problem.

Imagine a gambler, gambling at a casino…


One of the most intresting fields of AI is Reinforcement learning, which came into popularity in 2016 when the computer AlphaGO into the light.

AlphaGo is the first computer program to defeat a professional human Go player Leo Sedol.

Credits — Peoples Daily

Before going to Trading let's define some of the important terms in Reinforcement Learning

  1. action — the mechanism by which the agent transitions between states of the environment
  2. agent — the entity that uses a policy to maximize expected return gained from transitioning between states of the environment.
  3. environment — the world that contains the agent and allows the agent to…

Introduction

In this article, we introduce what SHAP is and how it helps interpret a model. We will only be touching on the concept of SHAP and how it works. Implementation and in-depth analysis of this technique will be explained in the further articles of this series - “I’m in love with the SHAP of you”

If you didn’t know already, SHAP is a technique that generates explanations on a machine learning model. It was first presented in a paper published in 2017 by Scott Lundberg and Su-In Lee.

Given a sample and its prediction, SHAP decomposes the prediction additively between…


About EC2

Amazon EC2(Elastic Compute Cloud) provides secure, resizable compute capacity in the cloud, eliminating the need to invest in hardware.

  1. Provides on-demand, scalable compute capacity in the AWS Cloud
  2. Compute Instances are known as EC2 instances
  3. Allows various configurations of CPU, memory, storage and networking capabilities
  4. Instances can be launched in multiple regions
  5. Also referred to as IaaS (Infrastructure as a Service)
  6. Can use the EC2 Instance as an application server, a database server, or maybe as a batch-processing server

Creating an account in AWS and service recommendations

To create a new account first navigate to aws.amazon.com/free and then click Create a Free Account. …


GPU-quickened CUDA libraries empower the speeding up over numerous spaces such as linear algebra, image and video processing and deep learning.

Aim of this article is to provide easy steps to install CUDA and get it up and running for the project and other applications

Requirements for CUDA are : -

  1. A CUDA-capable GPU — Nvidia
  2. Microsoft Visual Studio
  3. NVIDIA CUDA Toolkit

Step 1

Uninstall the Nvidia driver from the control panel and restart the system.

Yes it seems odd to do it but trust me, it will help you install CUDA without any errors. …


Requirements

Basic python

Installation requirements — FastAPI and Uvicorn

pip install fastapipip install uvicorn

Snowflake Account


FastAPI Introduction

FastAPI is a modern, fast (high-performance), a web framework for building APIs with Python 3.6+ based on standard Python type hints.

Key Features

  • Fast: Very high performance, on par with NodeJS and Go
  • Fast to code: Increase the speed to develop features
  • Fewer bugs: Reduce developer errors
  • Intuitive: Great editor support and takes less time to debug
  • Robust: Get a production-ready code. With automatic interactive documentation
  • Standards: Compatible with the open standards for APIs
  • Interactive API docs: Provided by Swagger UI and ReDoc

FastAPI stands on the shoulders of giants:

So before…

Abhishek Maheshwarappa

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store