removing baseregressor and baseclassifier classes