HTML (Hypertext Markup Language) is the code that defines how a web page and its content are organised. Content may be arranged using a sequence of paragraphs, a list of bulleted points, or photographs and data tables, for example.

Python’s Flask API helps us to create web applications. A Web-Application Framework is a collection of modules and libraries that allow programmers to build applications without having to write low-level code including protocols and thread management.

We’ll look at how to use flask to render a HTML template below.


An activation function plays a vital role in neural networks. It is also called a transfer function. Its aim is to introduce non-linear transformation to learn the complex underlying patterns in the data. It should be differentiable as well as should follow computational inexpensiveness. And its output needs to be zero centered so that it would help in the calculated gradients to be in the same direction and shifting across.

The activation function is represented as f(x) where x=(input*weights)+bias. Now, let’s look into commonly used activation function.

Sigmoid Function

The sigmoid function can be defined as

Ankita Choudhury

Data Science Enthusiast

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