org.ow2.weblab.core.services
Interface Trainable


public interface Trainable

The trainable interface will be used to define services of which behavior change dynamically by machine learning. This interface should enable to provide resources to the services. These resources will be used to learned its behavior model. In some services, this model could be dependent of a usage context. The trainable interface will be realised only by services enabling the machine learning procedure on-line (in some case, this step will be done off-line). This class was generated by the JAX-WS RI. JAX-WS RI 2.1.3-b02- Generated source version: 2.1


Method Summary
 AddTrainResourceReturn addTrainResource(AddTrainResourceArgs args)
          Add the resource to the training set, given a usage context.
 ResetTrainedModelReturn resetTrainedModel(ResetTrainedModelArgs args)
          Empty training set identified by the usage context.
 TrainReturn train(TrainArgs args)
          Train using the resources previously added to the training set identified by the usage context.
 

Method Detail

addTrainResource

AddTrainResourceReturn addTrainResource(AddTrainResourceArgs args)
                                        throws AccessDeniedException,
                                               ContentNotAvailableException,
                                               InsufficientResourcesException,
                                               InvalidParameterException,
                                               ServiceNotConfiguredException,
                                               UnexpectedException,
                                               UnsupportedRequestException
Add the resource to the training set, given a usage context.

Parameters:
args -
Returns:
returns org.ow2.weblab.core.services.trainable.AddTrainResourceReturn
Throws:
InvalidParameterException
ContentNotAvailableException
UnexpectedException
AccessDeniedException
InsufficientResourcesException
UnsupportedRequestException
ServiceNotConfiguredException

train

TrainReturn train(TrainArgs args)
                  throws AccessDeniedException,
                         ContentNotAvailableException,
                         InsufficientResourcesException,
                         InvalidParameterException,
                         ServiceNotConfiguredException,
                         UnexpectedException,
                         UnsupportedRequestException
Train using the resources previously added to the training set identified by the usage context.

Parameters:
args -
Returns:
returns org.ow2.weblab.core.services.trainable.TrainReturn
Throws:
InvalidParameterException
ContentNotAvailableException
AccessDeniedException
UnexpectedException
InsufficientResourcesException
UnsupportedRequestException
ServiceNotConfiguredException

resetTrainedModel

ResetTrainedModelReturn resetTrainedModel(ResetTrainedModelArgs args)
                                          throws AccessDeniedException,
                                                 ContentNotAvailableException,
                                                 InsufficientResourcesException,
                                                 InvalidParameterException,
                                                 ServiceNotConfiguredException,
                                                 UnexpectedException,
                                                 UnsupportedRequestException
Empty training set identified by the usage context.

Parameters:
args -
Returns:
returns org.ow2.weblab.core.services.trainable.ResetTrainedModelReturn
Throws:
InvalidParameterException
ContentNotAvailableException
UnexpectedException
AccessDeniedException
InsufficientResourcesException
UnsupportedRequestException
ServiceNotConfiguredException


Copyright © 2004-2010. All Rights Reserved.