You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Argument(ArgumentType.Required,ShortName="data",HelpText="The data to be used for training",SortOrder=1,Visibility=ArgumentAttribute.VisibilityType.EntryPointsOnly)]
publicIDataViewTrainingData;
This is currently being used by the Entrypoint infrastructure. We should consider making this field internal
" Anything relating to entry-points specifically should be internal, but we must do so carefully, since currently entry-points and command line processing relies on processing of fields which is currently done on public fields only, whereas it should be over public or internal fields. Once that is done, any fields that are relevant to entry-points only should be internal.
(This is a problem for all the settings objects, that they are exposing things that should not be in the public API in some cases. (Indeed entry-points will need a lot of work to make them work for estimators and transformers. Estimator graphs are sort of a "lightweight" estimator chain as they stand right now that performs absolutely no validation. But for now, anything relating to entry-points should just be hidden.)
One of the fields in the
Arguments
class forFastTree
ispublic IDataView TrainingData
machinelearning/src/Microsoft.ML.Data/EntryPoints/InputBase.cs
Lines 35 to 40 in 8cf2596
This is currently being used by the Entrypoint infrastructure. We should consider making this field
internal
However, this needs to be done with caution.
Here is explanation by @TomFinley :
" Anything relating to entry-points specifically should be internal, but we must do so carefully, since currently entry-points and command line processing relies on processing of fields which is currently done on public fields only, whereas it should be over public or internal fields. Once that is done, any fields that are relevant to entry-points only should be internal.
(This is a problem for all the settings objects, that they are exposing things that should not be in the public API in some cases. (Indeed entry-points will need a lot of work to make them work for estimators and transformers. Estimator graphs are sort of a "lightweight" estimator chain as they stand right now that performs absolutely no validation. But for now, anything relating to entry-points should just be hidden.)
@TomFinley @artidoro
The text was updated successfully, but these errors were encountered: