You are on page 1of 4

Q1. What is Re library in python?

The re module provides a set of powerful regular expression facilities, which allows you
to quickly check whether a given string matches a given pattern

Q2. What is function of Text Blob library?

TextBlob is a Python (2 and 3) library for processing textual data.


(TextBlob is a simple library which supports complex analysis and operations on
textual data)

Q3. What is syntax of utility function?

A utility function that describes a preference for one bundle of goods (Xa) vs another bundle
of goods (Xb) is expressed as U(Xa, Xb). Where there are perfect complements, the utility
function is written as U(Xa, Xb) = MIN[Xa, Xb], where the smaller of the two is assigned the
function's value.

Q4.Which API is required to handle authentication?

OAuth 2.0 is the best choice for identifying personal user accounts and granting proper
permissions. In this method, the user logs into a system. That system will then request
authentication, usually in the form of a token

Q5. What is Sentiment analysis?

Sentiment analysis is a machine learning tool that analyzes texts for polarity, from
positive to negative.

Q.6 What are decision tree?


A decision tree is a very specific type of probability tree that enables you to make a
decision about some kind of process.

Q7. What is rpart?

Recursive Partitioning And Regression Trees


Q8. What are applications of rpart?

Rpart is a powerful machine learning library in R that is used for building classification and
regression trees. This library implements recursive partitioning and is very easy to use.

Q9.Advantages of decision trees?

• Easy to read and interpret. One of the advantages of decision trees is that
their outputs are easy to read and interpret without requiring statistical
knowledge. ...
• Easy to prepare. ...
• Less data cleaning required.

What is Bayes Theorem?

Bayes Theorem is a method to determine conditional probabilities

What is confusion matrix?

A confusion matrix is a table that is often used to describe the performance of a


classification model (or "classifier") on a set of test data for which the true values are
known.

Which function is used to split the dataset in R?

split() function in R Language is used to divide a data vector into groups as defined by the
factor provided.

What are steps of Naïve Bayes algorithm?

Naive Bayes Tutorial (in 5 easy steps)


• Step 1: Separate By Class.
• Step 2: Summarize Dataset.
• Step 3: Summarize Data By Class.
• Step 4: Gaussian Probability Density Function.
• Step 5: Class Probabilities.

What is conditional probability?


Conditional probability is defined as the likelihood of an event or outcome occurring, based on
the occurrence of a previous event or outcome
What is Data visualization?
Data visualization is the graphical representation of information and data. By using visual
elements like charts, graphs, and maps, data visualization tools

2. How to calculate min,max,range and standard deviation?

A standard deviation cannot in general be computed from just the min, max, and mean.
This can be demonstrated with two sets of scores that have the same min, and max, and
mean but different standard deviations

3. How to create boxplot for each feature in the daset?

first we need to arrange the data in ascending order and then find the minimum, first
quartile, median, third quartile and the maximum. To find the First Quartile we take the first
six values and find their median. For the Third Quartile, we take the next six and find their
median.

4. How to create histogram?

1. On the vertical axis, place frequencies. Label this axis "Frequency".


2. On the horizontal axis, place the lower value of each interval. ...
3. Draw a bar extending from the lower value of each interval to the lower value
of the next interval

What is dataset
A data set (or dataset) is a collection of data.

What is CUDA?
CUDA is a parallel computing platform and programming model that makes using a GPU for
general purpose computing simple

Explain Processing flow of CUDA programming.

In a typical CUDA program, data are first send from main memory to the GPU memory,
then the CPU sends instructions to the GPU, then the GPU schedules and executes the
kernel on the available parallel hardware, and finally results are copied back from the GPU
memory to the CPU memory.
Explain advantages and limitations of CUDA.

CUDA provides access to 16 KB of memory (per multiprocessor) shared between threads,


which can be used to setup cache with higher bandwidth than texture lookups.

Make the comparison between GPU and CPU.

S.NO CPU GPU

CPU is not suitable for parallel instruction While GPU is suitable for parallel instruction
6.
processing. processing.

7. CPU emphasis on low latency. While GPU emphasis on high throughput.

Explain various alternatives to CUDA.

OpenCL, OpenGL, TensorFlow, PyTorch, and Keras are the most popular alternatives
and competitors to CUDA.

Explain CUDA hardware architecture in detail.

Introduction. NVIDIA® CUDA™ technology leverages the massively parallel processing


power of NVIDIA GPUs. The CUDA architecture is a revolutionary parallel computing
architecture that delivers the performance of NVIDIA's world-renowned graphics processor
technology to general purpose GPU Computing.

You might also like