You are on page 1of 1

The array you build will be identical to the one you created in the previous example.

Here is an example of
how to assign a single element to an array: number[4] = 50; The preceding line allocates the value of 50 to
element number 5 in the array. The first member of every array has an index of 0, known as the base index,
and the last element of every array has an index equal to the array's total size minus 1. The graphical
depiction of the above-discussed array is shown in the following figure.

There are two kinds of data analysis that can be used to predict future data trends or extract models that
describe important classes.The two types are as follows: prediction and classification models predict labels
for categorical classes.and prediction models predict functions with a continuous value.We can, for instance,
construct a classification model to classify applications for bank loans as either safe or risky, or a prediction
model to predict the dollar amounts that potential customers will spend on computer equipment based on
their income and occupation.

Classification: what is it?

The cases in which the task of data analysis is Classification 1 are shown below.A loan officer at a bank wants
to look at the data to determine which loan applicants are risky and which are safe.

2.A company's marketing manager must examine a prospective computer buyer who fits a particular profile.

A model or classifier is built to predict the categorical labels in both of the examples above.For marketing
data, these labels are either yes or no—risky or safe for loan application data.

Prediction: what is it?

Following are the instances of situations where the information examination task is Expectation −

Assume the showcasing supervisor needs to foresee how much a given client will spend during a deal at his
organization. We are challenged to predict a numerical value in this example.As a result, the task of data
analysis is an illustration of numerical prediction.A model or predictor that can predict an ordered value or
continuous-valued function will be created in this scenario.

Note: The statistical technique known as regression analysis is primarily utilized for numerical prediction.

How is classification carried out?

Let us understand how classification works by using the bank loan application we discussed earlier.Building
the Classifier or Model and Using the Classifier for Classification are the two steps in the Data Classification
process. This step is the learning step or the learning phase.

The classifier is constructed by the classification algorithms in this step.

The database tuples and class labels that make up the training set are used to build the classifier.

A category or class is the name given to each tuple in the training set.These tuples can also be referred to as
data points, sample, or object.

You might also like