treebuilder is able to export pdf ; two training set added ; fixed dtype issue