Displaying 1 result from an estimated 1 matches for "mal1".
Did you mean:
mail1
2007 Apr 11
1
Random Forest Imputations
...- 280 records with 3 columns - TotBasal Area, Stem density and Volume
yref <- y[1:230,] #Keeping 1st 230 records as reference records
want to set 0 to y values for records 231 to 280..
yimp <- y[231:280,] #records for which we want to impute the basal area,
stem density and volume
mal1 <- yai(x=x, y=yref, method="mahalanobis", k=1, noRefs = TRUE) # This
works fine for mahalanobis, msn, gnn, raw and Euclidean
Want to do a similar thing with random forest where the 1st 230 records
alone should be used for calculating Nearest Neighbours for the records with
number 231...