/// <summary> Returns a newly created tree.
		/// 
		/// </summary>
		/// <param name="data">the training data
		/// </param>
		/// <param name="test">the pruning data.
		/// </param>
		/// <exception cref="Exception">if something goes wrong
		/// </exception>
		protected internal virtual ClassifierTree getNewTree(Instances train, Instances test)
		{
			
			ClassifierTree newTree = new ClassifierTree(m_toSelectModel);
			newTree.buildTree(train, test, false);
			
			return newTree;
		}
		/// <summary> Returns a newly created tree.
		/// 
		/// </summary>
		/// <param name="data">the training data
		/// </param>
		/// <exception cref="Exception">if something goes wrong
		/// </exception>
		protected internal virtual ClassifierTree getNewTree(Instances data)
		{
			
			ClassifierTree newTree = new ClassifierTree(m_toSelectModel);
			newTree.buildTree(data, false);
			
			return newTree;
		}