Weka-3-5-7 Changelog

Designed for use with Apache Ant.


2007-12-17 01:29 mhall
Can now make use of attribute weights
  • classifiers/bayes/NaiveBayes.java (1.22)
2007-12-16 22:17 fracpete
moved the remaining dynamic discovery of classes (via ClassDiscovery.find) into GenericPropertiesCreator.props/GenericObjectEditor.props. This should enable environments without the possibility of dynamic class discovery, e.g., Eclipse, to use these classes as well (as long GenericObjectEditor.props is maintained)
  • core/converters/ConverterUtils.java (1.14)
  • core/stemmers/SnowballStemmer.java (1.7)
  • gui/visualize/PrintableComponent.java (1.8)
2007-12-16 22:17 fracpete
moved the remaining dynamic discovery of classes (via ClassDiscovery.find) into GenericPropertiesCreator.props/GenericObjectEditor.props. This should enable environments without the possibility of dynamic class discovery, e.g., Eclipse, to use these classes as well (as long GenericObjectEditor.props is maintained)
  • core/ClassDiscovery.java (1.6)
  • gui/GenericObjectEditor.java (1.58)
  • gui/GenericObjectEditor.props (1.118)
  • gui/GenericPropertiesCreator.props (1.17)
  • gui/experiment/DatasetListPanel.java (1.26)
  • gui/experiment/OutputFormatDialog.java (1.8)
  • gui/experiment/ResultsPanel.java (1.43)
  • gui/explorer/ClassifierPanel.java (1.110)
2007-12-13 21:32 mhall
Changed so that only the weka.jar goes into the OS X application as a resource, all other files go into a separate directory in the disk image
  • build.xml (1.41)
2007-12-13 02:45 mhall
branches:  1.1.2;  1.1.4;
Initial import of Mac OS X icon
  • gui/weka_icon.icns (1.1)
2007-12-12 21:40 fracpete
branches:  1.1.2;
filter for selection a random subset of attributes, either percentage or absolute number of attributes
  • filters/unsupervised/attribute/RandomSubset.java (1.1)
2007-12-12 21:03 mhall
Fixed return value for accessor method for sample size.
  • filters/unsupervised/instance/ReservoirSample.java (1.2)
2007-12-10 20:22 fracpete
max number of rows to display gets only output in the infopanel, if we really hit the max number of rows
  • gui/sql/SqlViewer.java (1.6)
2007-12-04 00:29 mhall
Added an option for using a user-supplied threshold value
  • classifiers/meta/ThresholdSelector.java (1.40)
2007-12-01 03:57 fracpete
initModel is now also called in setModelFile(File) and getCapabilities(), otherwise the capabilities cannot be determined correctly:
https://list.scms.waikato.ac.nz/mailman/htdig/wekalist/2007-December/011783.html
  • classifiers/misc/SerializedClassifier.java (1.3)
2007-11-28 03:04 mhall
Initial import of Martin's feature selection stuff.
  • attributeSelection/LFSMethods.java (1.1)
  • attributeSelection/LinearForwardSelection.java (1.1)
  • attributeSelection/SubsetSizeForwardSelection.java (1.1)
2007-11-27 03:30 mhall
Added Martin Guetlein's bug fix for merit caching
  • attributeSelection/BestFirst.java (1.28)
2007-11-23 02:44 mhall
Fixed a potential division by zero in out-of-bag routine
  • classifiers/meta/Bagging.java (1.40)
2007-11-21 22:37 fracpete
added capability MISSING_CLASS_VALUES (kernels don't care about class)
  • classifiers/functions/supportVector/PolyKernel.java (1.7)
  • classifiers/functions/supportVector/Puk.java (1.3)
  • classifiers/functions/supportVector/RBFKernel.java (1.9)
  • classifiers/functions/supportVector/StringKernel.java (1.7)
2007-10-30 03:27 mhall
When saving trained model to binary file now saves training header (like the Explorer does). Similarly, when loading binary model attempts to load the header from the stream as well.
  • classifiers/Evaluation.java (1.83)
2007-10-29 20:34 fracpete
support of an attribute range to base the distance calculation on is now mandatory for all distance functions
  • core/DistanceFunction.java (1.7)
2007-10-28 23:41 fracpete
new distance functions (Manhattan and Chebyshev) which share the same abstract superclass as the Euclidean distance function: NormalizableDistance
  • core/EuclideanDistance.java (1.12)
2007-10-28 23:41 fracpete
branches:  1.1.2;
new distance functions (Manhattan and Chebyshev) which share the same abstract superclass as the Euclidean distance function: NormalizableDistance
  • core/ChebyshevDistance.java (1.1)
  • core/ManhattanDistance.java (1.1)
  • core/NormalizableDistance.java (1.1)
2007-10-28 23:31 fracpete
added scale and transformation parameter to get different range output than [0,1]
  • filters/unsupervised/attribute/Normalize.java (1.12)
2007-10-25 01:59 fracpete
branches:  1.3.2;
PCA filter based on the attribute selection evaluator weka.attributeSelection.PrincipalComponents
  • filters/unsupervised/attribute/PrincipalComponents.java (1.3)
2007-10-09 23:08 mhall
Now throws an exception if NaN occurs during standardization. This avoids introducing missing values into the filtered data set in this situation.
  • filters/unsupervised/attribute/Standardize.java (1.11)
2007-10-06 22:44 fracpete
removed "final" from getOutputFormat method declaration since that caused VerifyError exceptions in derived filters on Mac Books:
https://list.scms.waikato.ac.nz/mailman/htdig/wekalist/2007-October/011339.html
  • filters/unsupervised/attribute/PotentialClassIgnorer.java (1.7)
2007-09-20 21:43 fracpete
test for missing values missed the last column (in case it wasn't the class attribute!)
  • core/Capabilities.java (1.24)
2007-09-10 21:53 fracpete
mathematical expression got only evaluated for toString/getMeasure, but for actual setup of filter/classifier. Didn't pop up as error since most Weka schemes do NOT check the input in the get-method (you only get wonky results). Was discovered by M. Fatih Akay using LibSVM, since LibSVM threw an exception in case of invalid parameters, but the values would have been valid IF the expression would have been evaluated.
  • classifiers/meta/GridSearch.java (1.8)
2007-09-07 07:05 fracpete
classifyInstance returned the probability instead of the index from the class probability array for nominal classes (in case of average/product/majority/min/max rule). Thanks to Samuel Robert Reid
  • classifiers/meta/Vote.java (1.18)
2007-09-07 07:02 fracpete
tokenizer could not be serialized due to unserializable StringTokenizer class. changed m_Tokenizer to transient.
  • core/tokenizers/WordTokenizer.java (1.2)
2007-09-03 22:11 fracpete
removed classifyInstance method, since there were discrepancies between the labels returned by classifyInstance and the best one returned by distributionForInstance (svm_predict returned other labels than svm_predict_probability???)
used version of libsvm: 2.84
  • classifiers/functions/LibSVM.java (1.12)
2007-08-30 23:11 mhall
Fixed bug that prevented quoted ? from being parsed as a label rather than a missing value
  • core/converters/CSVLoader.java (1.16)
2007-08-26 23:08 mhall
Fixed inconsistent naming of toolTipText method
  • classifiers/bayes/AODEsr.java (1.2)
2007-08-23 02:25 mhall
Fixed bug that caused stack overflow by removing all uses of Utils.sm and Utils.gr
  • classifiers/trees/RandomTree.java (1.19)
2007-08-22 02:00 mhall
Initial import. Contributed by Geoff Webb's group.
  • classifiers/trees/J48graft.java (1.1)
  • classifiers/trees/j48/C45PruneableClassifierTreeG.java (1.1)
  • classifiers/trees/j48/GraftSplit.java (1.1)
2007-08-20 00:58 fracpete
stopwords no longer get ignored
  • filters/unsupervised/attribute/StringToWordVector.java (1.20)
2007-08-09 22:36 fracpete
savers were too restrictive in writeBatch method: instead ALWAYS having a file to write to, one needs only either a file OR a stream (both are used through a Writer)
  • core/converters/ArffSaver.java (1.7)
  • core/converters/CSVSaver.java (1.8)
  • core/converters/LibSVMSaver.java (1.3)
  • core/converters/XRFFSaver.java (1.4)
2007-08-01 04:06 fracpete
added general Jython support
Jython classes that are derived from weka.classifiers.Classifier can be executed with the wrapper classifier weka.classifiers.JythonClassifier (serializing/deserializing a trained model is unfortunately NOT possible, a call of buildClassifier is always necessary after deserialization)
  • core/SerializedObject.java (1.11)
2007-08-01 04:06 fracpete
branches:  1.1.2;
added general Jython support
Jython classes that are derived from weka.classifiers.Classifier can be executed with the wrapper classifier weka.classifiers.JythonClassifier (serializing/deserializing a trained model is unfortunately NOT possible, a call of buildClassifier is always necessary after deserialization)
  • classifiers/JythonClassifier.java (1.1)
  • core/Jython.java (1.1)
  • core/JythonObject.java (1.1)
  • core/JythonSerializableObject.java (1.1)
2007-07-15 21:36 mhall
Instance variable holding an Evaluation object was not set to null after buildClassifier, resulting in not serializable exception in Experimenter
  • classifiers/rules/DecisionTable.java (1.44)
2007-07-11 21:52 fracpete
added the "output of additional attributes" option to the "more options" dialog in order to output attribute values alongside the predictions (just like on the commandline with "-p")
  • gui/explorer/Explorer.props (1.6)
  • gui/explorer/ExplorerDefaults.java (1.4)
2007-07-09 02:41 cvs_rrb
Fix related to Markov blanket correction
  • classifiers/bayes/net/search/global/K2.java (1.7)
  • classifiers/bayes/net/search/global/SimulatedAnnealing.java (1.5)
2007-07-09 02:41 cvs_rrb
Fix related to Markov blanket correction
  • classifiers/bayes/net/search/local/K2.java (1.7)
  • classifiers/bayes/net/search/local/SimulatedAnnealing.java (1.5)
2007-07-09 02:38 cvs_rrb
Markov blanket correction fix
  • classifiers/bayes/net/search/SearchAlgorithm.java (1.8)
2007-07-03 23:48 mhall
Instance weights were being cast to ints for some reason. Removed the casts
  • classifiers/bayes/AODE.java (1.18)
2007-07-03 01:24 mhall
Fixed bug in kthSmallestValue that prevented the largest value from being returned
  • core/Instances.java (1.73)
2007-07-02 04:10 cvs_rrb
Access to nodes (usefull for Bayes network GUI)
  • gui/graphvisualizer/HierarchicalBCEngine.java (1.6)
  • gui/graphvisualizer/LayoutEngine.java (1.6)
2007-07-02 03:59 cvs_rrb
Initialize from Editable Bayes network
  • classifiers/bayes/net/BayesNetGenerator.java (1.13)
2007-07-02 03:58 cvs_rrb
Access from Bayes network GUI
  • classifiers/bayes/net/BIFReader.java (1.13)
2007-07-02 03:58 cvs_rrb
Bayes network algorithm for calculating marginal distributions
  • classifiers/bayes/net/MarginCalculator.java (1.1)
2007-07-02 03:54 cvs_rrb
Icons for Bayes netowrk GUI
  • classifiers/bayes/net/icons/alignbottom.png (1.1)
  • classifiers/bayes/net/icons/alignleft.png (1.1)
  • classifiers/bayes/net/icons/alignright.png (1.1)
  • classifiers/bayes/net/icons/aligntop.png (1.1)
  • classifiers/bayes/net/icons/arrow-s.png (1.1)
  • classifiers/bayes/net/icons/arrow.png (1.1)
  • classifiers/bayes/net/icons/centerhorizontal.png (1.1)
2007-07-02 03:54 cvs_rrb
Icons for Bayes netowrk GUI
  • classifiers/bayes/net/icons/centervertical.png (1.1)
  • classifiers/bayes/net/icons/copy.png (1.1)
  • classifiers/bayes/net/icons/cut.png (1.1)
  • classifiers/bayes/net/icons/help.png (1.1)
  • classifiers/bayes/net/icons/layout.png (1.1)
  • classifiers/bayes/net/icons/line-s.png (1.1)
  • classifiers/bayes/net/icons/line.png (1.1)
  • classifiers/bayes/net/icons/lines-s.png (1.1)
  • classifiers/bayes/net/icons/lines.png (1.1)
  • classifiers/bayes/net/icons/new.png (1.1)
  • classifiers/bayes/net/icons/open.png (1.1)
  • classifiers/bayes/net/icons/oval-s.png (1.1)
  • classifiers/bayes/net/icons/oval.png (1.1)
  • classifiers/bayes/net/icons/paste.png (1.1)
  • classifiers/bayes/net/icons/print.png (1.1)
  • classifiers/bayes/net/icons/rect-s.png (1.1)
  • classifiers/bayes/net/icons/rect.png (1.1)
  • classifiers/bayes/net/icons/redo.png (1.1)
  • classifiers/bayes/net/icons/rrect.png (1.1)
  • classifiers/bayes/net/icons/save.png (1.1)
  • classifiers/bayes/net/icons/select-s.png (1.1)
  • classifiers/bayes/net/icons/select.png (1.1)
  • classifiers/bayes/net/icons/spacehorizontal.png (1.1)
  • classifiers/bayes/net/icons/spacevertical.png (1.1)
  • classifiers/bayes/net/icons/undo.png (1.1)
  • classifiers/bayes/net/icons/zoomin.png (1.1)
  • classifiers/bayes/net/icons/zoomout.png (1.1)
2007-07-02 03:51 cvs_rrb
Bayes network GUI
  • classifiers/bayes/net/EditableBayesNet.java (1.1)
  • classifiers/bayes/net/GUI.java (1.1)
2007-07-02 03:49 cvs_rrb
access for Bayes net GUI
  • classifiers/bayes/net/ParentSet.java (1.7)
2007-07-02 03:45 cvs_rrb
Access for Bayes Net GUI
  • gui/graphvisualizer/GraphNode.java (1.5)
2007-07-02 03:44 cvs_rrb
Access for EditableBayesNet
  • classifiers/bayes/BayesNet.java (1.31)
2007-07-01 22:42 mhall
Sebastian has given copyright to UoW
  • core/tokenizers/NGramTokenizer.java (1.2)
2007-06-29 04:00 fracpete
disabled EnsembleLibrary for now due to bugs: craps out if the GOE-editable-object depth is more than 2, e.g., a FilteredClassifier with SMO (the kernel is the third level) generates a StackOverFlowError
  • gui/GUIChooser.java (1.33)
2007-06-29 03:42 fracpete
disabled EnsembleLibrary for now due to bugs: craps out if the GOE-editable-object depth is more than 2, e.g., a FilteredClassifier with SMO (the kernel is the third level) generates a StackOverFlowError
  • gui/Main.java (1.13)
2007-06-26 21:05 fracpete
fixed technical information (booktitle -> journal)
  • classifiers/trees/LMT.java (1.11)
2007-06-26 04:19 mhall
branches:  1.1.2;
file movePublicDomain.sh was initially added on branch waikato.
  • scripts/movePublicDomain.sh (1.1)
2007-06-25 22:50 mhall
This class has been placed into the public domain by the author, Werner Randelshofer
  • gui/SplashWindow.java (1.3)
2007-06-25 02:05 fracpete
de-serializing savers no longer sets the file, since the KnowledgeFlow handles that itself, by using prefix, directory and relation-name for the filename
  • gui/beans/xml/XMLBeans.java (1.8)
2007-06-25 02:02 fracpete
statement variables are now transient (otherwise an exception is raised that these objects aren't serializable)
added checks whether a DB connection is active (after de-serializing for instance)
  • experiment/DatabaseUtils.java (1.32)
2007-06-25 02:01 fracpete
added checks whether a DB connection is active (after de-serializing for instance)
  • core/converters/DatabaseConnection.java (1.7)
2007-06-25 01:59 fracpete
doesn't stumble over '' anymore by replacing it with one single quote (creates an invalid SQL statement)
  • core/converters/DatabaseSaver.java (1.11)
2007-06-25 01:57 fracpete
removed restriction that nominal attributes have to have at least one attribute. ARFF files generated from databases can have empty nominal attributes, e.g., "Summary" from a results table of the Experimenter may not be filled in (only missing values). Such a table could not be loaded again in the Explorer again.
  • core/converters/ArffLoader.java (1.19)
2007-06-22 04:35 mhall
UoW has the copyright.
  • classifiers/functions/LeastMedSq.java (1.16)
2007-06-22 01:25 fracpete
added information about how ROC and AUC are computed, based on this Wekalist post:
https://list.scms.waikato.ac.nz/mailman/htdig/wekalist/2007-June/010386.html
  • classifiers/evaluation/ThresholdCurve.java (1.22)
2007-06-21 23:24 mhall
Changed copyright to University of Waikato as Len gave over the copyright.
  • classifiers/lazy/kstar/KStarCache.java (1.10)
  • classifiers/lazy/kstar/KStarConstants.java (1.7)
  • classifiers/lazy/kstar/KStarNominalAttribute.java (1.6)
  • classifiers/lazy/kstar/KStarNumericAttribute.java (1.6)
  • classifiers/lazy/kstar/KStarWrapper.java (1.6)
2007-06-21 23:13 mhall
Changed copyright notice as Alex has given copyright to the University
  • classifiers/meta/Grading.java (1.12)
  • classifiers/meta/StackingC.java (1.14)
2007-06-21 22:54 mhall
branches:  1.3.2;
Changed copyright back to Haijian as he was not on a scholarship when this code was written.
  • classifiers/trees/BFTree.java (1.3)
  • classifiers/trees/SimpleCart.java (1.3)
2007-06-21 22:17 fracpete
added command "history" to list the current conent of the command history
last X number of commands are saved in $HOME/SimpleCLI.props (X = HistorySize in props file)
  • gui/SimpleCLI.props (1.1)
  • gui/SimpleCLIPanel.java (1.5)
2007-06-20 23:02 fracpete
instead of listing only number of test instances, the split evaluators now list number of training and test instances (like the ClassifierSplitEvaluator)
  • experiment/CostSensitiveClassifierSplitEvaluator.java (1.17)
  • experiment/RegressionSplitEvaluator.java (1.24)
2007-06-20 04:12 fracpete
one Utils.quote call too much
  • filters/Filter.java (1.41)
2007-06-20 01:39 fracpete
source code generation now generates a static Weka filter
  • filters/AllFilter.java (1.12)
  • filters/CheckSource.java (1.2)
  • filters/unsupervised/attribute/Center.java (1.4)
  • filters/unsupervised/attribute/ReplaceMissingValues.java (1.10)
2007-06-19 04:28 fracpete
fixed "sourcing" of classifiers:
- Explorer outputs now the complete class, not just the static class, but also the wrapper class
- wrapper class has now a main method and a toString method to enable calls from the commandline like with any other classifier
- reversed all "public class" to "class" again
- class attribute now gets set to missing explicitly before the static class is called ("classify")
- updated weka.classifiers.CheckSource to reflect changes (source code has to be derived from weka.classifiers.Classifier now)
- fixed OneR's toSource method
  • classifiers/CheckSource.java (1.3)
  • classifiers/meta/AdaBoostM1.java (1.39)
  • classifiers/meta/LogitBoost.java (1.42)
  • classifiers/rules/OneR.java (1.25)
  • classifiers/rules/ZeroR.java (1.18)
  • classifiers/trees/DecisionStump.java (1.25)
  • classifiers/trees/Id3.java (1.22)
  • classifiers/trees/J48.java (1.8)
2007-06-19 00:52 fracpete
added new interface weka.filters.Sourcable and let a few simple filters implement it to generate source code (option "-z classname")
  • filters/Sourcable.java (1.1)
2007-06-19 00:46 fracpete
fixed typo in Javadoc
  • classifiers/Sourcable.java (1.6)
2007-06-18 21:07 fracpete
fixed toString() method if no model built yet
  • classifiers/mi/CitationKNN.java (1.7)
2007-06-18 01:54 fracpete
fixed tilde in BibTeX Javadoc output
  • classifiers/trees/UserClassifier.java (1.28)
  • core/neighboursearch/kdtrees/SlidingMidPointOfWidestSide.java (1.2)
  • datagenerators/classifiers/classification/LED24.java (1.5)
  • experiment/PairedCorrectedTTester.java (1.12)
  • filters/unsupervised/attribute/RELAGGS.java (1.2)
2007-06-18 01:54 fracpete
branches:  1.3.2;
fixed tilde in BibTeX Javadoc output
  • classifiers/functions/supportVector/RegSMOImproved.java (1.3)
2007-06-18 01:54 fracpete
fixed tilde in BibTeX Javadoc output
  • classifiers/BVDecompose.java (1.14)
  • classifiers/meta/AdditiveRegression.java (1.24)
  • classifiers/rules/PART.java (1.9)
  • classifiers/rules/Ridor.java (1.20)
2007-06-18 01:54 fracpete
branches:  1.65.2;
fixed tilde in BibTeX Javadoc output
  • classifiers/functions/SMO.java (1.65)
2007-06-18 01:54 fracpete
branches:  1.4.2;
fixed tilde in BibTeX Javadoc output
  • classifiers/functions/SVMreg.java (1.4)
2007-06-18 01:54 fracpete
branches:  1.3.2;
fixed tilde in BibTeX Javadoc output
  • core/neighboursearch/CoverTree.java (1.3)
2007-06-18 01:54 fracpete
branches:  1.6.2;
fixed tilde in BibTeX Javadoc output
  • classifiers/BVDecomposeSegCVSub.java (1.6)
2007-06-18 01:53 fracpete
fixed preamble comment indentation
  • clusterers/Cobweb.java (1.24)
2007-06-18 01:51 fracpete
branches:  1.5.2;
fixed Javadoc of -C <cache size> option
  • classifiers/mi/MISMO.java (1.5)
  • classifiers/mi/MISVM.java (1.5)
2007-06-18 01:49 fracpete
branches:  1.6.2;
updated Javadoc of -C <cache size> option of SMO
  • classifiers/meta/Dagging.java (1.6)
2007-06-18 01:47 fracpete
branches:  1.13.2;
fixed Javadoc of -C <cache size> option
  • classifiers/functions/SMOreg.java (1.13)
2007-06-18 01:44 fracpete
reversed the escaping of the underscore (only tilde now)
  • core/TechnicalInformation.java (1.9)
2007-06-17 03:54 fracpete
added additional output to the log with setup for the AttributeSelectedClassifier
  • gui/explorer/AttributeSelectionPanel.java (1.49)
2007-06-15 06:40 fracpete
added three new measures to the Experimenter:
  Serialized_Model_Size - size of the serialized classifier object
  Serialized_Train_Set_Size - size of the serialized train set
  Serialized_Test_Set_Size - size of the serialized test set
  • experiment/ClassifierSplitEvaluator.java (1.28)
2007-06-14 02:09 fracpete
fixed serialVersionUID
  • classifiers/meta/ClassificationViaClustering.java (1.2)
2007-06-14 01:51 fracpete
method "mapClasses" is now public and static instead of private
  • clusterers/ClusterEvaluation.java (1.41)
2007-06-08 01:35 fracpete
incorporated changes between Jama 1.0.1 and 1.0.2 in Weka's classes
see also Jama's changelog: http://math.nist.gov/javanumerics/jama/ChangeLog
  • core/matrix/CholeskyDecomposition.java (1.4)
  • core/matrix/SingularValueDecomposition.java (1.4)
2007-06-06 04:24 fracpete
minimum number of instances of capabilities is now set to number of bins
  • classifiers/meta/RegressionByDiscretization.java (1.36)
2007-06-05 21:06 fracpete
on Macs the updateCurrentConverter() method crashes with a NullPointerException if the setAcceptAllFileFilterUsed(boolean) method is used before the dialog is even displayed (e.g., in the showSaveDialog(Component) method). Looks like Java 1.5 fires property changes differently on Macs (Win32 and Linux works fine). Thanks to Craig Bruce.
  • gui/ConverterFileChooser.java (1.8)
2007-06-01 04:32 fracpete
updated version
  • core/version.txt (1.5)