Convert all characters of string to Uppercase in Python

By Aditi Deo

This tutorial will help you to understand the different ways of converting all characters of a string to Uppercase in Python. We shall convert the string to Uppercase by using in-b.... Read More

Plot decision boundary in Logistic regression in Python

By Deepanshu Dashora

Introduction: Whenever we plot a graph of a machine learning model, we can see there are multiple classes available. The decision boundary divides these classes with a line and tha.... Read More

Remove empty elements from an array in C++

By Gagan Gupta

In this tutorial, we will learn to write the code on how to remove empty elements from an array in C++ programming. CODE #include <bits/stdc++.h> using namespace std; string .... Read More

Give a warning for invalid input in C++

By Raghav Khandelwal

In this tutorial, we are going to learn how to give a warning when the user enters invalid input. In C++ while writing programs we use std::cin to ask the user to enter the input. .... Read More

Check if a given number exists in an array in C++

By Gagan Gupta

In this tutorial, we will learn how to check whether a given number is present in an array in C++. #include<iostream> using namespace std; int main() { int array[6]={1,2,3,4,.... Read More

Pick a random card from a deck of cards in C++

By Gagan Gupta

In this tutorial, we will learn to write code to pick a random card from a deck of cards in c++ #include <iostream> #include <cstdlib> //for rand and srand #include <.... Read More

Print deck of cards in C++

By Gagan Gupta

In this experiment, we will learn how to print the deck of cards in C++ language. #include<iostream> #include<string> using namespace std; int main(){ std::string cards.... Read More

Classifying Threat using Extra Tree Classifier

By Sanskar

Extra Tree Classifier is a type of machine learning algorithm which is closely related to the decision tree algorithm. It collects the result of various decision trees into a fores.... Read More

Related Posts