title
stringlengths
3
221
text
stringlengths
17
477k
parsed
listlengths
0
3.17k
Introduction to Yellowbrick: A Python Library to Visualize the Prediction of your Machine Learning Model | by Khuyen Tran | Towards Data Science
Congratulation! You have just trained a model and improved your f1-score to 98%! But what does it really mean? Will the increase in the f1 score indicate that your model is performing better? You know f1-score is the harmonic between recall and precision, but how many of them are false among the positive predictions? A...
[ { "code": null, "e": 363, "s": 171, "text": "Congratulation! You have just trained a model and improved your f1-score to 98%! But what does it really mean? Will the increase in the f1 score indicate that your model is performing better?" }, { "code": null, "e": 553, "s": 363, "te...
Airplanes Detection for Satellite using Faster RCNN | by Shubhankar Rawat | Towards Data Science
Object detection is a computer technology related to computer vision and image processing that deals with detecting instances of semantic objects of a certain class (such as humans, buildings, or cars) in digital images and videos. Object detection is one of those fields that have witnessed great success.It is used in ...
[ { "code": null, "e": 404, "s": 172, "text": "Object detection is a computer technology related to computer vision and image processing that deals with detecting instances of semantic objects of a certain class (such as humans, buildings, or cars) in digital images and videos." }, { "code": n...
Grouped, stacked and percent stacked barplot in ggplot2 - GeeksforGeeks
01 Apr, 2021 The ggplot is a library used for generating graphs in R language. We provide the data and specify the aesthetics as to how the specified data should be mapped. It is a very powerful library and widely used to generate comprehensive graphs and plots. It is used for creating graphics based on the “Grammar of...
[ { "code": null, "e": 25242, "s": 25214, "text": "\n01 Apr, 2021" }, { "code": null, "e": 25561, "s": 25242, "text": "The ggplot is a library used for generating graphs in R language. We provide the data and specify the aesthetics as to how the specified data should be mapped. It ...
Group List of Dictionary Data by Particular Key in Python - GeeksforGeeks
17 Aug, 2020 Group List of Dictionary Data by Particular Key in Python can be done using itertools.groupby() method. This method calculates the keys for each element present in iterable. It returns key and iterable of grouped items. Syntax: itertools.groupby(iterable, key_func) Parameters: iterable: Iterable can be of ...
[ { "code": null, "e": 24685, "s": 24657, "text": "\n17 Aug, 2020" }, { "code": null, "e": 24789, "s": 24685, "text": "Group List of Dictionary Data by Particular Key in Python can be done using itertools.groupby() method." }, { "code": null, "e": 24905, "s": 24789,...
How to get volley array list with custom object in android?
This example demonstrate about How to get volley array list with custom object in android. Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project. Step 2 − Add the following code to res/layout/activity_main.xml. <?xml version="1.0" encoding="utf-8...
[ { "code": null, "e": 1153, "s": 1062, "text": "This example demonstrate about How to get volley array list with custom object in android." }, { "code": null, "e": 1282, "s": 1153, "text": "Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all requ...
C++ Program For QuickSort On Doubly Linked List - GeeksforGeeks
23 Dec, 2021 Following is a typical recursive implementation of QuickSort for arrays. The implementation uses last element as pivot. C++ /* A typical recursive implementation of Quicksort for array*/ /* This function takes last element as pivot, places the pivot element at its correct position in sorted array, and ...
[ { "code": null, "e": 24606, "s": 24578, "text": "\n23 Dec, 2021" }, { "code": null, "e": 24727, "s": 24606, "text": "Following is a typical recursive implementation of QuickSort for arrays. The implementation uses last element as pivot. " }, { "code": null, "e": 24731...
DATEADD or DATE_ADD in MySQL query?
You need to use DATE_ADD() in MySQL. The syntax is as follows DATE_ADD(NOW(), INTERVAL yourValue MINUTE); Arithmetic operator can also be used. The syntax is as follows NOW() + INTERVAL 30 MINUTE Here is the demo of DATE_ADD() function. The query is as follows mysql> select date_add(now(), interval 30 minute); The foll...
[ { "code": null, "e": 1099, "s": 1062, "text": "You need to use DATE_ADD() in MySQL." }, { "code": null, "e": 1124, "s": 1099, "text": "The syntax is as follows" }, { "code": null, "e": 1168, "s": 1124, "text": "DATE_ADD(NOW(), INTERVAL yourValue MINUTE);" },...
How to slice a string in AngularJS ? - GeeksforGeeks
14 Oct, 2020 Given a string and the task is to make a slice of given string using AngularJS. Approach 1 Using slice() method: The approach is to use the slice() method which accepts 2 parameters start and end. In the first example, only 1 parameter is used and in the second example 2 parameters are used. Example 1: <!D...
[ { "code": null, "e": 24308, "s": 24280, "text": "\n14 Oct, 2020" }, { "code": null, "e": 24388, "s": 24308, "text": "Given a string and the task is to make a slice of given string using AngularJS." }, { "code": null, "e": 24601, "s": 24388, "text": "Approach 1...
How to fetch data from localserver database and display on HTML table using PHP ?
06 Jun, 2022 In this article, we will see how we can display the records in an HTML table by fetching them from the MySQL database using PHP. Approach: Make sure you have XAMPP or WAMP server installed on your machine. In this article, we will be using the WAMP server. WAMP Server is open-source software for the Micro...
[ { "code": null, "e": 28, "s": 0, "text": "\n06 Jun, 2022" }, { "code": null, "e": 158, "s": 28, "text": "In this article, we will see how we can display the records in an HTML table by fetching them from the MySQL database using PHP. " }, { "code": null, "e": 286, ...
Maximum number of people that can be killed with strength P
30 May, 2022 There are infinite people standing in a row, indexed from 1. A person having index i has strength of i2. You have strength P and the task is to tell what is the maximum number of people you can kill with strength P. You can only kill a person with strength X if P ≥ X and after killing him, your strength de...
[ { "code": null, "e": 54, "s": 26, "text": "\n30 May, 2022" }, { "code": null, "e": 376, "s": 54, "text": "There are infinite people standing in a row, indexed from 1. A person having index i has strength of i2. You have strength P and the task is to tell what is the maximum numbe...
jQuery | disable/enable an input element
28 Mar, 2019 The disable/enable an input element in jQuery can be done by using prop() method. The prop() method is used to set or return properties and values for the selected elements. Example 1: This example uses prop() method to disable the input text field. <!DOCTYPE html> <html> <head> <title> Jav...
[ { "code": null, "e": 28, "s": 0, "text": "\n28 Mar, 2019" }, { "code": null, "e": 202, "s": 28, "text": "The disable/enable an input element in jQuery can be done by using prop() method. The prop() method is used to set or return properties and values for the selected elements." ...
Overriding the save method – Django Models
09 Jul, 2021 The save method is an inherited method from models.Model which is executed to save an instance into a particular Model. Whenever one tries to create an instance of a model either from admin interface or django shell, save() function is run. We can override save function before storing the data in the datab...
[ { "code": null, "e": 54, "s": 26, "text": "\n09 Jul, 2021" }, { "code": null, "e": 776, "s": 54, "text": "The save method is an inherited method from models.Model which is executed to save an instance into a particular Model. Whenever one tries to create an instance of a model ei...
Difference between Console.Read and Console.ReadLine in C#
05 Apr, 2022 In C#, to take input from the standard input device, the following method are used – Console.Read() and Console.ReadLine() method. Console is a predefined class of System namespace. While Read() and ReadLine() both are the Console Class methods. The only difference between the Read() and ReadLine() is that...
[ { "code": null, "e": 28, "s": 0, "text": "\n05 Apr, 2022" }, { "code": null, "e": 274, "s": 28, "text": "In C#, to take input from the standard input device, the following method are used – Console.Read() and Console.ReadLine() method. Console is a predefined class of System name...
GATE | GATE-CS-2001 | Question 32
28 Jun, 2021 Consider the following problem X. Given a Turing machine M over the input alphabet Σ, any state q of M And a word w∈Σ*, does the computation of M on w visit the state q? Which of the following statements about X is correct?(A) X is decidable(B) X is undecidable but partially decidable(C) X is undecidable ...
[ { "code": null, "e": 28, "s": 0, "text": "\n28 Jun, 2021" }, { "code": null, "e": 62, "s": 28, "text": "Consider the following problem X." }, { "code": null, "e": 199, "s": 62, "text": "Given a Turing machine M over the input alphabet Σ, any\nstate q of M And ...
How to check whether specified values are present in NumPy array?
22 Sep, 2020 Sometimes we need to test whether certain values are present in an array. Using Numpy array, we can easily find whether specific values are present or not. For this purpose, we use the “in” operator. “in” operator is used to check whether certain element and values are present in a given sequence and hence...
[ { "code": null, "e": 28, "s": 0, "text": "\n22 Sep, 2020" }, { "code": null, "e": 378, "s": 28, "text": "Sometimes we need to test whether certain values are present in an array. Using Numpy array, we can easily find whether specific values are present or not. For this purpose, w...
SSTable in Apache Cassandra
10 Jul, 2020 In this article, we are going to discuss SSTable which is one of the storage engines in Cassandra and SSTable components and also, we will cover what type of information kept in different database file in SSTable. Let’s discuss one by one. SSTable :It is one of the storage engines in Apache Cassandra i.e s...
[ { "code": null, "e": 53, "s": 25, "text": "\n10 Jul, 2020" }, { "code": null, "e": 293, "s": 53, "text": "In this article, we are going to discuss SSTable which is one of the storage engines in Cassandra and SSTable components and also, we will cover what type of information kept...
How to split a string in C/C++, Python and Java?
08 Jul, 2022 Splitting a string by some delimiter is a very common task. For example, we have a comma-separated list of items from a file and we want individual items in an array. Almost all programming languages, provide a function split a string by some delimiter. // Splits str[] according to given delimiters. // an...
[ { "code": null, "e": 52, "s": 24, "text": "\n08 Jul, 2022" }, { "code": null, "e": 307, "s": 52, "text": "Splitting a string by some delimiter is a very common task. For example, we have a comma-separated list of items from a file and we want individual items in an array. Almost ...
Python | Part of Speech Tagging using TextBlob
11 Apr, 2022 TextBlob module is used for building programs for text analysis. One of the more powerful aspects of the TextBlob module is the Part of Speech tagging. Install TextBlob run the following commands: $ pip install -U textblob $ python -m textblob.download_corpora This will install TextBlob and download the ne...
[ { "code": null, "e": 54, "s": 26, "text": "\n11 Apr, 2022" }, { "code": null, "e": 251, "s": 54, "text": "TextBlob module is used for building programs for text analysis. One of the more powerful aspects of the TextBlob module is the Part of Speech tagging. Install TextBlob run t...
Program to find the angles of a quadrilateral
16 Jun, 2022 Given that all the angles of a quadrilateral are in AP having common difference ‘d’, the task is to find all the angles.Examples: Input: d = 10 Output: 75, 85, 95, 105 Input: d = 20 Output: 60, 80, 100, 120 Approach: We know that the angles of the quadrilateral are in AP and having the common differe...
[ { "code": null, "e": 28, "s": 0, "text": "\n16 Jun, 2022" }, { "code": null, "e": 160, "s": 28, "text": "Given that all the angles of a quadrilateral are in AP having common difference ‘d’, the task is to find all the angles.Examples: " }, { "code": null, "e": 238, ...
How to create hash from string in JavaScript ?
14 Aug, 2019 In order to create a unique hash from a specific string, it can be implemented using their own string to hash converting function. It will return the hash equivalent of a string. Also, a library named Crypto can be used to generate various types of hashes like SHA1, MD5, SHA256 and many more. Note: The has...
[ { "code": null, "e": 52, "s": 24, "text": "\n14 Aug, 2019" }, { "code": null, "e": 346, "s": 52, "text": "In order to create a unique hash from a specific string, it can be implemented using their own string to hash converting function. It will return the hash equivalent of a str...
File getParent() method in Java with Examples
30 Jan, 2019 The getParent() method is a part of File class. This function returns the Parent of the given file object. The function returns a string object which contains the Parent of the given file object.If the abstract path does not contain any Parent then a null string is returned. Function Signature: public Stri...
[ { "code": null, "e": 28, "s": 0, "text": "\n30 Jan, 2019" }, { "code": null, "e": 304, "s": 28, "text": "The getParent() method is a part of File class. This function returns the Parent of the given file object. The function returns a string object which contains the Parent of th...
How to print N times without using loops or recursion ?
07 Jul, 2022 How to print “Hello” N times (where N is user input) without using loop or recursion or goto. Input : N, that represent the number of times you want to print the statement. Output : Statement for N times First, we create a class. After that, we need to initialize the constructor of the class by writing the...
[ { "code": null, "e": 52, "s": 24, "text": "\n07 Jul, 2022" }, { "code": null, "e": 146, "s": 52, "text": "How to print “Hello” N times (where N is user input) without using loop or recursion or goto." }, { "code": null, "e": 256, "s": 146, "text": "Input : N, ...
GATE | GATE CS 2019 | Question 59
20 Feb, 2019 What is the minimum number of 2-input NOR gates required to implement 4-variable function expressed in sum-of-minterms from as f = Σ(0, 2, 5, 7, 8, 10, 13, 15)? Assume that all the inputs and their complements are available. Answer ________ . Note: This was Numerical Type question.(A) 3(B) 4(C) 5(D) 6Answe...
[ { "code": null, "e": 53, "s": 25, "text": "\n20 Feb, 2019" }, { "code": null, "e": 296, "s": 53, "text": "What is the minimum number of 2-input NOR gates required to implement 4-variable function expressed in sum-of-minterms from as f = Σ(0, 2, 5, 7, 8, 10, 13, 15)? Assume that a...
JavaScript contextmenu MouseEvent
06 Oct, 2021 When we click the right mouse button on our desktop, a menu-like box appears and this box is called the context menu. In JavaScript, a context menu event runs when a user tries to open a context menu. This can be done by clicking the right mouse button. This article demonstrates executing any operation wh...
[ { "code": null, "e": 54, "s": 26, "text": "\n06 Oct, 2021" }, { "code": null, "e": 309, "s": 54, "text": "When we click the right mouse button on our desktop, a menu-like box appears and this box is called the context menu. In JavaScript, a context menu event runs when a user tri...
Python Math Module
18 Aug, 2021 Sometimes when working with some kind of financial or scientific projects it becomes necessary to implement mathematical calculations in the project. Python provides the math module to deal with such calculations. Math module provides functions to deal with both basic operations such as addition(+), subtra...
[ { "code": null, "e": 28, "s": 0, "text": "\n18 Aug, 2021" }, { "code": null, "e": 455, "s": 28, "text": "Sometimes when working with some kind of financial or scientific projects it becomes necessary to implement mathematical calculations in the project. Python provides the math ...
How to Configure the Eclipse with Apache Hadoop?
25 Jan, 2021 Eclipse is an IDE(Integrated Development Environment) that helps to create and build an application as per our requirement. And Hadoop is used for storing and processing big data. And if you have requirements to configure eclipse with Hadoop then you can follow this section step by step. Here, we will disc...
[ { "code": null, "e": 54, "s": 26, "text": "\n25 Jan, 2021" }, { "code": null, "e": 551, "s": 54, "text": "Eclipse is an IDE(Integrated Development Environment) that helps to create and build an application as per our requirement. And Hadoop is used for storing and processing big ...
How to store words in an array in C?
18 Oct, 2019 We all know how to store a word or String, how to store characters in an array, etc. This article will help you understand how to store words in an array in C. To store the words, a 2-D char array is required. In this 2-D array, each row will contain a word each. Hence the rows will denote the index number...
[ { "code": null, "e": 52, "s": 24, "text": "\n18 Oct, 2019" }, { "code": null, "e": 212, "s": 52, "text": "We all know how to store a word or String, how to store characters in an array, etc. This article will help you understand how to store words in an array in C." }, { ...
ReactJS | State vs props
30 Jul, 2020 We know that in react components are the building blocks which can be reused again and again in building the UI. Before jumping into the main difference between the state and props, let’s see how a component in react is related to a normal function in javascript Example: javascript // simple componentcla...
[ { "code": null, "e": 54, "s": 26, "text": "\n30 Jul, 2020" }, { "code": null, "e": 328, "s": 54, "text": "We know that in react components are the building blocks which can be reused again and again in building the UI. Before jumping into the main difference between the state and...
Evaluate the Value of an Arithmetic Expression in Reverse Polish Notation in Java
11 Jun, 2022 Reverse Polish ‘Notation is postfix notation which in terms of mathematical notion signifies operators following operands. Let’s take a problem statement to implement RPN Problem Statement: The task is to find the value of the arithmetic expression present in the array using valid operators like +, -, *, /...
[ { "code": null, "e": 52, "s": 24, "text": "\n11 Jun, 2022" }, { "code": null, "e": 223, "s": 52, "text": "Reverse Polish ‘Notation is postfix notation which in terms of mathematical notion signifies operators following operands. Let’s take a problem statement to implement RPN" ...
Dart – Finding Minimum and Maximum Value in a List
20 Jul, 2020 In Dart we can find the minimum and maximum valued element present in the given list in seven ways: Using for loop to find the largest and smallest element.Using sort function to find the largest and smallest element.Using forEach loop to find the largest and smallest element.Using only reduce method in da...
[ { "code": null, "e": 28, "s": 0, "text": "\n20 Jul, 2020" }, { "code": null, "e": 128, "s": 28, "text": "In Dart we can find the minimum and maximum valued element present in the given list in seven ways:" }, { "code": null, "e": 533, "s": 128, "text": "Using ...
How ReactJS ES6 syntax is different compared to ES5 ?
11 May, 2022 In this article, we will learn what’s the exact difference between ES6 and ES5 syntaxes in ReactJs. Both ES6 and ES5 are Javascript scripting languages in the development industry. ECMA Script or ES is a trademarked scripting language made by ECMA International. The European Computer Manufacture Associatio...
[ { "code": null, "e": 54, "s": 26, "text": "\n11 May, 2022" }, { "code": null, "e": 720, "s": 54, "text": "In this article, we will learn what’s the exact difference between ES6 and ES5 syntaxes in ReactJs. Both ES6 and ES5 are Javascript scripting languages in the development ind...
Python | Convert numeric words to numbers
22 Apr, 2020 Sometimes, while working with python Strings, we can have a problem in which we need to convert the strings that are in form of named numbers to actual numbers. This has application in Mathematical domains and Data Science domains. Lets discuss certain ways in which this task can be performed. Method #1 : ...
[ { "code": null, "e": 52, "s": 24, "text": "\n22 Apr, 2020" }, { "code": null, "e": 347, "s": 52, "text": "Sometimes, while working with python Strings, we can have a problem in which we need to convert the strings that are in form of named numbers to actual numbers. This has appl...
Scala | Functions Call-by-Name
08 Apr, 2019 In Scala when arguments pass through call-by-value function it compute the passed-in expression’s or arguments value once before calling the function . But a call-by-Name function in Scala calls the expression and recompute the passed-in expression’s value every time it get accessed inside the function. He...
[ { "code": null, "e": 28, "s": 0, "text": "\n08 Apr, 2019" }, { "code": null, "e": 384, "s": 28, "text": "In Scala when arguments pass through call-by-value function it compute the passed-in expression’s or arguments value once before calling the function . But a call-by-Name func...
How to display an error for invalid input with php/html ?
31 Dec, 2020 PHP can be easily embedded in HTML files and HTML codes can also be written in a PHP file. The thing that differentiates PHP from a client-side language like HTML is, PHP codes are executed on the server whereas HTML codes are directly rendered on the browser. To display error for invalid input with HTML ...
[ { "code": null, "e": 53, "s": 25, "text": "\n31 Dec, 2020" }, { "code": null, "e": 370, "s": 53, "text": " PHP can be easily embedded in HTML files and HTML codes can also be written in a PHP file. The thing that differentiates PHP from a client-side language like HTML is, PHP co...
How to check if value exists with MySQL SELECT 1?
Use SELECT 1 for this as in the below syntax − select 1 from yourTableName where yourColumnName=yourValue; If the above returns 1, that means value exists in the MySQL database. Let us first see an example and create a table − mysql> create table DemoTable ( StudentId int NOT NULL AUTO_INCREMENT PRIMARY KEY, Stud...
[ { "code": null, "e": 1109, "s": 1062, "text": "Use SELECT 1 for this as in the below syntax −" }, { "code": null, "e": 1169, "s": 1109, "text": "select 1 from yourTableName where yourColumnName=yourValue;" }, { "code": null, "e": 1289, "s": 1169, "text": "If t...
How to Crop Image from Camera and Gallery in Android? - GeeksforGeeks
19 Feb, 2021 In the previous article, we have discussed how to select an Image from Gallery in Android, but in this project, there is no crop functionality. Sometimes we take pictures on our phone and want to update them as our profile picture. But we need to need to remove the background. So in that case we can use th...
[ { "code": null, "e": 26515, "s": 26487, "text": "\n19 Feb, 2021" }, { "code": null, "e": 27071, "s": 26515, "text": "In the previous article, we have discussed how to select an Image from Gallery in Android, but in this project, there is no crop functionality. Sometimes we take p...
What is the difference between a string and a byte string in Python?
A string is a sequence of characters; these are an abstract concept, and can't be directly stored on disk. A byte string is a sequence of bytes - things that can be stored on disk. The mapping between them is an encoding - there are quite a lot of these (and infinitely many are possible) - and you need to know which ap...
[ { "code": null, "e": 1609, "s": 1062, "text": "A string is a sequence of characters; these are an abstract concept, and can't be directly stored on disk. A byte string is a sequence of bytes - things that can be stored on disk. The mapping between them is an encoding - there are quite a lot of these...
Change the position and the appearance of a graph legend in R - GeeksforGeeks
10 Jun, 2021 Legends are useful to add more information to the plots and enhance the user readability. It involves the creation of titles, indexes, placement of plot boxes in order to create a better understanding of the graphs plotted. The in-built R function legend() can be used to add a legend to the plot. Scatter, ...
[ { "code": null, "e": 26597, "s": 26569, "text": "\n10 Jun, 2021" }, { "code": null, "e": 27055, "s": 26597, "text": "Legends are useful to add more information to the plots and enhance the user readability. It involves the creation of titles, indexes, placement of plot boxes in o...
PostgreSQL - SUM Function
PostgreSQL SUM function is used to find out the sum of a field in various records. To understand the SUM function consider the table COMPANY having records as follows − testdb# select * from COMPANY; id | name | age | address | salary ----+-------+-----+-----------+-------- 1 | Paul | 32 | California| 20000 ...
[ { "code": null, "e": 2908, "s": 2825, "text": "PostgreSQL SUM function is used to find out the sum of a field in various records." }, { "code": null, "e": 2994, "s": 2908, "text": "To understand the SUM function consider the table COMPANY having records as follows −" }, { ...
Introduction To Grammar in Theory of Computation - GeeksforGeeks
18 Oct, 2021 Prerequisite – Theory of Computation Grammar :It is a finite set of formal rules for generating syntactically correct sentences or meaningful correct sentences. Constitute Of Grammar :Grammar is basically composed of two basic elements – Terminal Symbols –Terminal symbols are those which are the components...
[ { "code": null, "e": 23987, "s": 23959, "text": "\n18 Oct, 2021" }, { "code": null, "e": 24024, "s": 23987, "text": "Prerequisite – Theory of Computation" }, { "code": null, "e": 24148, "s": 24024, "text": "Grammar :It is a finite set of formal rules for gener...
Python program to find all duplicate characters in a string
In this tutorial, we are going to learn how to find all duplicate values in a string. We can do it in different ways in Python. Let's explore them one by one. The aim of the program we are going to write is to find the duplicate characters present in a string. For example, we have a string tutorialspoint the program wi...
[ { "code": null, "e": 1221, "s": 1062, "text": "In this tutorial, we are going to learn how to find all duplicate values in a string. We can do it in different ways in Python. Let's explore them one by one." }, { "code": null, "e": 1512, "s": 1221, "text": "The aim of the program ...
Java Concurrency - AtomicBoolean Class
A java.util.concurrent.atomic.AtomicBoolean class provides operations on underlying boolean value that can be read and written atomically, and also contains advanced atomic operations. AtomicBoolean supports atomic operations on underlying boolean variable. It have get and set methods that work like reads and writes on...
[ { "code": null, "e": 3169, "s": 2657, "text": "A java.util.concurrent.atomic.AtomicBoolean class provides operations on underlying boolean value that can be read and written atomically, and also contains advanced atomic operations. AtomicBoolean supports atomic operations on underlying boolean varia...
VBA - Constants
Constant is a named memory location used to hold a value that CANNOT be changed during the script execution. If a user tries to change a Constant value, the script execution ends up with an error. Constants are declared the same way the variables are declared. Following are the rules for naming a constant. You must use...
[ { "code": null, "e": 2196, "s": 1935, "text": "Constant is a named memory location used to hold a value that CANNOT be changed during the script execution. If a user tries to change a Constant value, the script execution ends up with an error. Constants are declared the same way the variables are de...
Text Processing in Python. Text processing example with NLTK and... | by KahEm Chu | Towards Data Science
The Internet has connected the world, while Social Media like Facebook, Twitter and Reddit provided the platform for people to express their opinions and feelings toward a topic. Then, the proliferation of smartphones increased the usage of these platforms directly. For instance, there are 96% or 2,240 million Facebook...
[ { "code": null, "e": 555, "s": 171, "text": "The Internet has connected the world, while Social Media like Facebook, Twitter and Reddit provided the platform for people to express their opinions and feelings toward a topic. Then, the proliferation of smartphones increased the usage of these platform...
MessageFormat format() method in Java with Example : Set - 1 - GeeksforGeeks
04 Feb, 2022 The format() method of java.text.MessageFormat class is used to get the formatted array of object appended into the string buffer object. formatted array will contain all forms of element lies in the pattern of MessageFormat object.Syntax: public final StringBuffer format(Object[] arguments, ...
[ { "code": null, "e": 24601, "s": 24573, "text": "\n04 Feb, 2022" }, { "code": null, "e": 24842, "s": 24601, "text": "The format() method of java.text.MessageFormat class is used to get the formatted array of object appended into the string buffer object. formatted array will cont...
Get list of column headers from a Pandas DataFrame - GeeksforGeeks
17 Aug, 2020 Let us see how to get all the column headers of a Pandas DataFrame as a list. The df.columns.values attribute will return a list of column headers. Example 1 : # importing pandas as pdimport pandas as pd # creating the dataframedf = pd.DataFrame({'PassengerId': [892, 893, 894, 895, ...
[ { "code": null, "e": 24595, "s": 24567, "text": "\n17 Aug, 2020" }, { "code": null, "e": 24743, "s": 24595, "text": "Let us see how to get all the column headers of a Pandas DataFrame as a list. The df.columns.values attribute will return a list of column headers." }, { "...
End to End Deep Learning Tutorial using Azure | by Akshay Ashok | Towards Data Science
The goal of this article is to set up a deep learning workspace on azure, build and deploy end to end deep learning projects on azure. We will start by building a custom image data set to deploy the model in production. This article is a part of the MSP Developer Stories initiative by the Microsoft Student Partners (In...
[ { "code": null, "e": 506, "s": 172, "text": "The goal of this article is to set up a deep learning workspace on azure, build and deploy end to end deep learning projects on azure. We will start by building a custom image data set to deploy the model in production. This article is a part of the MSP D...
How do we set the Java environment variable in cmd.exe?
When you install Java in your system first of all you need to set the environment variables which are path and class path. PATH− The path environment variable is used to specify the set of directories which contains executional programs.When you try to execute a program from command line, the operating system searches ...
[ { "code": null, "e": 1185, "s": 1062, "text": "When you install Java in your system first of all you need to set the environment variables which are path and class path." }, { "code": null, "e": 1728, "s": 1185, "text": "PATH− The path environment variable is used to specify the ...
What is the difference between ajaxStop() and ajaxComplete() functions in jQuery?
ajaxStop() method The ajaxStop( callback ) method attaches a function to be executed whenever all AJAX requests have ended. Here is the description of all the parameters used by this method − callback − The function to execute. Assuming we have following HTML content in result.html file: <h1>THIS IS RESULT...</h1> The ...
[ { "code": null, "e": 1080, "s": 1062, "text": "ajaxStop() method" }, { "code": null, "e": 1186, "s": 1080, "text": "The ajaxStop( callback ) method attaches a function to be executed whenever all AJAX requests have ended." }, { "code": null, "e": 1254, "s": 1186, ...
IDE | GeeksforGeeks | A computer science portal for geeks
Please enter your email address or userHandle. 12345678910111213141516171819202122232425262728293031323334353637https://c.mi.com/thread-3967156-1-1.html https://forums.ubisoft.com/showthread.php/2371427-44-Free-Cookie-Run-Cookies-Generator-2022iwd?p=15523073#post15523073https://cash-app-free-gift-card-code.tumblr.comht...
[ { "code": null, "e": 164, "s": 117, "text": "Please enter your email address or userHandle." }, { "code": null, "e": 2380, "s": 164, "text": "12345678910111213141516171819202122232425262728293031323334353637https://c.mi.com/thread-3967156-1-1.html https://forums.ubisoft.com/showt...
Data Handling using Pandas; Machine Learning in Real Life | by Saptashwa Bhattacharyya | Towards Data Science
Today we will see some essential techniques to handle a bit more complex data, than the examples I have used before from sklearndata-set, using various features of pandas. This post will help you to arrange complex data-set dealing with real-life problems and eventually we will work our way through an example of logist...
[ { "code": null, "e": 569, "s": 171, "text": "Today we will see some essential techniques to handle a bit more complex data, than the examples I have used before from sklearndata-set, using various features of pandas. This post will help you to arrange complex data-set dealing with real-life problems...
How to Permanently Disable Swap in Linux? - GeeksforGeeks
08 Oct, 2021 Swapping or swapping space is a physical memory page placed at the top of a disk partition or a special disk file that is used to expand a system’s RAM as the physical memory fills up. Inactive memory pages are often dumped into the swap area when no RAM is available, using this method of expanding RAM res...
[ { "code": null, "e": 24898, "s": 24870, "text": "\n08 Oct, 2021" }, { "code": null, "e": 25349, "s": 24898, "text": "Swapping or swapping space is a physical memory page placed at the top of a disk partition or a special disk file that is used to expand a system’s RAM as the phys...
Program for incrementing/decrementing triangle pattern - GeeksforGeeks
14 May, 2021 Numeric incrementing triangle pattern Write a program to print a Numeric incrementing triangle pattern starting with a given number N.Examples: Input : 3 Output : 3 4 5 6 7 8 4 5 3 Given below is the implementation for the above-stated problem. C++ Java Python 3...
[ { "code": null, "e": 24126, "s": 24098, "text": "\n14 May, 2021" }, { "code": null, "e": 24272, "s": 24126, "text": "Numeric incrementing triangle pattern Write a program to print a Numeric incrementing triangle pattern starting with a given number N.Examples: " }, { "co...
Configure exim4 smtp relay server
This article will guide you to configure Exim4 SMTP relay server which will allow you to relay emails for the know Domains names and IP address only. In general, this type of service is used to relay emails for notifications for the server health status reports, where the actual email address does not exist or send aut...
[ { "code": null, "e": 1401, "s": 1062, "text": "This article will guide you to configure Exim4 SMTP relay server which will allow you to relay emails for the know Domains names and IP address only. In general, this type of service is used to relay emails for notifications for the server health status...
3D scatter plot using Plotly in Python - GeeksforGeeks
10 Jul, 2020 Plotly is a Python library that is used to design graphs, especially interactive graphs. It can plot various graphs and charts like histogram, barplot, boxplot, spreadplot, and many more. It is mainly used in data analysis as well as financial analysis. plotly is an interactive visualization library. A sca...
[ { "code": null, "e": 24828, "s": 24800, "text": "\n10 Jul, 2020" }, { "code": null, "e": 25130, "s": 24828, "text": "Plotly is a Python library that is used to design graphs, especially interactive graphs. It can plot various graphs and charts like histogram, barplot, boxplot, sp...
Jupyter Standalone Might Just Be Better Than Anaconda | by Emmett Boudreau | Towards Data Science
If you’ve been in the data science space for even a fraction of a second, you’re probably well aware of Anaconda navigator, and Jupyter notebook. They are both great tools for data-scientists when they need cell-by-cell execution on a virtual kernel. But is it possible to drop Anaconda Navigator without dropping Jupyte...
[ { "code": null, "e": 495, "s": 172, "text": "If you’ve been in the data science space for even a fraction of a second, you’re probably well aware of Anaconda navigator, and Jupyter notebook. They are both great tools for data-scientists when they need cell-by-cell execution on a virtual kernel. But ...
How to set default date time as system date time in MySQL?
You can use CURRENT_TIMESTAMP to set system date time. Let us first create a table − mysql> create table DemoTable ( Id int NOT NULL AUTO_INCREMENT PRIMARY KEY, ClientFirstName varchar(20), ClientLastName varchar(20), ClientAge int ); Query OK, 0 rows affected (0.66 sec) Following is the query to set defau...
[ { "code": null, "e": 1117, "s": 1062, "text": "You can use CURRENT_TIMESTAMP to set system date time." }, { "code": null, "e": 1148, "s": 1117, "text": " Let us first create a table −" }, { "code": null, "e": 1347, "s": 1148, "text": "mysql> create table DemoT...
Materialize CSS Dropdown - GeeksforGeeks
15 Sep, 2020 Materialize CSS provides a dropdown facility that allows the user to choose one value from a set of given values in a list. To add a dropdown list to any button, it has to be made sure that the data-target attribute matches with the id in the <ul> tag. The main class and attribute used in a dropdown are: ...
[ { "code": null, "e": 27655, "s": 27627, "text": "\n15 Sep, 2020" }, { "code": null, "e": 27909, "s": 27655, "text": "Materialize CSS provides a dropdown facility that allows the user to choose one value from a set of given values in a list. To add a dropdown list to any button, i...
Tryit Editor v3.7
Tryit: HTML page as an embed object
[]
Java Program to Get Elements By Index from LinkedHashSet - GeeksforGeeks
28 Jul, 2021 LinkedHashSet is a pre-defined class in Java that is similar to HashSet. Unlike HashSet In LinkedHashSet insertion order is preserved. In order to get element by Index from LinkedHashSet in Java, we have multiple ways. Illustration: Input : 2, 3, 4, 2, 7; Processing : index = 4; Output : Element a...
[ { "code": null, "e": 23868, "s": 23840, "text": "\n28 Jul, 2021" }, { "code": null, "e": 24087, "s": 23868, "text": "LinkedHashSet is a pre-defined class in Java that is similar to HashSet. Unlike HashSet In LinkedHashSet insertion order is preserved. In order to get element by I...
Pairwise swap elements of a linked list | Practice | GeeksforGeeks
Given a singly linked list of size N. The task is to swap elements in the linked list pairwise. For example, if the input list is 1 2 3 4, the resulting list after swaps will be 2 1 4 3. Note: You need to swap the nodes, not only the data. If only data is swapped then driver will print -1. Example 1: Input: LinkedList:...
[ { "code": null, "e": 517, "s": 226, "text": "Given a singly linked list of size N. The task is to swap elements in the linked list pairwise.\nFor example, if the input list is 1 2 3 4, the resulting list after swaps will be 2 1 4 3.\nNote: You need to swap the nodes, not only the data. If only data ...
Final keyword in C#
Java has a final keyword, but C# does not have its implementation. For the same implementation, use the sealed keyword. With sealed, you can prevent overriding of a method. When you use sealed modifiers in C# on a method, then the method loses its capabilities of overriding. The sealed method should be part of a derive...
[ { "code": null, "e": 1182, "s": 1062, "text": "Java has a final keyword, but C# does not have its implementation. For the same implementation, use the sealed keyword." }, { "code": null, "e": 1435, "s": 1182, "text": "With sealed, you can prevent overriding of a method. When you ...
How to get the current username in Python - GeeksforGeeks
23 Jan, 2022 In this article, we will discuss how to get the current username in python. getlogin() method of OS library is used to get the current username. Syntax : os.getlogin( ) In order to use this function we need to import os library first . Python3 # importing os moduleimport os # using getlogin() returning u...
[ { "code": null, "e": 24292, "s": 24264, "text": "\n23 Jan, 2022" }, { "code": null, "e": 24368, "s": 24292, "text": "In this article, we will discuss how to get the current username in python." }, { "code": null, "e": 24437, "s": 24368, "text": "getlogin() met...
How to Find the Number of Arguments Provided at Runtime in Java? - GeeksforGeeks
11 Nov, 2020 The Java command-line argument is an argument that is passed at the time of running of a program. i.e. in order to make a program dynamic, there may be cases where we pass the arguments at runtime. Usually, via command-line arguments, they get passed and there are ways to find the number of arguments provi...
[ { "code": null, "e": 25347, "s": 25319, "text": "\n11 Nov, 2020" }, { "code": null, "e": 25699, "s": 25347, "text": "The Java command-line argument is an argument that is passed at the time of running of a program. i.e. in order to make a program dynamic, there may be cases where...
Python Program to Form a Dictionary from an Object of a Class
When it is required to form a dictionary with the help of an object and class, a class is defined. An ‘init’ function is defined, that assigns values to variables. An instance of the class is created, and the init function is called. Below is a demonstration for the same − Live Demo class base_class(object): def __...
[ { "code": null, "e": 1296, "s": 1062, "text": "When it is required to form a dictionary with the help of an object and class, a class is defined. An ‘init’ function is defined, that assigns values to variables. An instance of the class is created, and the init function is called." }, { "code...
Google Charts - Basic Sankey Chart
Following is an example of a basic sankey diagram. We've already seen the configuration used to draw this chart in Google Charts Configuration Syntax chapter. So, let's see the complete example. We've used Sankey class to show sankey diagram. //Map chart var chart = new google.visualization.Sankey(document.getElementBy...
[ { "code": null, "e": 2456, "s": 2261, "text": "Following is an example of a basic sankey diagram. We've already seen the configuration used to draw this chart in Google Charts Configuration Syntax chapter. So, let's see the complete example." }, { "code": null, "e": 2504, "s": 2456, ...
Creating Custom Activation Functions with Lambda Layers in TensorFlow 2 | by Arjun Sarkar | Towards Data Science
Previously we’ve seen how to create custom loss functions — Creating custom Loss functions using TensorFlow 2 Introduction In this article, we look at how to create custom activation functions. While TensorFlow already contains a bunch of activation functions inbuilt, there are ways to create your own custom activation...
[ { "code": null, "e": 282, "s": 172, "text": "Previously we’ve seen how to create custom loss functions — Creating custom Loss functions using TensorFlow 2" }, { "code": null, "e": 295, "s": 282, "text": "Introduction" }, { "code": null, "e": 546, "s": 295, "te...
How to use NavigationView in Android?
This example demonstrates how do I Use NavigationView in android. Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project. Step 2 − Add the following code to res/layout/activity_main.xml. <?xml version="1.0" encoding="utf-8"?> <androidx.drawerlayou...
[ { "code": null, "e": 1128, "s": 1062, "text": "This example demonstrates how do I Use NavigationView in android." }, { "code": null, "e": 1257, "s": 1128, "text": "Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a ...
Implementation of Artificial Neural Network for AND Logic Gate with 2-bit Binary Input - GeeksforGeeks
29 May, 2021 Artificial Neural Network (ANN) is a computational model based on the biological neural networks of animal brains. ANN is modeled with three types of layers: an input layer, hidden layers (one or more), and an output layer. Each layer comprises nodes (like biological neurons) are called Artificial Neurons....
[ { "code": null, "e": 25618, "s": 25590, "text": "\n29 May, 2021" }, { "code": null, "e": 26406, "s": 25618, "text": "Artificial Neural Network (ANN) is a computational model based on the biological neural networks of animal brains. ANN is modeled with three types of layers: an in...
Makefile - Other Features
In this chapter, we shall look into various other features of Makefile. Recursive use of make means using make as a command in a makefile. This technique is useful when you want separate makefiles for various subsystems that compose a larger system. For example, suppose you have a subdirectory named `subdir' which has ...
[ { "code": null, "e": 1856, "s": 1784, "text": "In this chapter, we shall look into various other features of Makefile." }, { "code": null, "e": 2252, "s": 1856, "text": "Recursive use of make means using make as a command in a makefile. This technique is useful when you want sepa...
VB.Net - Basic Syntax
VB.Net is an object-oriented programming language. In Object-Oriented Programming methodology, a program consists of various objects that interact with each other by means of actions. The actions that an object may take are called methods. Objects of the same kind are said to have the same type or, more often, are said...
[ { "code": null, "e": 2646, "s": 2300, "text": "VB.Net is an object-oriented programming language. In Object-Oriented Programming methodology, a program consists of various objects that interact with each other by means of actions. The actions that an object may take are called methods. Objects of th...
pipe() - Unix, Linux System Call
Unix - Home Unix - Getting Started Unix - File Management Unix - Directories Unix - File Permission Unix - Environment Unix - Basic Utilities Unix - Pipes & Filters Unix - Processes Unix - Communication Unix - The vi Editor Unix - What is Shell? Unix - Using Variables Unix - Special Variables Unix - Using Arrays Unix -...
[ { "code": null, "e": 1466, "s": 1454, "text": "Unix - Home" }, { "code": null, "e": 1489, "s": 1466, "text": "Unix - Getting Started" }, { "code": null, "e": 1512, "s": 1489, "text": "Unix - File Management" }, { "code": null, "e": 1531, "s": 1...
Python - tensorflow.math.reduce_variance() - GeeksforGeeks
31 Aug, 2021 TensorFlow is open-source Python library designed by Google to develop Machine Learning models and deep learning neural networks. reduce_variance() is used to find variance of elements across dimensions of a tensor. Syntax: tensorflow.math.reduce_variance( input_tensor, axis, keepdims, name) Parameters: i...
[ { "code": null, "e": 23901, "s": 23873, "text": "\n31 Aug, 2021" }, { "code": null, "e": 24032, "s": 23901, "text": "TensorFlow is open-source Python library designed by Google to develop Machine Learning models and deep learning neural networks." }, { "code": null, ...
Don’t Miss Out on Rolling Window Functions in Pandas | by Byron Dolon | Towards Data Science
Window calculations can add a lot of depth to your data analysis. The Pandas library lets you perform many different built-in aggregate calculations, define your functions and apply them across a DataFrame, and even work with multiple columns in a DataFrame simultaneously. A feature in Pandas you might not have heard o...
[ { "code": null, "e": 238, "s": 172, "text": "Window calculations can add a lot of depth to your data analysis." }, { "code": null, "e": 535, "s": 238, "text": "The Pandas library lets you perform many different built-in aggregate calculations, define your functions and apply them...
How to disable GridView scrolling in Android using Kotlin?
This example demonstrates how to disable GridView scrolling in Android using Kotlin. Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project. Step 2 − Add the following code to res/layout/activity_main.xml. <?xml version="1.0" encoding="utf-8"?> <R...
[ { "code": null, "e": 1147, "s": 1062, "text": "This example demonstrates how to disable GridView scrolling in Android using Kotlin." }, { "code": null, "e": 1276, "s": 1147, "text": "Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required d...
Spring Boot - Google OAuth2 Sign-In
In this chapter, we are going to see how to add the Google OAuth2 Sign-In by using Spring Boot application with Gradle build. First, add the Spring Boot OAuth2 security dependency in your build configuration file and your build configuration file is given below. buildscript { ext { springBootVersion = '1.5.8.R...
[ { "code": null, "e": 3151, "s": 3025, "text": "In this chapter, we are going to see how to add the Google OAuth2 Sign-In by using Spring Boot application with Gradle build." }, { "code": null, "e": 3288, "s": 3151, "text": "First, add the Spring Boot OAuth2 security dependency in...
CSS Opacity / Transparency
For CSS Opacity/ Transparency, the opacity property is used. For example, opacity: 0.3; Following is the code showing Opacity/ Transparency using CSS − Live Demo <!DOCTYPE html> <html> <head> <style> body { font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; } div { width: 200px; height: 200px; b...
[ { "code": null, "e": 1136, "s": 1062, "text": "For CSS Opacity/ Transparency, the opacity property is used. For example," }, { "code": null, "e": 1150, "s": 1136, "text": "opacity: 0.3;" }, { "code": null, "e": 1214, "s": 1150, "text": "Following is the code s...
Seeing is Believing: Converting Audio Data into Images | by Tony Chen | Towards Data Science
Created together with Dmytro Karabash, Maxim Korotkov, and Hyeongchan Kim. Close your eyes and listen to the sound around you. Whether you are in a crowded office, cozy home, or open space of nature, you can distinguish the environment with the sound around you. One of the five major senses of humans is hearing, so aud...
[ { "code": null, "e": 247, "s": 172, "text": "Created together with Dmytro Karabash, Maxim Korotkov, and Hyeongchan Kim." }, { "code": null, "e": 1250, "s": 247, "text": "Close your eyes and listen to the sound around you. Whether you are in a crowded office, cozy home, or open sp...
Build a Voice Recorder GUI using Python - GeeksforGeeks
01 Oct, 2020 Prerequisites: Python GUI – tkinter, Create a Voice Recorder using Python Python provides various tools and can be used for various purposes. One such purpose is recording voice. It can be done using the sounddevice module. This recorded file can be saved using the soundfile module Sounddevice: The soundde...
[ { "code": null, "e": 24307, "s": 24279, "text": "\n01 Oct, 2020" }, { "code": null, "e": 24381, "s": 24307, "text": "Prerequisites: Python GUI – tkinter, Create a Voice Recorder using Python" }, { "code": null, "e": 24590, "s": 24381, "text": "Python provides ...
What is strcat() Function in C language?
The C library function char *strcat(char *dest, const char *src) appends the string pointed to by src to the end of the string pointed to by dest. An array of characters is called a string. Following is the declaration for an array − char stringname [size]; For example − char string[50]; string of length 50 characters ...
[ { "code": null, "e": 1209, "s": 1062, "text": "The C library function char *strcat(char *dest, const char *src) appends the string pointed to by src to the end of the string pointed to by dest." }, { "code": null, "e": 1252, "s": 1209, "text": "An array of characters is called a ...
Laravel - Errors and Logging
This chapter deals with errors and logging in Laravel projects and how to work on them. A project while underway, is borne to have a few errors. Errors and exception handling is already configured for you when you start a new Laravel project. Normally, in a local environment we need to see errors for debugging purposes...
[ { "code": null, "e": 2560, "s": 2472, "text": "This chapter deals with errors and logging in Laravel projects and how to work on them." }, { "code": null, "e": 2982, "s": 2560, "text": "A project while underway, is borne to have a few errors. Errors and exception handling is alre...
What are the types of variables a class can have in Java?
There are three different types of variables a class can have in Java are local variables, instance variables, and class/static variables. A local variable in Java can be declared locally in methods, code blocks, and constructors. When the program control enters the methods, code blocks, and constructors then the local...
[ { "code": null, "e": 1201, "s": 1062, "text": "There are three different types of variables a class can have in Java are local variables, instance variables, and class/static variables." }, { "code": null, "e": 1578, "s": 1201, "text": "A local variable in Java can be declared lo...
Introduction to Stream Processing | by Ivan Mushketyk | Towards Data Science
Together with machine learning and serverless stream processing seems to be one of the hottest topics nowadays. Companies are onboarding modern stream processing tools, service providers are releasing better and more powerful stream processing products, and specialists are in high demand. This article introduces the ba...
[ { "code": null, "e": 461, "s": 171, "text": "Together with machine learning and serverless stream processing seems to be one of the hottest topics nowadays. Companies are onboarding modern stream processing tools, service providers are releasing better and more powerful stream processing products, a...
8085 program for Binary search - GeeksforGeeks
23 Aug, 2021 Prerequisite – Binary Search Problem – Write an assembly language program in the 8085 microprocessor to find a given number in the list of 10 numbers. If found store 1 in output, else store 2 in output. Also, store the number of iterations and the index of the element, if found. Example: Let the list be a...
[ { "code": null, "e": 24133, "s": 24105, "text": "\n23 Aug, 2021" }, { "code": null, "e": 24414, "s": 24133, "text": "Prerequisite – Binary Search Problem – Write an assembly language program in the 8085 microprocessor to find a given number in the list of 10 numbers. If found sto...
ArrayList clear() Method in Java with Examples - GeeksforGeeks
23 Nov, 2021 The clear() method of ArrayList in Java is used to remove all the elements from a list. The list will be empty after this call returns so do whenever this operation has been performed all elements of the corresponding Arraylist will be deleted so it does it becomes an essential function for deleting elemen...
[ { "code": null, "e": 25033, "s": 25005, "text": "\n23 Nov, 2021" }, { "code": null, "e": 25393, "s": 25033, "text": "The clear() method of ArrayList in Java is used to remove all the elements from a list. The list will be empty after this call returns so do whenever this operatio...
PHP - Hash hmac() Function
The hash_hmac() function is used to generate keyed hash value using HMAC method. HMAC stands for keyed-hash message authentication code or hash-based message authentication code. It makes use of cryptographic hash function like md5, sha-256 and a secret key to return the message digest hash of the given data. hash_hma...
[ { "code": null, "e": 2838, "s": 2757, "text": "The hash_hmac() function is used to generate keyed hash value using HMAC method." }, { "code": null, "e": 3069, "s": 2838, "text": "HMAC stands for keyed-hash message authentication code or hash-based message authentication code. It ...
Setup MLflow in Production. MLflow is an open-source platform for... | by Sumeet Gyanchandani | Towards Data Science
This is the first article in my MLflow tutorial series: Setup MLflow in Production (you are here!)MLflow: Basic logging functionsMLflow logging for TensorFlowMLflow ProjectsRetrieving the best model using Python API for MLflowServing a model using MLflow Setup MLflow in Production (you are here!) MLflow: Basic logging ...
[ { "code": null, "e": 227, "s": 171, "text": "This is the first article in my MLflow tutorial series:" }, { "code": null, "e": 426, "s": 227, "text": "Setup MLflow in Production (you are here!)MLflow: Basic logging functionsMLflow logging for TensorFlowMLflow ProjectsRetrieving th...
80 Python Interview Practice Questions | by Cornellius Yudha Wijaya | Towards Data Science
Many Data Aspirant started learning their Data Science journey with Python Programming Language. Why Python? because it was easy to follow and many companies use Python programming language these days. Moreover, Python is a multi-purpose language that not specific only for Data scientists; people also use Python for de...
[ { "code": null, "e": 510, "s": 172, "text": "Many Data Aspirant started learning their Data Science journey with Python Programming Language. Why Python? because it was easy to follow and many companies use Python programming language these days. Moreover, Python is a multi-purpose language that not...
Floor in Binary Search Tree (BST) - GeeksforGeeks
19 Jul, 2021 Given a Binary Search Tree and a number x, find floor of x in the given BST. Input : x = 14 and root of below tree 10 / \ 5 15 / \ 12 30 Output : 12 Input : x = 15 and root of below tree 10 / \ 5 15 ...
[ { "code": null, "e": 24855, "s": 24827, "text": "\n19 Jul, 2021" }, { "code": null, "e": 24933, "s": 24855, "text": "Given a Binary Search Tree and a number x, find floor of x in the given BST. " }, { "code": null, "e": 25216, "s": 24933, "text": "Input : x = ...
Functions in MATLAB - GeeksforGeeks
16 Aug, 2021 Methods are also popularly known as functions. The main aim of the methods is to reuse the code. A method is a block of code which is invoked and executed when it is called by the user. It contains local workspace and independent of base workspace which belongs to command prompt. Let’s take a glance of met...
[ { "code": null, "e": 23861, "s": 23833, "text": "\n16 Aug, 2021" }, { "code": null, "e": 24180, "s": 23861, "text": "Methods are also popularly known as functions. The main aim of the methods is to reuse the code. A method is a block of code which is invoked and executed when it ...
Ethical Hacking - SQL Injection
SQL injection is a set of SQL commands that are placed in a URL string or in data structures in order to retrieve a response that we want from the databases that are connected with the web applications. This type of attacks generally takes place on webpages developed using PHP or ASP.NET. An SQL injection attack can be...
[ { "code": null, "e": 2769, "s": 2479, "text": "SQL injection is a set of SQL commands that are placed in a URL string or in data structures in order to retrieve a response that we want from the databases that are connected with the web applications. This type of attacks generally takes place on webp...
Adding CSP headers in Django Project - GeeksforGeeks
31 Dec, 2021 Website security has been an important factor while developing websites and web applications. Many frameworks come with their own security policies and developers also try to implement the utmost security policies while developing their applications. Still even after this much hard work hackers will find n...
[ { "code": null, "e": 24292, "s": 24264, "text": "\n31 Dec, 2021" }, { "code": null, "e": 24790, "s": 24292, "text": "Website security has been an important factor while developing websites and web applications. Many frameworks come with their own security policies and developers ...
How to create and run an EMR cluster using AWS CLI | by Tran Nguyen | Towards Data Science
“Apache Spark is a unified analytics engine for large-scale data processing”. Spark is considered as “the king of the ‘big data’ jungle” with various applications in data analysis, machine learning, streaming and graph analytics, etc. There are 4 different Spark modes: (1) Local mode: Spark on a single machine such as ...
[ { "code": null, "e": 1165, "s": 172, "text": "“Apache Spark is a unified analytics engine for large-scale data processing”. Spark is considered as “the king of the ‘big data’ jungle” with various applications in data analysis, machine learning, streaming and graph analytics, etc. There are 4 differe...
Non-deterministic PDA
Theory of Computation A non-deterministic PDA is used to generate a language that a deterministic automata cannot generate. It is more powerful than a deterministic PDA. So, a push down automata is allowed to be non-deterministic. M = (Q,Σ,Γ,δ,q0,Z0,F) Q- It is the finite set of states, Σ - finite set of input alphabet...
[ { "code": null, "e": 112, "s": 90, "text": "Theory of Computation" }, { "code": null, "e": 321, "s": 112, "text": "A non-deterministic PDA is used to generate a language that a deterministic automata cannot generate. It is more powerful than a deterministic PDA. So, a push down a...
Deep Learning with Magnetic Resonance and Computed Tomography Images | by Jacob Reinhold | Towards Data Science
Getting started with applying deep learning to magnetic resonance (MR) or computed tomography (CT) images is not straightforward; finding appropriate data sets, preprocessing the data, and creating the data loader structures necessary to do the work is a pain to figure out. In this post I hope to alleviate some of that...
[ { "code": null, "e": 771, "s": 171, "text": "Getting started with applying deep learning to magnetic resonance (MR) or computed tomography (CT) images is not straightforward; finding appropriate data sets, preprocessing the data, and creating the data loader structures necessary to do the work is a ...
CSS Paged Media - @page Rule
Paged media differ from continuous media in that the content of the document is split into one or more discrete pages. Paged media includes paper, transparencies, pages that are displayed on computer screens, etc. The CSS2 standard introduces some basic pagination control features that let authors help the browser figu...
[ { "code": null, "e": 2840, "s": 2626, "text": "Paged media differ from continuous media in that the content of the document is split into one or more discrete pages. Paged media includes paper, transparencies, pages that are displayed on computer screens, etc." }, { "code": null, "e": 29...
Creating Streamlit Dashboard from scratch. | by Himanshu Sharma | Towards Data Science
Building Dashboards was never easy, creating a dashboard requires knowledge of bootstrap, HTML, CSS, a lot of time etc.but by using streamlit we can create highly interactive and visually appealing dashboards just with a few lines of code. So let’s start building our dashboard but first let us take a look to understand...
[ { "code": null, "e": 504, "s": 172, "text": "Building Dashboards was never easy, creating a dashboard requires knowledge of bootstrap, HTML, CSS, a lot of time etc.but by using streamlit we can create highly interactive and visually appealing dashboards just with a few lines of code. So let’s start ...
Joining 4 Tables in SQL - GeeksforGeeks
01 Sep, 2021 The purpose of this article is to make a simple program to Join two tables using Join and Where clause in SQL. Below is the implementation for the same using MySQL. The prerequisites of this topic are MySQL and the installment of Apache Server on your computer. Introduction :In SQL, a query is a request w...
[ { "code": null, "e": 23975, "s": 23944, "text": " \n01 Sep, 2021\n" }, { "code": null, "e": 24237, "s": 23975, "text": "The purpose of this article is to make a simple program to Join two tables using Join and Where clause in SQL. Below is the implementation for the same using My...
General Sibling Selectors in CSS
The CSS general sibling selector is used to select all elements that follow the first element such that both are children of the same parent. The syntax for CSS general sibling selector is as follows element ~ element { /*declarations*/ } The following examples illustrate CSS general sibling selector − Live Demo <!...
[ { "code": null, "e": 1204, "s": 1062, "text": "The CSS general sibling selector is used to select all elements that follow the first element such that both are children of the same parent." }, { "code": null, "e": 1262, "s": 1204, "text": "The syntax for CSS general sibling selec...
PHP strftime() Function
The strftime function accepts a format string as a parameter, and formats the locale date/time according to the locale settings.. strftime($format [, $timestamp]) format(Optional) This is a string value representing the format in which you need to format the date/time. timestamp(Mandatory) This is an integer value rep...
[ { "code": null, "e": 2887, "s": 2757, "text": "The strftime function accepts a format string as a parameter, and formats the locale date/time according to the locale settings.." }, { "code": null, "e": 2921, "s": 2887, "text": "strftime($format [, $timestamp])\n" }, { "co...