Rewrote the buildClassifier() method of SimpleLinearRegression to build all regression models for all attributes simultaneously, to improve runtime.

git-svn-id: https://svn.cms.waikato.ac.nz/svn/weka@10058 e0a1b77d-ad91-4216-81b1-defd5f83fa92
Introduced method in Capabilities class to effectively turn off testWithFail, making it always succeed. This new method can be used with a new option in AbstractClassifier that all classifiers inherit, to improve runtime. As an example application, LogisticBase, which is used by LMT and SimpleLogistic, now turns off testing for capabilities when building SimpleLinearRegression models, yielding substantial improvements in runtime. A similar option should be introduced for other schemes that use Capabilities.

git-svn-id: https://svn.cms.waikato.ac.nz/svn/weka@10059 e0a1b77d-ad91-4216-81b1-defd5f83fa92
Eibe's changes ported from trunk: Made lnFunc() method in ContingencyTables public, and adapted classes for J48 splitting criteria to make use of this function (which uses a cache of n*log(n) values for smallish integers n). This yields a very nice speed-up for datasets containing attributes with many distinct numeric values.

git-svn-id: https://svn.cms.waikato.ac.nz/svn/weka@10060 e0a1b77d-ad91-4216-81b1-defd5f83fa92
Ported Eibe's changes from trunk: Rewrote the buildClassifier() method of SimpleLinearRegression to build all regression models for all attributes simultaneously, to improve runtime.

git-svn-id: https://svn.cms.waikato.ac.nz/svn/weka@10061 e0a1b77d-ad91-4216-81b1-defd5f83fa92
Ported Eibe's changes from trunk: Introduced method in Capabilities class to effectively turn off testWithFail, making it always succeed. This new method can be used with a new option in AbstractClassifier that all classifiers inherit, to improve runtime. As an example application, LogisticBase, which is used by LMT and SimpleLogistic, now turns off testing for capabilities when building SimpleLinearRegression models, yielding substantial improvements in runtime. A similar option should be introduced for other schemes that use Capabilities.

git-svn-id: https://svn.cms.waikato.ac.nz/svn/weka@10062 e0a1b77d-ad91-4216-81b1-defd5f83fa92
Fixed a NPE that occurred when a loaded model was re-evaluated on the current test set and saving predictions for visualization was turned off

git-svn-id: https://svn.cms.waikato.ac.nz/svn/weka@10063 e0a1b77d-ad91-4216-81b1-defd5f83fa92
Fixed a NPE that occurred when a loaded model was re-evaluated on the current test set and saving predictions for visualization was turned off

git-svn-id: https://svn.cms.waikato.ac.nz/svn/weka@10064 e0a1b77d-ad91-4216-81b1-defd5f83fa92