Articles on Trending Technologies

Technical articles with clear explanations and examples

What are the various Issues regarding Classification and Prediction in data mining?

Ginni
Ginni
Updated on 22-Nov-2021 15K+ Views

There are the following pre-processing steps that can be used to the data to facilitate boost the accuracy, effectiveness, and scalability of the classification or prediction phase which are as follows −Data cleaning − This defines the pre-processing of data to eliminate or reduce noise by using smoothing methods and the operation of missing values (e.g., by restoring a missing value with the most generally appearing value for that attribute, or with the best probable value established on statistics). Although various classification algorithms have some structures for managing noisy or missing information, this step can support reducing confusion during learning.Relevance ...

Read More

How to change the color of line in xyplot in R?

Nizamuddin Siddiqui
Nizamuddin Siddiqui
Updated on 22-Nov-2021 597 Views

To change the color of line in xyplot, we can use col argument.For example, if we have two vectors say X and Y and we want to create a red colored xyplot between X and Y then we can use the following command −xyplot(x~y,type="l", col="red")Check out the below example to understand how it works.ExampleTo change the color of line in xyplot, use the code given below −set.seed(123) library(lattice) xyplot(1:5~rpois(5,5),type="l",col="blue")OutputIf you execute the above given code, it generates the following output −

Read More

How to display outliers in boxplot with different shape in base R?

Nizamuddin Siddiqui
Nizamuddin Siddiqui
Updated on 22-Nov-2021 817 Views

To display outliers in boxplot with different shape in base R, we can use outpch argument in boxplot.For example, if we have a vector called X that contains some outliers then we can create a boxplot of X with different shape of outliers by using the below given command −boxplot(X,outpch=17)ExampleTo display outliers in boxplot with different shape in base R, use the code given below −x

Read More

What is Data Classification?

Ginni
Ginni
Updated on 22-Nov-2021 611 Views

Classification is a data mining approach used to forecast team membership for data instances. It is a two-step procedure. In the first step, a model is built defining a predetermined set of data classes or approaches. The model is developed by considering database tuples defined by attributes.Each tuple is considered to belong to a predefined class, as decided by one of the attributes, known as the class label attribute. In the framework of classification, data tuples are also defined as samples, examples, or objects. The data tuples analyzed to develop the model jointly form the training data set. The single ...

Read More

How to change the color of box of boxplot in base R?

Nizamuddin Siddiqui
Nizamuddin Siddiqui
Updated on 22-Nov-2021 13K+ Views

To change the color of box of boxplot in base R, we can use col argument inside boxplot function.For example, if we have a vector called V and we want to create a boxplot of V without red colored box then we can use the following command −boxplot(x,col="red")ExampleTo change the color of box of boxplot in base R, use the code given below −x

Read More

What are Genetic Algorithms?

Ginni
Ginni
Updated on 22-Nov-2021 742 Views

Genetic algorithms are mathematical structures using the procedure of genetic inheritance. They have been successfully used to a broad variety of analytic issues. Data mining can connect human understanding with automatic analysis of information to find a design or key relationships.Given a large database represented over several variables, the objective is to effectively find the most interesting design in the database. Genetic algorithms have been used to recognize interesting designs in some software. They generally are used in data mining to enhance the execution of other algorithms, such as decision tree algorithms, another association rule.Genetic algorithms needed a specific data ...

Read More

How to change the color of outliers in base R boxplot?

Nizamuddin Siddiqui
Nizamuddin Siddiqui
Updated on 22-Nov-2021 2K+ Views

To change the color of outliers in base R boxplot, we can use outcol argument in boxplot function.For example, if we have a vector called X that contains some outliers then we can create a boxplot of X with blue color outliers by using the below given command −boxplot(X,outcol="red")ExampleTo change the color of outliers in base R boxplot, use the code given below: −x

Read More

What are the applications for Neural Networks?

Ginni
Ginni
Updated on 22-Nov-2021 833 Views

A neural network is an array of algorithms that endeavors to identify fundamental relationships in a set of data through a process that mimics the techniques the human brain operates. In this sense, neural networks refer to systems of neurons, either organic or artificial.Neural networks are applicable in virtually every situation in which a relationship between the predictor variables (independents, inputs) and predicted variables (dependents, outputs) exists, even when that relationship is very complex and not easy to articulate in the usual terms of “correlations” or “differences between groups.”There are various applications of Neural Networks which are as follows −Detection ...

Read More

How to test if strings stored in a vector are present in an R list?

Nizamuddin Siddiqui
Nizamuddin Siddiqui
Updated on 22-Nov-2021 206 Views

To test if strings stored in a vector are present in an R list or not, we can use mapply function. For example, if we have a vector of strings say V and a list called LIST then we can check whether elements in V are present in LIST by using the following command − mapply(`%in%`,V,LIST)Example 1Following snippet creates a vector and list −x

Read More

Find the frequency of successive occurrences less than equal to a threshold in an R data frame column?

Nizamuddin Siddiqui
Nizamuddin Siddiqui
Updated on 22-Nov-2021 340 Views

To find the frequency of successive occurrences less than a threshold value in an R data frame column, we can use rle function along with sum function.Check out the below given examples to understand how it can be done.Example 1Following snippet creates a sample data frame −x

Read More
Showing 47131–47140 of 61,297 articles
Advertisements