public class MPSemKernelWorkflow extends SemKernelWorkflow
Constructor and Description |
---|
MPSemKernelWorkflow() |
isInitialized
public MPSemKernelWorkflow()
public void init() throws ComponentInitException
Component
init
in interface Component
init
in class SemKernelWorkflow
ComponentInitException
- This exception is thrown if any
exceptions occur within the initialisation process of this
component. As component developer, you are encouraged to
re-throw occurring exception as ComponentInitException and
giving an error message as well as the actually exception by
using the constructor ComponentInitException(String, Throwable)
.public void start()
start
in class SemKernelWorkflow
public void prepareMPSampleTrainingData() throws IOException
IOException
public String getTrainURIsFilePath()
public void setTrainURIsFilePath(String trainURIsFilePath)
public String getMpKBFilePath()
public void setMpKBFilePath(String mpKBFilePath)
public String getTrainingInputDirectoryPath()
public void setTrainingInputDirectoryPath(String trainingInputDirectoryPath)
public String getGoKBFilePath()
public void setGoKBFilePath(String goKBFilePath)
public String getTrainingOutputDirectoryPath()
public void setTrainingOutputDirectoryPath(String trainingOutputDirectoryPath)
public String getPredictionURIsFilePath()
public void setPredictionURIsFilePath(String predictionURIsFilePath)
public String getPredictionInputDirectoryPath()
public void setPredictionInputDirectoryPath(String predictionInputDirectoryPath)
public String getPredictionOutputDirectoryPath()
public void setPredictionOutputDirectoryPath(String predictionOutputDirectoryPath)
public String getMgi2mpMappingsFilePath()
public void setMgi2mpMappingsFilePath(String mgi2mpMappingsFilePath)
public String getMgi2goMappingsFilePath()
public void setMgi2goMappingsFilePath(String mgi2goMappingsFilePath)
public SemKernel.SvmType getSvmType()
public void setSvmType(SemKernel.SvmType svmType)
public boolean isDoProbabilityEstimates()
public void setDoProbabilityEstimates(boolean doProbabilityEstimates)
public int getCrossValidationFolds()
public void setCrossValidationFolds(int crossValidationFolds)
public float getCost()
public void setCost(float cost)
public boolean isPredictProbability()
public void setPredictProbability(boolean predictProbability)
public double getPosNegExampleRatio()
public void setPosNegExampleRatio(double posNegExampleRatio)
public boolean isDoTraining()
public void setDoTraining(boolean doTraining)
public boolean isDoPrediction()
public void setDoPrediction(boolean doPrediction)
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2019 Jens Lehmann