Create Bars Icon Using jQuery Mobile

Aman Gupta
Updated on 28-Aug-2023 10:57:45

168 Views

Overview Bars icons are used as the navbar lines in the small screens. As the desktop mode of the screen shows the navbar in full view with navigation items but in the responsive nature of the navbar it only shows the bars line on the screen. So to build the bars icon using jQuery mobile can be achieved by defining the data−role attribute to any element with the value of “bars”. The bars is a predefined data role attribute. It can also be done with the simple jQuery but jQuery mobile provides a responsive way to display the icons on ... Read More

Difference Between Packets and Frames

Pradeep Kumar
Updated on 28-Aug-2023 10:11:17

1K+ Views

A packet is a data unit created in the network layer. A frame is a data unit created in the data link layer. A packet is created first followed by the Frame. Both of them consists of data that is being transferred. What are Packets? A packet is a small fraction of data that is transmitted between the systems through internet. During data transfer, the entire data is not sent as a single unit over the network. The data to be transferred is broken down into multiple segments called packets. Transferring data in small packets increases the speed of data ... Read More

Difference Between Native App and Hybrid App

Pradeep Kumar
Updated on 28-Aug-2023 10:08:34

373 Views

Mobile applications have become a crucial aspect of our life in the current digital era. We rely significantly on mobile apps for our daily duties, from placing food orders to reserving rides. There are two main alternatives when it comes to creating a mobile app: Native Apps and Hybrid Apps. Native apps are created using programming languages like Swift or Java for specific platforms like iOS or Android. Yet, Hybrid Apps can operate on various platforms, thanks to a native container and are created using web technologies like HTML, CSS, and JavaScript. What is a Native App? A mobile ... Read More

Get First and Last Elements from a Tuple in Python

Harshit Sachan
Updated on 27-Aug-2023 14:29:32

32K+ Views

Tuples are an important data type in Python and are often used to store a fixed set of elements. In this article, we will be discussing how to extract the first and last elements from a tuple in Python. We will go over the syntax for accessing these elements and will provide examples of how to do so. What is a Tuple in Python? Tuples allow for the storage of several things in a single variable. One of python’s four built-in data types for storing data collections is the tuple. Unchangeable and ordered collections are called tuples. Round brackets are ... Read More

Sum Values of a Python Dictionary

Lakshmi Srinivas
Updated on 27-Aug-2023 13:33:15

32K+ Views

It is pretty easy to get the sum of values of a Python dictionary. You can first get the values in a list using the dict.values(). Then you can call the sum method to get the sum of these values. exampled = {    'foo': 10,    'bar': 20,    'baz': 30 } print(sum(d.values()))OutputThis will give the output −60

Find Maximum Value of a Column in Pandas

Rishikesh Kumar Rishi
Updated on 27-Aug-2023 13:31:30

29K+ Views

To find the maximum value of a column and to return its corresponding row values in Pandas, we can use df.loc[df[col].idxmax()]. Let's take an example to understand it better.StepsCreate a two-dimensional, size-mutable, potentially heterogeneous tabular data, df.Print the input DataFrame, df.Initialize a variable, col, to find the maximum value of that column.Find the maximum value and its corresponding row, using df.loc[df[col].idxmax()]Print the Step 4 output.Exampleimport pandas as pd df = pd.DataFrame(    {       "x": [5, 2, 7, 0],       "y": [4, 7, 5, 1],       "z": [9, 3, 5, 1]    } ... Read More

Why Logistic Regression in Classification in Machine Learning

Mithilesh Pradhan
Updated on 27-Aug-2023 13:13:53

271 Views

Introduction Logistic Regression is a classification algorithm commonly used our machine learning for binary classification. Although the term "Regression" is in its name it is in fact a classification algorithm. It uses log odds with log loss or cross−entropy loss as the cost function. In this article let us see why Logistic Regression is a classification algorithm in nature. Logistic Regression as a Classification Algorithm A Linear Regression algorithm can be given represented by a linear equation such that a univariate regression model with $\mathrm{\alpha_{0}}$ intercept and $\mathrm{\alpha_{1}}$ can be written as $$\mathrm{y=\alpha_{0}+\alpha_{1}x}$$ The line of best fit is ... Read More

Use Cases of Generative Adversarial Networks

Mithilesh Pradhan
Updated on 27-Aug-2023 13:10:34

203 Views

Introduction In recent years Generative Adversarial Networks have gained a lot of traction and used in numerous use cases. GANs are deep neural network architectures used to generate realistic synthetic data from existing data sets. GANs have two sets of neural networks − the first one generates new images and the second one discriminates between real and generated images. The discriminants give feedback to the generator about the image whether it is real or fake so that the generator can produce better images that look exactly like the real ones. This process is continued till the discriminator fails to differentiate ... Read More

Robotics Process Automation: An Introduction

Mithilesh Pradhan
Updated on 27-Aug-2023 13:05:28

572 Views

Introduction Robotic Process Automation (RPA) is a technology that can mimic the actions of human beings regarding their interaction with software systems and digital systems. With Robotic Process automation building, managing, and deploying such tools and software becomes extremely easy. Such technology is primarily used by business processes. Robotic Process Automation − A wider picture Different types of Robotic Process Automation There are three types of RPA software. Attended Robotic Process Automation − It requires very less human intervention Unattended Robotic Process Automation − It required no human intervention Hybrid Robotic Process Automation − It combines both ... Read More

Non-Linear SVM in Machine Learning

Mithilesh Pradhan
Updated on 27-Aug-2023 13:01:41

3K+ Views

Introduction Support Vector Machine (SVM) is one of the most popular supervised Machine Learning algorithms for classification as well as regression. The SVM Algorithm strives to find a line of best fit between n−dimensional data to separate them into classes. a new data point can thus be classified into one of these classes. The SVM algorithm creates two hyperplanes while maximizing the margin between them. The points that lie on these hyperplanes are known as Support Vectors and hence the name Support Vector Machine. The below diagram shows the decision boundary and hyperplanes for an SVM that is used to ... Read More

Advertisements