Machine Learning Tips

Learn what's and why's of CSRF protection with a real-world example.

Image for post
Image for post
Photo by Katarzyna Pe on Unsplash

So you have trained your ML/DL model and now thinking to deploy it on the cloud. One of most preferred way is to wrap your model in a Flask app and serve it using a REST API. But hold on, let’s add some security to your app. I’ll be briefly explaining the code with the help of a real-world example and also why its important consider the security aspects of your app. I’ll try to be as straight forward as I can with the implementation part. …


Image for post
Image for post
Photo by SquareSpace

Introduction

What is customer churn?

Customer churn is the percentage of customers that stopped using your company’s product or service during a certain time frame. You can ascertain churn rate by dividing the number of customers you lost during that timespan — say a quarter — by the number of customers you had toward the start of that timeframe.

For instance, you begin your quarter with 400 customers and end with 380, your churn rate is 5% in light of the fact that you lost 5% of your clients.

Why is the churn rate important?

You may be wondering why it’s necessary to calculate churn rate. Naturally, you’re going to lose some customers here and there, and 5% doesn’t sound too bad, right? …


Image for post
Image for post
Photo by Sharon McCutcheon on Unsplash

Each year since 2011, Stack Overflow has asked developers about their favorite technologies, coding habits, and work preferences, as well as how they learn, share and level up. Around 64,000 developers took an annual survey in January 2017. The dataset is public and can be downloaded from here.

Introduction

Stack OverFlow has done a tremendous job in uncovering the hidden facts under the data of over 64,000 developers around the globe for the year 2017. However, I figured out some serious objectives that might help you to better understand the industry.

Objectives

  • How education may influence the salary?
  • Gender Ratio of developers across the globe
  • The rate of increase in salary with the years of experience
  • More Languages = More Money?

How education may influence the salary?

The primary/elementary school graduates make an average salary of $62677 whereas Bachelor’s Degree holder make $56914. The essential explanation for the reality could be the disturbing proportion of dropouts from schools. …

About

Rohit Swami

Ex-Data Science Intern @ InterviewBit | Machine Learning | Deep Learning | Open Source Contributor

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