Changes in version 1.7-17 (2025-12-18) o fix author url in vignettes Changes in version 1.7-16 (2024-09-16) o fix bug in svmdoc vignette o fix possible glitch in svm.cpp regarding memory allocation Changes in version 1.7-15 o fix bug in read.matrix.csr() Changes in version 1.7-14 (2023-12-06) o fix incomplete arguments to avoid partial matches o fix small bug in svm.cpp (Rprintf() wrongly called) o fix predict.gknn() and predict.svn() to allow for newdata argument with character variables instead of factors (levels are taken from original data). Changes in version 1.7-13 (2023-02-01) o add ORCID ids Changes in version 1.7-12 (2022-10-24) o add tune.gknn() wrapper Changes in version 1.7-11 (2022-06-07) o cosmetic changes Changes in version 1.7-10 o small fix in coef.svm for sparse data Changes in version 1.7-9 (2021-09-16) o Remove configure code testing for gcc 2.96. Changes in version 1.7-8 (2021-07-28) o Bugfixes in gknn(): wrong behavior in case of tied k-nearest neighbors (for use_all=TRUE), and also in case of an overall class tie. Changes in version 1.7-7 (2021-05-23) o Bugfix in examples of cshell() Changes in version 1.7-6 (2021-03-18) o Bugfix in scale_data_frame() - now calls scale() if x is not a data frame. Changes in version 1.7-5 (2021-03-15) o NaiveBayes: better handling od character and logical features o Added: gknn() for generalized k-Nearest Neighbours (using arbitrary proximity measures) o Added: scale_data_frame() for scaling the numeric columns of a data frame. Changes in version 1.7-4 (2020-10-14) o Bug fix: "inverse" argument for class.weights argument in svm.default() did not work Changes in version 1.7-2 (2019-06-05) o Change license to GPL-2 OR GPL-3 o add coef() method for SVMs with linear kernel Changes in version 1.7-1 (2019-03-19) o add warning in predict.naiveBayes() if the variable type (numeric/factor) does not match for training and new data. o Fix bug in tune when parameter space is sampled o Fix formula interface for NaiveBayes to account for variable removal Changes in version 1.7-0 (2018-07-28) o Bug fix in lca() o The class.weights argument of svm() now accepts "inverse", setting the weights inversely proportional to the class distribution o predict.naiveBayes now fixes the factor levels of newdata to be identical with the training data. o libsvm updated to version 3.23 Changes in version 1.6-8 (2017-02-02) o add and use native symbols for C-code o naiveBayes() now supports logical variables Changes in version 1.6-7 (2015-08-05) o fix some bug in handling weights in svm.default() Changes in version 1.6-6 (2015-07-17) o fix numeric issue in classAgreement() o add functions from recommended packages to NAMESPACE o fix bug in svm.default (incorrect handling of subset= argument) o fix bug in predict.svm (new data with NA in response got removed) o residuals are now correctly computed for regression in case of scaled data Changes in version 1.6-5 o hamming.distance() no longer converts input to binary o tune() now uses mean() to aggregate error measures from cross-fold replications Changes in version 1.6-4 (2014-09-01) o remove library("SparseM") statements in code, use namespace semantics instead o Fix memory leak and uninitialized read error in write.svm() o add warning in predict.svm() if probabilities should be predicted, but the model was not trained with probability = TRUE o add eps to laplace smoothing in predict.naiveBayes() to account for close-zero probabilities also. o use R's random number generator for cross-validation and probability computation instead of the system one. Changes in version 1.6-3 (2014-03-17) o remove require() statements and dependency on stats Changes in version 1.6-2 (2014-01-11) o vignettes moved to vignettes folder. o libsvm upgrade to version 3.17, getting rid of stdout and stderr Changes in version 1.6-1 (2012-09-12) o write.matrix.csr() now accepts a fac argument similar to read.matrix.csr(), writing factor levels instead of the numeric codes. o naiveBayes() uses a numerically more stable formula for calculating the a-posterior probabilities. o predict.naiveBayes() now accepts data with predictors in an order different from the training data, and also ignores variables not in the model (especially the response variable). o svm() checks whether parameters which are passed to the C-code are set to NULL to avoid segfaults. Changes in version 1.6 (2011-09-12) o bug fix in tune with sparse matrices o version bump of libsvm to 3.1 o Fixed partial argument matching in several places o NEWS file changed to .Rd format and moved to inst/ Changes in version 1.5-28 o bug fix in svm cross validation Changes in version 1.5-27 (2011-07-29) o svm() now accepts to set the random seed for libsvm. Changes in version 1.5-26 (2011-05-22) o tune() now allows user-specified error functionals. Changes in version 1.5-25 (2011-03-05) o add auto-coercion from Matrix and simple_triplet_matrix objects to predict.svm() o Bug fix in tune.svm(): when a data frame was provided as validation sample, the response variable was not correctly extracted Changes in version 1.5-24 (2010-04-21) o Cosmetics: use sQuote() instead of hard-coded quotes in warnings and error messages in several places o Bug fix in labeling of decision values o add decision.values of fitted values to a svm object Changes in version 1.5-23 (2010-03-03) o Bug fix in svm(): Error messages returned by the C function have not been correctly handled, causing segfaults. Changes in version 1.5-22 (2009-12-14) o minor fix Changes in version 1.5-21 (2009-11-11) o Allow sparse_triplet_matrix objects for svm() Changes in version 1.5-20 (2009-10-19) o More flexible interface to naiveBayes() o Fix bugs in docs for kurtosis() Changes in version 1.5-19 (2009-01-06) o Fix bugs in read.matrix.csr() and write.matrix.csr() o Allow Matrix objects for svm() o Version bump of libsvm to 2.88 Changes in version 1.5-18 (2008-04-01) o Improve DESCRIPTION install metadata Changes in version 1.5-17 (2007-10-19) o tune() now also returns a dispersion measure of all training samples. o Bootstrap is done _with_ replacement. o tune.svm() now also accepts the epsilon parameter. Changes in version 1.5-16 (2006-10-09) o write.svm() now also stores the scaling information for the dependent variable. o data sets Glass, HouseVotes84, and Ozone removed (are in package mlbench) o merged help pages for naiveBayes() and predict.naiveBayes() Changes in version 1.5-15 (2006-09-20) o Bug in NAMESPACE file fixed (conditional import from utils failed in R 2.3.1) Changes in version 1.5-14 (2006-09-20) o predict.naiveBayes() sped up o Bug fix in plot.svm() (error in case of training categories without predictions) o methods now added to Suggests, and grDevices to Imports Changes in version 1.5-13 (2006-02-07) o Bug fix: sparse handling was broken since 1.5-9 Changes in version 1.5-12 (2006-01-11) o update to libsvm 2.81 o laplace smoothing added to naiveBayes() Changes in version 1.5-11 (2005-09-19) o tune(): allow list of vectors as tune parameter range so that class.weights in svm-models can be tuned o better default color palette for plot.tune() o New function probplot() for probability plots Changes in version 1.5-10 (2005-09-03) o Bug fix: class probability prediction was broken since 1.5-9 Changes in version 1.5-9 (2005-07-25) o tune() now returns the split indices into training/validation set. Information added about cross validation o plot.svm(): wrong labeling order in levels fixed o predict.svm() now adds row numbers to predictions, and correctly handles the na.action argument using napredict(). Changes in version 1.5-8 (2005-04-06) o Update to libsvm 2.8 (uses a faster optimization algorithm) Changes in version 1.5-7 (2005-02-25) o read.matrix.csr() did not work correctly with matrix-only objects. o svm(): Fixed wrong labeling for predicted decision values and probabilities in case of a Class factor created from a non-ordered character vector Changes in version 1.5-6 (2005-01-14) o cmeans() is substantially enhanced, with a complete rewrite of the underlying C code. It is now possible to specify case weights and the relative convergence tolerance. For Manhattan distances, centers are correctly computed as suitably weighted medians (rather than means) of the observations. The print method for fclust objects is now more in parallel with related methods, and registered in the name space. Changes in version 1.5-5 (2004-12-27) o read.octave() is now deprecated in favor of a substantially enhanced version in package foreign for reading in files in Octave text data format. Changes in version 1.5-4 (2004-12-21) o Use lazy loading Changes in version 1.5-3 (2004-12-17) o New arguments in plot.svm() for customizing plot symbols and colors o Fix of broken code in plot.svm() for the fill = FALSE (non-default) case Changes in version 1.5-2 (2004-12-02) o Fixed memory leak in svm() Changes in version 1.5-1 (2004-10-04) o Fixed C++ style comments Changes in version 1.5-0 (2004-10-01) o Example for weighting added in svm() help page o upgrade to libsvm 2.6: support for probabilities added Changes in version 1.4-1 (2004-06-15) o NaiveBayes() is more accurate for small probabilities o call is more sensible in tune(), tune.foo(), and best.foo() objects. o control parameter of tune() changed to tunecontrol to solve name space conflict with training methods using control themselves o new function matchControls() o fixed a bug in bclust() triggered when a cluster had only one center Changes in version 1.4-0 (2004-04-20) o adjusted to restructering of R base packages o added a NAMESPACE file o Function write.svm() now also creates a file with scaling information Changes in version 1.3.16 o Small bug fixes in predict.svm() and plot.svm() o Function write.svm() added which saves models created with svm() in the format libsvm can read. Changes in version 1.3.15 o Bug fix in plot.svm(): non-SVs had wrong colors o data sets Ozone and Glass added Changes in version 1.3.14 o Several Docu bug fixes (for functions plot.bclust(), impute(), stft(), svm.formula(), svm.default()) o upgrade to libsvm 2.5. New feature: predict.svm() optionally returns decision values for multi-class classification o svm-vignette gave warnings due to rank deficiency in Ozone data o naiveBayes() now also supports metric predictors, and the standard interface. Changes in version 1.3.13 o Bug fixes in svm: • Prediction of 1 single observation gave an error • Only k instead of k*(k-1)/2 rho coefficients have been returned by svm (k number of classes), having caused nonsensical results for k > 3. o The svmdoc file in inst/doc now is a vignette. Changes in version 1.3-12 (2003-09-04) o The x argument of cmeans() and bclust() is now automatically coerced to a matrix. o Started tests directory o New method: naiveBayes() classifier for categorical predictors o optimization of read.matrix.csr() which used to be rather slow o Bug fixes for the svm() interface: when the data included categorical predictors, the scaling procedure did not only affect the metric variables, but also the binary variables in the model matrix. o Function scaclust() removed. Bug has to be fixed. Changes in version 1.3-10 (2003-03-06) o Now supports libsvm 2.4 Changes in version 1.3-9 (2003-03-06) o rdiscrete() is now simply a wrapper for sample() and provided for backwards compatibility only. o Minor bug fixes in svm() and tune() (mostly interface issues). New plot function for objects of class svm working for the 2d-classification case. Changes in version 1.3-7 o svm() now supports the matrix.csr format, as handled by the SparseM package. Predictors and response variable (if numeric) are scaled per default. o A new plot() function for svm() objects visualizes classification models by plotting data and support vectors in the data input space, along with the class borders. o A new generic tune() function allows parameter tuning of arbitrary functions using, e.g., boot strapping, or cross validation. Several convenience wrappers (e.g., for svm(), nnet(), and rpart()) do exist. Changes in version 1.3-3 (2002-06-20) o Bug fixes in various bclust routines: stop() if required packages are not found o svm() now interfaces LIBSVM 2.35 which is a bug fix release. A call with invalid parameters now no longer causes R to be terminated, and the C(++) code became completely silent. o Bugs fixed in fclustIndex() function and print.fclust(). Changes in version 1.3-1 (2002-05-14) o Functions rmvnorm() and dmvnorm() for multivariate normal distributions have been moved to package mvtnorm. o Bug fixes in print.fclust() and fclustIndex(). o fixed floyd.c (ANSI C pedantic warnings) Changes in version 1.2-1 (2001-10-24) o Bug fixes in cmeans.c, cshell.c and scaclust.c (R header files included and unused variables removed) o Bug fixes in Rsvm.c and svm.R (incomplete list of returned Support Vectors). o Encapsulate kmeans call in bclust() in a try() construct, because kmeans gives an error when a cluster becomes empty (which can happen for almost every data set from time to time). Changes in version 1.2-0 (2001-10-04) o Added functions for bagged clustering, see help(bclust). o read.pnm() and write.pgm() have been removed from e1071, much improved versions can now be found in the new packagepixmap. o Lots of documentation updates and bugfixes. o Support Vector Machine interface now upgraded to libsvm V. 2.31 featuring: • Multi-Class Classification • weighting of classes for C-classification (for asymmetric sample sizes) • nu-regression • Formula Interface • k-fold cross-validation In addition, an introductory article is provided in directory docs/ (svmdoc.pdf). o classAgreement() now features an option to match factor levels o updated API design for the fuzzy clustering functions (cmeans(), cshell(), scaclust()). Documentation updates and function name changes (cmeanscl() to cmeans(), validity.measures() to fclustIndex())