Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Programming Articles
Page 242 of 2544
Draw a Tic Tac Toe Board Using Python – Turtle
The wide range of libraries and tools makes python a popular and widely used programming language. One of the library which we will use in this article to complete the task of drawing a tic tac toe is Turtle. This library helps in creating graphics by using a virtual turtle. The commands are given to the virtual turtle on the window. In this article, we will use simple functions of the turtle library to draw the tic tac toe. What is Tic Tac Toe Board? Tic tac toe is a popular game, played on a 3*3 grid board. The ...
Read MoreDraw a Tree Using Arcade Library in Python
Python is a modern programming language. The wide range of features, such as extensive libraries, simple syntax etc. has increased its popularity in different fields such as web development, data science, and many more. In this article, we will be using one of the libraries of python which is Arcade. This library will help us build a tree using different structures. What is Arcade Library? The arcade library was developed for creating more appealing graphics for games and other graphical applications. Less number of choices gave rise to a different library which became a modern python module. This ...
Read MoreDraw an Arc Using Arcade in Python
Python is an extensively used programming language. The presence of wide range of libraries and tools makes it a popular language. One of the libraries of python is Arcade. This library works as a multimedia library and provides graphic tools for the creation of 2D games, objects used in graphic applications and many more. In this article, we will be drawing an arc using Arcade library in Python. We will be using two different methods for completing the task provided to us. Let’s start by understanding the basics of Arcade library. Arcade Library Arcade library was developed for ...
Read MoreUnderstanding High Leverage Point using Turicreate
Turicreate is a Python toolkit developed by Apple that allows developers to create customized machine learning models. It is an open−source package that focuses on tasks like object identification, style transfer, categorization, and regression. Compared to other libraries like scikit−learn, Turicreate provides a more accessible approach for developers. In this blog, we will explore how to use Turicreate to gain insights into high leverage points. In this blog, we will show you how to use Turicreate to acquire insights into high leverage spots. How to install Turicreate? Let's imagine you are working with a retail company's customer dataset, which ...
Read MoreTraning neural networks with vallidation using pytorch
Introduction When training a neural network in deep learning, it is important to choose the right architecture and hyperparameters. Evaluating the network's performance on unseen data during training is crucial. PyTorch provides tools for creating and training neural networks in Python. To evaluate the neural network's testing accuracy, a validation set can be introduced. Installing PyTorch Let's ensure that we have the necessary dependencies installed before training neural networks in PyTorch. Using pip or conda, PyTorch can be installed. For computer vision tasks, run the following commands to install PyTorch along with the torchvision library: "pip install torch torchvision" ...
Read MoreJoin two text columns into a single column in Pandas
Join two Text Columns Into a Single Column in Pandas: Introduction Python has a robust data analysis and manipulation module called Pandas. It offers a range of tools and strategies for handling and transforming data effectively. Combining or uniting numerous columns into one column is a common procedure when working with data. The method for joining two text columns in Pandas will be covered in this article, along with step-by-step instructions and examples. Join two Text Columns into a Single Column in Pandas Definition In Pandas, joining two text columns means combining the values from two different columns into ...
Read MoreIntroduction to PyFlux in Python
Introduction to PyFlux in Python Python's simplicity, adaptability, and large library of functions have made it a powerful language for machine learning and data analysis. One such package that offers a thorough foundation for time series analysis and forecasting is PyFlux. Data scientists and academics have grown to love PyFlux's simple syntax and extensive features. We'll delve into PyFlux's universe and examine its salient traits and skills in this essay. Due to PyFlux's wide capability, approachable interface, and smooth integration with other well-known Python libraries, it has becoming increasingly popular among data scientists and researchers. With PyFlux, you can easily ...
Read MoreJoin Pandas Dataframes matching by substring
Join Pandas Dataframes matching by substring:Introduction Data analysis must include data manipulation, which frequently entails combining or merging databases. An effective set of tools for working with structured data is provided by the well-known Python module Pandas, which also includes merging dataframes. We shall examine the subject of connecting pandas dataframes using substrings in this article. Following a brief introduction to dataframe joining, we will go over two different ways with examples, executable code, and associated outputs, as well as a simple step-by-step algorithm. We'll finish up with a recap of the ideas we covered. Pandas Dataframes Definition The ...
Read MoreHow to Pair Elements with Rear elements in Matrix Row Using Python?
In some scenarios of programming, you might have faced a time where you need to pair each element of matrices in a row with the rear element, in other words the element which appears immediately after the number. So, in this article we will be looking at some methods and examples to pair the elements according to the conditions. Matrix These are powerful data structures used to represent collections of elements organized in rows and columns. Like matrix having n row and m column will be called as n * m matrix. Here are some methods which we can perform ...
Read MoreHow to Remove Salt and Pepper Noise from Image Using MATLAB?
MATLAB is a digital tool that is widely used in image processing, such as image transformation, noise removal from an image, detecting edges, and more. In this tutorial, I will explain how you can remove salt and pepper noise from a digital image using MATLAB. In a digital image, the "salt and pepper noise" is a type of impulse noise that degrade the image quality and cause errors in image processing, analysis, and transmission. Therefore, it is important to remove the salt and pepper noise from the image to minimize the challenges coming to image processing and analysis. Before ...
Read More