The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

ExampleSet to operator

e4glee4gle Member Posts: 12 Contributor II
edited November 2018 in Help
Is there any way to transform an example set into an operator (with inputs/output ports etc.)?
Tagged:

Answers

  • fischerfischer Member Posts: 439 Maven
    Yes:

    public class ExampleSetOperator extends Operator implements ExampleSet {
      ...
    }

    Doesn't appear to make a lot of sense though.

    Best,
    51m0n
  • e4glee4gle Member Posts: 12 Contributor II
    Simon Fischer wrote:

    Doesn't appear to make a lot of sense though.
    So maybe you can think of a better way to interactively edit the example set whithin the program (load the set, add/change some values, save changes), display data in table etc?
  • fischerfischer Member Posts: 439 Maven
    Hi,

    I'm still not sure what you are trying to achieve. If you want to create an example set editor there is no need to have an operator, because it is interactive, as you say, and not process oriented, right? So the best would probably do to make a view of your own that contains exactly such a component to edit example sets. Extend Dockable and use MainFrame.getDockingDesktop().registerDockable(...); to register your view. Use the RepositoryManager to get at the repositories and load and save data.

    Best,
    Simon
  • e4glee4gle Member Posts: 12 Contributor II
    I was rather thinking of modyfing example sets ina a gui and updating classification model based on this modifications. I've managed that by providing example set directly at the input ports of a learner (just figured this out ;))
  • fischerfischer Member Posts: 439 Maven
    I see.

    Best,
    Simon
Sign In or Register to comment.