Python Programming

ESP8266 NodeMCU

Glowing LED Using MicroPython on ESP8266 Board

Glowing LED Using MicroPython on ESP8266 Board This is a simple project in which I will glow an LED on esp8266 board  using MircoPython. To start is first of all you need to install Thonny  editor on your system. Download Thonny You can download it form the below link. https://thonny.org/ Therefore, download firmware for esp8266 […]

Glowing LED Using MicroPython on ESP8266 Board Read More »

Pandas Series Functions min(), max(), mean(), median() and mode()

Panda’s Series- In the last post, I explained how to create a panda’s series. Further,  a pandas series has a lot of   you often need to analyze, visualize and clean data.  In this post, I will be explaining min(), max(), mean(), median(), and mode functions. min() Function- import pandas as pd lst=[2, 4, 6, 8,

Pandas Series Functions min(), max(), mean(), median() and mode() Read More »

K-Means-Clustering

K-Means Clustering Algorithm in Machine Learning

K-Means clustering is an unsupervised   machine learning algorithm which partitions n instances into k clusters by similarity. As K-Means clustering is an unsupervised learning algorithm, therefore instances will not have labels. As  K-Means clustering  is an unsupervised learning algorithm, training instances will not have labels. Furthermore, to make you understand K-Means clustering algorithm, I will

K-Means Clustering Algorithm in Machine Learning Read More »

Object-Oriented-Python

Mathematical Operations in Python using Object-Oriented Programming in Python

Python is an object-oriented language and a class can have properties and methods. In this post, I will create a simple class having a constructor __init__() and four methods namely mysum(), mymul(), mydiv() and mysub(). Moreover, they compute addition of two numbers, multiplication of two numbers, division of a number by another and subtraction  of

Mathematical Operations in Python using Object-Oriented Programming in Python Read More »

K-Nearest Neighbors

K-Nearest Neighbors Algorithm in Python

K-nearest neighbors algorithm is a machine learning algorithm which is used for classification and regression, and it can be applied where other machine learning algorithms are applied. See the typical problem setting , Suppose (x1, y1), (x2, y2), (x3, y3), ……………….(xn, yn) pairs in which x’s are attributes and y’s are labels, suppose another instance

K-Nearest Neighbors Algorithm in Python Read More »

©Postnetwork-All rights reserved.