View source: R/removeNovelty.R
removeNovelty | R Documentation |
This function is used to remove the identified novelty cells.
removeNovelty(outlier_cells, hvt_results)
outlier_cells |
Vector. A vector with the cell number of the identified novelty |
hvt_results |
List. A list having the results of the compressed map i.e. output of |
A list of two items
[[1]] |
Dataframe of novelty cell(s) |
[[2]] |
Dataframe without the novelty cell(s) from the dataset used in model training |
Shantanu Vaidya <shantanu.vaidya@mu-sigma.com>
trainHVT
scoreLayeredHVT
data("EuStockMarkets")
hvt.results <- trainHVT(EuStockMarkets, n_cells = 60, depth = 1, quant.err = 0.1,
distance_metric = "L1_Norm", error_metric = "max",
normalize = TRUE,quant_method="kmeans")
identified_Novelty_cells <<- c(2, 10)
output_list <- removeNovelty(identified_Novelty_cells, hvt.results)
data_with_novelty <- output_list[[1]]
data_without_novelty <- output_list[[2]]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.