Package AnDE. R topics documented: February 19, 2015

Similar documents
Package assortnet. January 18, 2016

Package datasets.load

Package desirability

Package FastKNN. February 19, 2015

Package arulescba. April 24, 2018

Package maxent. July 2, 2014

Package tmpm. February 29, 2016

Package arc. April 18, 2018

Package cwm. R topics documented: February 19, 2015

Package rpst. June 6, 2017

Package maboost. R topics documented: February 20, 2015

Package PrivateLR. March 20, 2018

Package CatEncoders. March 8, 2017

Package sbrl. R topics documented: July 29, 2016

Package curry. September 28, 2016

Package svmpath. R topics documented: August 30, Title The SVM Path Algorithm Date Version Author Trevor Hastie

Package fasttextr. May 12, 2017

Package gbts. February 27, 2017

Package kernelfactory

Package FLR. R topics documented: February 19, Title Fuzzy Logic Rule Classifier Version 1.0 Date

Package RYoudaoTranslate

Package missforest. February 15, 2013

Package naivebayes. R topics documented: January 3, Type Package. Title High Performance Implementation of the Naive Bayes Algorithm

Package gsalib. R topics documented: February 20, Type Package. Title Utility Functions For GATK. Version 2.1.

Package RLT. August 20, 2018

Package reval. May 26, 2015

Package QCAtools. January 3, 2017

Package vinereg. August 10, 2018

Package rferns. November 15, 2017

Package FSelectorRcpp

Package SAENET. June 4, 2015

Package listdtr. November 29, 2016

Package nonlinearicp

Package eulerian. February 19, Index 5

Package kirby21.base

Package Combine. R topics documented: September 4, Type Package Title Game-Theoretic Probability Combination Version 1.

Package spark. July 21, 2017

Package kerasformula

Package linkspotter. July 22, Type Package

Package wethepeople. March 3, 2013

Package AWR.Kinesis. February 26, 2017

Package horizon. R topics documented: July 3, Type Package Title Horizon Search Algorithm Version 1.2 Date Author Jasper Van doninck

Package smoother. April 16, 2015

Package promote. November 15, 2017

Package nfca. February 20, 2015

Package intcensroc. May 2, 2018

Package inca. February 13, 2018

Package sensory. R topics documented: February 23, Type Package

Package jtrans. August 29, 2016

Package bigreadr. R topics documented: August 13, Version Date Title Read Large Text Files

Package allehap. August 19, 2017

Package blockmatrix. February 19, 2015

Package getopt. February 16, 2018

Package sqliter. August 29, 2016

Package subrank. June 24, 2018

Package PCADSC. April 19, 2017

Package preprocomb. June 26, 2016

Package lmesplines. R topics documented: February 20, Version

Package ArrayBin. February 19, 2015

Package egonet. February 19, 2015

Package MicroStrategyR

Package ECctmc. May 1, 2018

Package embed. November 19, 2018

Package crossword.r. January 19, 2018

Package anidom. July 25, 2017

Package gibbs.met. February 19, 2015

Package BASiNET. October 2, 2018

Package mdftracks. February 6, 2017

Package hgam. February 20, 2015

Package spatialtaildep

Package RCA. R topics documented: February 29, 2016

Package tbart. February 20, 2015

Package robustreg. R topics documented: April 27, Version Date Title Robust Regression Functions

Package balance. October 12, 2018

Package RandPro. January 10, 2018

Package ICsurv. February 19, 2015

Package FisherEM. February 19, 2015

Package signalhsmm. August 29, 2016

Package fastdummies. January 8, 2018

Package MergeGUI. R topics documented: February 19, 2015

Package zoomgrid. January 3, 2019

Package TANDEM. R topics documented: June 15, Type Package

Package gensemble. R topics documented: February 19, 2015

Package corclass. R topics documented: January 20, 2016

Package imgur. R topics documented: December 20, Type Package. Title Share plots using the imgur.com image hosting service. Version 0.1.

Package CuCubes. December 9, 2016

Package CompGLM. April 29, 2018

Package restorepoint

Package FractalParameterEstimation

Package yhatr. R topics documented: May 9, Type Package Title R Binder for the Yhat API Version Date

Package rngsetseed. February 20, 2015

Package Cubist. December 2, 2017

Package raker. October 10, 2017

Package subsemble. February 20, 2015

Package DRaWR. February 5, 2016

Package ecoseries. R topics documented: September 27, 2017

Package clipr. June 23, 2018

Package CONOR. August 29, 2013

Package crochet. January 8, 2018

Package svapls. February 20, 2015

Transcription:

Package AnDE February 19, 2015 Title An extended Bayesian Learning Technique developed by Dr. Geoff Webb AODE achieves highly accurate classification by averaging over all of a small space. Version 1.0 Author Sai Teja Ranuva & Nayyar Zaidi Maintainer Sai Teja Ranuva <ranuva.teja@gmail.com> Depends R (>= 2.14.0),discretization, functional,foreign,stringr License GPL-3 Collate '.R' NeedsCompilation no Repository CRAN Date/Publication 2013-07-25 12:43:59 R topics documented:............................................. 2 calweight.......................................... 3 cutx............................................. 3 discretizer.......................................... 4 distributionforinstance................................... 5 indexcalc.......................................... 5 mdl............................................. 6 predict.aode........................................ 7 setvar............................................ 8 training........................................... 8 Index 10 1

2 This function builds the model using the AODE algorithm which can then be used classification. (train, mestimate = 1, weighted = FALSE, subsumption = FALSE, S = 100) train mestimate weighted subsumption S data.frame : training data. It should be a data frame. AODE works only discretized data. It would be better to discreetize the data frame before passing it to this function.however, discretizes the data if not done before hand. It uses an R package called discretization for the purpose. It uses the well known MDL discretization technique.(it might fail sometimes) optional numeric optional boolean optional boolean optional numeric subsumption constant This is the training phase of the algorithm. Necessary count and probability tables are generated which will used for the prediction purpose. An object of class AODE saiteja ranuva Examples require("datasets") (iris,mestimate=1) (iris) (iris,weighted=true)

calweight 3 calweight calweight This function calculates mutual information between the attr and class. calweight() list. this is the list which has all the required variables in it. This function is called when weighted flag is set list. updated value saiteja ranuva cutx cutx This function takes in a data frame to be discretized. The data type of the columns are important. Only the numeric columns are discretized. cutx(data, cutp) data cutp data.frame. This data frame is discretized and returned. list - A list of cutp points obtained from training data This uses the cut points generated while discretizing training data to discretize test data

4 discretizer data data.frame. This the discretized data frame saiteja ranuva discretizer discretizer This function takes in a data frame to be discretized. The data type of the columns are important. Only the numeric columns are discretized. discretizer(data) data data.frame. This data frame is discretized and returned. Here we use Fayyad s mdl discretization method. Discretizing data by MDL method as implemented in the package discretization data data.frame. This the discretized data frame saiteja ranuva

distributionforinstance 5 distributionforinstance distributionforinstance predicts class of a given instance based on the model distributionforinstance(x, ) x instance to be classified list. this is the list which has all the required variables in it. details to be added class integer predicted class of the instance sai teja ranuva indexcalc fun1 Calculates all the array and matrix indices required. indexcalc() list. this is the list which has all the required variables in it. - add later

6 mdl a list sai teja ranuva See Also setvar mdl mdl This function takes in a data frame to be discretized. The data type of the columns are important. Only the numeric columns are discretized. mdl(data) data data.frame. This data frame is discretized and returned. Here we use Fayyad s mdl discretization method. Discretizing data by MDL method as implemented in the package discretization list of cut points and the discretized data frame saiteja ranuva

predict.aode 7 predict.aode predict This is a generic function. This function predicts the class of the test data and returns a vector of predicted values. ## S3 method for class AODE predict(object, test,...) object test object of class AODE test data frame. If the training data was discretized, then the same cut points shall be used to discretize the test data. So obviously if the training was not discretized, test data should also not be discretized.... extra arguments which might be needed in future Written in line with the E1071 package. class vector containing the predicted class distribution of the test data sai teja ranuva Examples data<-iris ode<-(data) predict(ode,iris)

8 training setvar setvar sets the required variables setvar() list. this is the list which has all the required variables in it. calculates the required space for indices and allocates list updated value of the list sai teja ranuva training training Calculates the count matrices. training() list. this is the list which has all the required variables in it. class parent count and class parent child count are calculated

training 9 list. updated value sai teja ranuva

Index, 2 calweight, 3 cutx, 3 discretizer, 4 distributionforinstance, 5 indexcalc, 5 mdl, 6 predict.aode, 7 setvar, 6, 8 training, 8 10