blob: 7a3546302809346adf69cb108d440ab7a33df016 [file] [log] [blame]
{"component":{"kind":"component","name":"weka","title":"Weka","description":"Perform machine learning tasks using Weka.","deprecated":false,"firstVersion":"3.1.0","label":"datamining","javaType":"org.apache.camel.component.weka.WekaComponent","supportLevel":"Stable","groupId":"org.apache.camel","artifactId":"camel-weka","version":"3.18.1","scheme":"weka","extendsScheme":"","syntax":"weka:command","async":false,"api":false,"consumerOnly":false,"producerOnly":true,"lenientProperties":false},"properties":{"command":{"kind":"path","displayName":"Command","group":"producer","label":"","required":true,"type":"object","javaType":"org.apache.camel.component.weka.WekaConfiguration.Command","enum":["filter","model","read","write","push","pop","version"],"deprecated":false,"deprecationNote":"","autowired":false,"secret":false,"configurationClass":"org.apache.camel.component.weka.WekaConfiguration","configurationField":"configuration","description":"The command to use."},"lazyStartProducer":{"kind":"parameter","displayName":"Lazy Start Producer","group":"producer (advanced)","label":"producer,advanced","required":false,"type":"boolean","javaType":"boolean","deprecated":false,"autowired":false,"secret":false,"defaultValue":false,"description":"Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing."},"apply":{"kind":"parameter","displayName":"Apply","group":"filter","label":"filter","required":false,"type":"string","javaType":"java.lang.String","deprecated":false,"autowired":false,"secret":false,"configurationClass":"org.apache.camel.component.weka.WekaConfiguration","configurationField":"configuration","description":"The filter spec (i.e. Name Options)"},"build":{"kind":"parameter","displayName":"Build","group":"model","label":"model","required":false,"type":"string","javaType":"java.lang.String","deprecated":false,"autowired":false,"secret":false,"configurationClass":"org.apache.camel.component.weka.WekaConfiguration","configurationField":"configuration","description":"The classifier spec (i.e. Name Options)"},"dsname":{"kind":"parameter","displayName":"Dsname","group":"model","label":"model","required":false,"type":"string","javaType":"java.lang.String","deprecated":false,"autowired":false,"secret":false,"configurationClass":"org.apache.camel.component.weka.WekaConfiguration","configurationField":"configuration","description":"The named dataset to train the classifier with"},"folds":{"kind":"parameter","displayName":"Folds","group":"model","label":"model","required":false,"type":"integer","javaType":"int","deprecated":false,"autowired":false,"secret":false,"defaultValue":10,"configurationClass":"org.apache.camel.component.weka.WekaConfiguration","configurationField":"configuration","description":"Number of folds to use for cross-validation"},"loadFrom":{"kind":"parameter","displayName":"Load From","group":"model","label":"model","required":false,"type":"string","javaType":"java.lang.String","deprecated":false,"autowired":false,"secret":false,"configurationClass":"org.apache.camel.component.weka.WekaConfiguration","configurationField":"configuration","description":"Path to load the model from"},"saveTo":{"kind":"parameter","displayName":"Save To","group":"model","label":"model","required":false,"type":"string","javaType":"java.lang.String","deprecated":false,"autowired":false,"secret":false,"configurationClass":"org.apache.camel.component.weka.WekaConfiguration","configurationField":"configuration","description":"Path to save the model to"},"seed":{"kind":"parameter","displayName":"Seed","group":"model","label":"model","required":false,"type":"integer","javaType":"int","deprecated":false,"autowired":false,"secret":false,"defaultValue":1,"configurationClass":"org.apache.camel.component.weka.WekaConfiguration","configurationField":"configuration","description":"An optional seed for the randomizer"},"xval":{"kind":"parameter","displayName":"Xval","group":"model","label":"model","required":false,"type":"boolean","javaType":"boolean","deprecated":false,"autowired":false,"secret":false,"defaultValue":false,"configurationClass":"org.apache.camel.component.weka.WekaConfiguration","configurationField":"configuration","description":"Flag on whether to use cross-validation with the current dataset"},"path":{"kind":"parameter","displayName":"Path","group":"write","label":"read,write","required":false,"type":"string","javaType":"java.lang.String","deprecated":false,"autowired":false,"secret":false,"configurationClass":"org.apache.camel.component.weka.WekaConfiguration","configurationField":"configuration","description":"An in/out path for the read/write commands"}}}