search for: kknn

Displaying 9 results from an estimated 9 matches for "kknn".

Did you mean: kann
2010 Jun 01
1
BreastCancer Dataset for Classification in kknn
Dear All, I'm getting a error while trying to apply the BreastCancer dataset (package=mlbench) to kknn (package=kknn) that I don't understand as I'm new to R. The codes are as follow: rm = (list = ls()) library(mlbench) data(BreastCancer) library(kknn) BCancer = na.omit(BreastCancer) d = dim(BCancer)[1] i1 = seq(1, d, 2) i2 = seq(2, d, 2) t1 = BCancer[i1, ] t2 = BCancer[i2, ]...
2010 Jul 16
3
Help with Sink Function
...mple, select = -pID50) reducedSample <- subset(reducedSample, select = -id) for (i in 1:iterations) { miceSample <- sample(combined[,-c(1,2)],nvars, replace=FALSE) miceSample$pID50 <- combined$pID50 miceTestSample <- miceSample[47:55,] miceTrainSample <- miceSample[1:46,] fit.kknn <- kknn(pID50~., miceTrainSample, miceTestSample) table(miceTestSample$pID50, fit.kknn$fit) (fit.train1 <- train.kknn(pID50~., miceTrainSample, kmax=15, kernel=c("rectangular"), distance=1)) predictedTrain <- predict(fit.train1, miceTrainSample, miceTrainSample$pID50) pID50T...
2005 Mar 21
1
How to do knn regression
How can I do a simple k nearest neighbor regression in R? My training data have 1 predictor and 1 outcome, both are numeric. I also need to use FPE and SC to find the optimal model. I know there is knn() in class package, but it's for knn classification. I also find a kknn package. What function should I use? Thanks in advance! Menghui
2017 Aug 01
1
How automatic Y on install y/n prompts?
...;relaxo","ordinalNet","rrf","frbs","extraTrees"," > ipred","elasticnet","bst","brnn","Boruta","arm","elmNN"," > evtree","extraTrees","deepnet","kknn","KRLS","RSNNS","partDSA","plsRglm"," > quantregForest","ranger","inTrees") > >> new.packages <- list.of.packages[!(list.of.packages %in% > >> installed.packages()[,"Package"])] > >&gt...
2017 Aug 01
0
How automatic Y on install y/n prompts?
...;,"ordinalNet","rrf","frbs","extraTrees"," >> ipred","elasticnet","bst","brnn","Boruta","arm","elmNN"," >> >evtree","extraTrees","deepnet","kknn","KRLS","RSNNS","partDSA","plsRglm"," >> quantregForest","ranger","inTrees") >> >> new.packages <- list.of.packages[!(list.of.packages %in% >> >> installed.packages()[,"Package"])]...
2020 Apr 30
5
Instalar paquetes no disponibles para la versión actual
Buenas tardes. Tenía la versión 3.6.0 de R. Quería instalar el paquete edarf, pero decía que no estaba disponible para esa versión. Actualicé R a la versión 4.0.0, que creo que es la última, pero al tratar de reinstalar forestFloor, me dice que no está disponible para la versión 4.0.0. He abierto R 3.6.0 directamente, cliqueo install.packages("forestfloor") y ahora me dice que no está
2020 May 01
2
Fwd: Re: Fwd: Re: Instalar paquetes no disponibles para la versión actual
...ruz Rot <marcelino.delacruz en urjc.es <mailto:marcelino.delacruz en urjc.es>> Gracias Marcelino. No tengo formación básica en programación y no siempre estoy seguro de entenderos. Le di a instalarlo desde RStudio, y salió: ERROR: dependencies 'rgl', 'kknn' are not available for package 'forestFloor' He instalado esos dos paquetes y ahora me sale: * installing *source* package 'forestFloor' ... ** package 'forestFloor' successfully unpacked and MD5 sums checked ** libs *** arch - i386 Warning i...
2007 Mar 26
1
Problem in loading all packages all at once
...ot;,"irr","ismev","ISwR","its","iWidgets","JavaGD","JGR","JLLprod","JointGL M","kappalab","Kendall","kernlab") TEMP <- c(TEMP,"KernSmooth","kinship","kknn","klaR","km.ci","KMsurv","knncat","knnFinder","knnTree","kohonen","ks","kza","kzft","labdsv","labstatR","lars","lasso2","latentnet","lattic...
2010 Jul 18
6
CRAN (and crantastic) updates this week
CRAN (and crantastic) updates this week New packages ------------ * allan (1.0) Alan Lee http://crantastic.org/packages/allan Automates Large Linear Analysis Model Fitting * andrews (1.0) Jaroslav Myslivec http://crantastic.org/packages/andrews Andrews curves for visualization of multidimensional data * anesrake (0.3) Josh Pasek http://crantastic.org/packages/anesrake This