Github user jkbradley commented on the pull request:

    https://github.com/apache/spark/pull/8675#issuecomment-140843611
  
    GBT models had public constructors as a mistake in our QA for 1.4.  I want 
all model constructors to be public eventually, but only after we are pretty 
certain we can keep them stable.
    
    The public constructor for GBT* should not really be a problem.  You can 
just add a new constructor which takes numFeatures (which can be private) as 
well as the old one (which will be public and set numFeatures to the default 
-1).


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to