Reduced memory consumption of BayesNet by clearing out m_Instances at the end of buildClassifier.

git-svn-id: https://svn.cms.waikato.ac.nz/svn/weka/trunk@10378 e0a1b77d-ad91-4216-81b1-defd5f83fa92
Committed patch by Rosjier Lammers: reweighting term is now just computed once.

git-svn-id: https://svn.cms.waikato.ac.nz/svn/weka/trunk@10379 e0a1b77d-ad91-4216-81b1-defd5f83fa92
Some small code improvements proposed by Rosjier Lammers, Waikato Summer Intern.

git-svn-id: https://svn.cms.waikato.ac.nz/svn/weka/trunk@10381 e0a1b77d-ad91-4216-81b1-defd5f83fa92
Applied two small code improvements suggested by Rosjier Lammers, FCMS Summer Intern.

git-svn-id: https://svn.cms.waikato.ac.nz/svn/weka/trunk@10382 e0a1b77d-ad91-4216-81b1-defd5f83fa92
Refactored match, replace and transform logic out of SubstringLabeler and SubstringReplacer

git-svn-id: https://svn.cms.waikato.ac.nz/svn/weka/trunk@10383 e0a1b77d-ad91-4216-81b1-defd5f83fa92
Fixed a bug where if the user specified the class attribute by name it wouldn't handle names with spaces in them

git-svn-id: https://svn.cms.waikato.ac.nz/svn/weka/trunk@10385 e0a1b77d-ad91-4216-81b1-defd5f83fa92
Discretization is now (again) only performed when necessary. This also fixed the bug I introduced in the last change.

git-svn-id: https://svn.cms.waikato.ac.nz/svn/weka/trunk@10386 e0a1b77d-ad91-4216-81b1-defd5f83fa92
Code clean-up, e.g. generic type arguments, elimination of FastVector, clean-up of option handling.

git-svn-id: https://svn.cms.waikato.ac.nz/svn/weka/trunk@10390 e0a1b77d-ad91-4216-81b1-defd5f83fa92
Merge remote-tracking branch 'upstream'