From dividing line to Support Vector Machines in Python

By Premkumar Vemula

A simple dividing line is used to make predictions on simple 2D data where we have a dependent variable and an independent variable. A line can be drawn according to the relation b.... Read More

How to reverse a string in JavaScript

By Manoj Srinivas

In this tutorial, we will learn how to reverse a string in JavaScript. Reversing a string in JavaScript Variables used in the code  str – the name of the variable where we s.... Read More

Extract speech text from video in Python

By Krushna Borse

In this tutorial, we are going to see how to Extract speech text from a video in Python. We are going to extract the audio content from the video clip. And then we will convert tha.... Read More

Convert NumPy array to list in Python

By Khushi Aswani

In this tutorial, we will be learning how to convert a NumPy array into a list in Python. It is very simple, you just need to use a basic syntax as: mylist = myarr.tolist() Steps y.... Read More

How to Overwrite a file in Python

By Anudeep Pulluri

Hey geek! in this tutorial we are going to learn how to overwrite a file in Python. There are many ways where we can Overwrite a file in Python. We are going to use some simple met.... Read More

Check the current Python version using a Python program

By Anudeep Pulluri

Hey coder! under this article, we are going to check the current Python version using a Python program. We are going to implement the code in just 2 lines, which seems interesting..... Read More

How to add multiple panels in JFrame in Java

By Subhojeet Ghosh

In this tutorial, we will learn how can we add multiple panels in JFrame in Java. Let’s discuss what’s panel is.  Panel or JPanel in Java can be defined as an invisible window.... Read More

Reshape an array in Python

By Khushi Aswani

Reshaping means changing the shape of an array. We can change the number of elements in each dimension, or we can add or remove dimensions from an array. In this tutorial, we will .... Read More