Posts

Showing posts with the label Python

Plotly & Cufflinks | A Data Visualisation Library with Modern Features | Python | Data Science | Data Visualisation

Image
Plotly & Cufflinks | A Data Visualisation Library with Modern Features | Python | Data Science | Data Visualisation Plotly Plotly gives you lots of interactive and dynamic data visualisation & UI tools for data science, Machine Learning & Engineering. It has some great features which we will discuss in this post. So, be ready for the tutorial. Installation Guide on your Machine: For Plotly put this on your terminal and run. pip install plotly or conda install -c plotly plotly Cufflinks For using Plotly library we have to configure it with the pandas, so the cufflinks library giver us a privilege to do it. Because the Plotly is built on the top of d3.js . Installation Guide on your Machine: For cufflinks put this on your terminal and run. pip install cufflinks or conda install -c conda-forge cufflinks-py Let's begin... Import all the Libraries needed. import pandas as pd import numpy as np import cufflinks as cf from plotly.offline import download_plotlyjs,init_notebook_...

Simple and Multiple Linear regression in just 10 lines of code | Python | SciKit Lib | Machine Learning | Sklearn

Image
Simple and Multiple Linear regression in just 10 lines of code | Python | SciKit Lib | Machine Learning | Sklearn 10-20 years ago, machine learning, data science or artificial intelligence were not a topic which was needed to be added in our daily talk. But today we have lots of data collected, then it is becoming in the limelight and already taken lots of space in the IT Industry as well. So, when we have lots of data then we can use it to predict the future context which can take place in coming time. Or even we can use these data to let the machine learn that, how a human works. So, the machine can take part in humans daily routine. With the help of machine learning, we can do such things and transform the way of living for humans, where the machine will work for humans. In this post, we will learn machine learning algorithms, which is currently in use for prediction by the top IT companies and top businesses already.  Linear regression is the algorithm which major business uses...

A Quick Guide to Data pre-processing for Machine Learning | Python | IMPUTATION | STANDARDISATION | Data Analysis | Data Science

Image
Data Pre-processing | Imputation | Standardisation | Rescaling | Python Before feeding your data to the machines you have to prepare this data before inserting it into your Machine Learning Algorithm. Quality of your data has to be good, it doesn't contain null values or out of the constraint values. Because the quality of your data is directly related to the quality of training of your model. For more info about Data-preprocessing's need and requirements,  Click Here. Photo by  Mika Baumeister  on  Unsplash 1. Imputation Imputation's simply meant the "change", this process will help you to change the missing value from your table. There are lots of algorithms which can't deal with the null values and might give you errors or badly trained model. Let's have a look at the data below, this data is about the salary of several domains... THE DATASET This data has some null values, which is unbearable by the machine learning ...

Python Language | Why Python? | Learn Python | Python Tutorial

Image
Python Language | Why Python? | Learn Python | Python Tutorial Python is an interpreted, high-level, general-purpose programming language. It was made by Guido van Rossum and first released in 1991. It was made for a purpose to increase code readability. Python and are managed by the non-profit Python Software Foundation. So, it is an open source language anyone can get access to it for free. It has a large community so if you have any doubt or any technical issue then you can inform it to the thousands of members in the community. It is available for all types of OS  like Windows, MAC, and Linux etc. It is widely used for the purpose of machine learning, deep learning, data science, artificial intelligence computer graphics, and computer vision. There are so many reasons to learn this language because it is very simple and easy to learn due to its code readability. In python to print “Hello World!” you have to write only a single line code. But in case of any other lan...