66using Microsoft . ML . Runtime ;
77using Microsoft . ML . Runtime . Data ;
88using Microsoft . ML . Runtime . Ensemble . OutputCombiners ;
9- using Microsoft . ML . Runtime . EntryPoints ;
109using Microsoft . ML . Runtime . Internal . Utilities ;
1110using Microsoft . ML . Runtime . Model ;
1211using Microsoft . ML . Runtime . Numeric ;
1312
14- [ assembly: LoadableClass ( typeof ( MultiVoting ) , typeof ( MultiVoting . Arguments ) , typeof ( SignatureCombiner ) , Voting . UserName , MultiVoting . LoadName ) ]
13+ [ assembly: LoadableClass ( typeof ( MultiVoting ) , null , typeof ( SignatureCombiner ) , Voting . UserName , MultiVoting . LoadName ) ]
1514[ assembly: LoadableClass ( typeof ( MultiVoting ) , null , typeof ( SignatureLoadModel ) , Voting . UserName , MultiVoting . LoaderSignature ) ]
1615
1716namespace Microsoft . ML . Runtime . Ensemble . OutputCombiners
@@ -33,16 +32,12 @@ private static VersionInfo GetVersionInfo()
3332 loaderSignature : LoaderSignature ) ;
3433 }
3534
36- [ TlcModule . Component ( Name = LoadName , FriendlyName = Voting . UserName ) ]
37- public sealed class Arguments : ArgumentsBase , ISupportMulticlassOutputCombinerFactory
35+ private sealed class Arguments : ArgumentsBase
3836 {
39- public new bool Normalize = false ;
40-
41- public IMultiClassOutputCombiner CreateComponent ( IHostEnvironment env ) => new MultiVoting ( env , this ) ;
4237 }
4338
44- public MultiVoting ( IHostEnvironment env , Arguments args )
45- : base ( env , LoaderSignature , args )
39+ public MultiVoting ( IHostEnvironment env )
40+ : base ( env , LoaderSignature , new Arguments ( ) { Normalize = false } )
4641 {
4742 Host . Assert ( ! Normalize ) ;
4843 }
0 commit comments