A guide to knowing if BlueHost is the right fit for your hosting needs.

With the online business blooming during this pandemic, websites play an important role so as to reach the target audience. It is one of the most crucial elements that help in branding and creating a strong online presence.

Creating an attractive website is just one part, it is equally important to host the website through a provider which is reliable and suits one’s needs.

Photo by Glenn Carstens-Peters on Unsplash

In this article, I will walk you through the features, pricing and things to watch out for while considering BlueHost as the provider.

Explore the world of hosting by signing up on BlueHost!

BlueHost is the…

A guide to learning about and implementing recommender systems in Python

Person watching Netflix
Person watching Netflix
Photo by Alin Surdu on Unsplash.

What Is a Recommender System?

Recommender systems predict a user’s future choices/preferences and recommend products/items they might be interested in.

What Are the Types of Recommender Systems?

The two most common types are:

  1. Content-based recommender systems
  2. Collaborative filtering

What Is a Content-Based Recommender System?

This kind of system gives recommendations based on the knowledge of a user’s attitude towards a product. It works on the logic that if users have agreed upon something in the past, then they will do so in the future as well.

What Is Collaborative Filtering?

This kind of system looks into the attributes of the items and gives recommendations based on the similarity between them. It works on the logic of recommending similar products to what the…

A guide to knowing and understanding PCA using Python.

Photo by Franki Chamaki on Unsplash

What is Principal component analysis?

The principal component analysis is an unsupervised learning technique abbreviated as PCA. It is also called general factor analysis. It is used to study the interrelations among a set of variables so as to figure out the underlying structure of those variables. It is used to analyze data.

How does it work?

PCA produces several orthogonal lines which fit the data well. Orthogonal lines are the lines perpendicular to each other in the n-dimensional space. So if a regression line is created, then a line perpendicular to this line will be the orthogonal line. Now the concept of components comes into the picture. Components…

Computer Vision

A guide to understanding and implementing SVMs in Python.

Photo by National Cancer Institute on Unsplash

What is a support vector machine?

Support vector machines abbreviated as SVMs is a supervised learning algorithm used for classification tasks as well as regression analysis. It analyzes data and recognizes patterns. In this article, SVM will be demonstrated for a classification problem.

Why is SVM a non-probabilistic binary linear classifier?

For a set of data points with two class labels, the SVM algorithm builds a model that assigns any new data point to one of the classes thereby making it a non-probabilistic binary linear classifier.

How does SVM work?

SVM represents all the data points in space in such a way that there is a clear wide gap between the examples of separate classes. …

Machine Learning

A guide to understanding and implementing the K-means algorithm using Python.

Source: Author

What is the K-Means clustering algorithm?

The K-Means clustering algorithm is an unsupervised learning algorithm meaning that it has no target labels. This algorithm groups the similar clusters together.

Where is clustering used in the real world?

The various applications of the clustering algorithm are:

  1. Market segmentation
  2. Grouping of customers based on features
  3. Clustering of similar documents

How does the algorithm work?

The algorithm follows the given steps:

  1. Choose a number of clusters “K”.
  2. Then each point in the data is randomly assigned to a cluster.
  3. Repeat the next steps until clusters stop changing:

a) Calculate the centroid of the cluster by making the mean vector of points in the cluster, for each cluster.

b) Assign each data point…

Machine Learning

A guide to knowing and implementing the KNN algorithm.

Photo by Annie Spratt on Unsplash

What is the KNN algorithm?

It is an algorithm used for classification tasks and works on a very simple principle.

How does it work?

The KNN algorithm is very basic. The training algorithm stores all the data. And the predicting algorithm calculates the distance of a data point to all points in the data, sorts the points in the increasing order of distance from the data point and then predicts the majority label of the ‘k’ closest points.

What are the advantages of this algorithm?

  1. It is very simple and easy to understand and implement.
  2. It used only 2 parameters: k and distance metric.
  3. It can classify any number of classes.
  4. The training step is very…

Data Science

A guide to understanding and implementing linear regression.

Source: Author

What is the history of linear regression?

In the 1800s, a person named Francis Galton was studying the relationship between parents and children by looking into the correlation between the heights of the fathers and their sons. He identified that a father’s son is likely to be as tall as his father. But the main discovery was that the son's height is likely to be close to the overall average height of all people.

So for example, if there is a father of height 7 feet then there are chances that his son will be pretty fall too. But since being 7 feet is very rare and…

Data Visualization, Programming

A guide to knowing about CAPM and implementing it in Python.

Photo by Maxim Hopman (Unsplash)

What is CAPM?

The capital asset pricing model (CAPM) is very widely used and is considered to be a very fundamental concept in investing. It determines the link between the risk and expected return of assets, in particular stocks.

What is the CAPM equation?

The CAPM is defined by the following formula:

Data Analysis, Programming

A guide to knowing about portfolio optimization and implementing it through the Python language.

Photo by Scott Graham (Unsplash)

What is portfolio optimization?

Portfolio optimization is the process of choosing the best portfolio among the set of all portfolios.

How is portfolio optimization done?

The naive way is to select a group of random allocations and figure out which one has the best Sharpe Ratio. This is known as the Monte Carlo Simulation where randomly a weight is assigned to each security in the portfolio and then the mean daily return and standard deviation of daily return is calculated. This helps in calculating the Sharpe Ratio for randomly selected allocations.

To know more about Sharpe Ratio, check out my previous article:

But the naive way is time taking…


A guide to knowing about portfolio allocation and implementing it through the Python language.

Photo by Clay Banks (Unsplash)

What is a portfolio?

A collection of financial investments is a portfolio. The financial investments can be cash, stocks, bonds, commodities and any other cash equivalents.

What is portfolio allocation?

An investment strategy where the risk and reward are balanced of the portfolio’s assets according to the user’s investment goals, tolerance of risk and investment horizon is called portfolio allocation.

How to implement using python?

→ Import packages

The basic packages like Pandas will be imported. Along with it, the Quandl package is imported to get the data.

>>> import pandas as pd
>>> import quandl
>>> import matplotlib.pyplot as plt
>>> %matplotlib inline

→ Data

The start and end date is decided…

Jayashree domala

Self-driven woman who wishes to deliver creative and engaging ideas and solutions in the field of technology.

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