Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 2k
Move Scorers and Calibrators to use IComponentFactory.#671
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
c1bb9f492f5b7a446c72cc0f1c3bf32af763688862File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Uh oh!
There was an error while loading. Please reload this page.
| Original file line number | Diff line number | Diff line change | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -28,8 +28,8 @@ public sealed class Arguments : DataCommand.ArgumentsBase | ||||||||||||||||||
| [Argument(ArgumentType.Multiple, HelpText = "Trainer to use", ShortName = "tr")] | ||||||||||||||||||
| public SubComponent<ITrainer, SignatureTrainer> Trainer = new SubComponent<ITrainer, SignatureTrainer>("AveragedPerceptron"); | ||||||||||||||||||
| [Argument(ArgumentType.Multiple, HelpText = "Scorer to use", NullName = "<Auto>", SortOrder = 101)] | ||||||||||||||||||
| public SubComponent<IDataScorerTransform, SignatureDataScorer> Scorer; | ||||||||||||||||||
| [Argument(ArgumentType.Multiple, HelpText = "Scorer to use", NullName = "<Auto>", SortOrder = 101, SignatureType = typeof(SignatureDataScorer))] | ||||||||||||||||||
Contributor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
I wonder if the information contained in SignatureType is identical to the information contained in typeof(Scorer) ?
| ||||||||||||||||||
| /// <summary> | |
| /// Used for dictionary lookup based on signature and name. | |
| /// </summary> | |
| internalstructKey:IEquatable<Key> | |
| { | |
| publicreadonlystringName; | |
| publicreadonlyTypeSignature; |
| privatestaticLoadableClassInfoFindClassCore(LoadableClassInfo.Keykey) |
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @eerhardt. As we discussed in #681 perhaps we can hide these implementations of the interface, but we'll do that after we merge this I suppose.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I will take care of all the
SimpleComponentFactoryclasses being hidden in #681.