Codota Logo
SupportVectorMachineModel.getVectorDictionary
Code IndexAdd Codota to your IDE (free)

How to use
getVectorDictionary
method
in
org.dmg.pmml.support_vector_machine.SupportVectorMachineModel

Best Java code snippets using org.dmg.pmml.support_vector_machine.SupportVectorMachineModel.getVectorDictionary (Showing top 5 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Connection c =
  • Codota IconDataSource dataSource;dataSource.getConnection()
  • Codota IconString url;DriverManager.getConnection(url)
  • Codota IconIdentityDatabaseUtil.getDBConnection()
  • Smart code suggestions by Codota
}
origin: jpmml/jpmml-evaluator

private Object createInput(EvaluationContext context){
  SupportVectorMachineModel supportVectorMachineModel = getModel();
  VectorDictionary vectorDictionary = supportVectorMachineModel.getVectorDictionary();
origin: jpmml/jpmml-evaluator

static
private Map<String, Object> parseVectorDictionary(SupportVectorMachineModel supportVectorMachineModel){
  VectorDictionary vectorDictionary = supportVectorMachineModel.getVectorDictionary();
origin: jpmml/jpmml-evaluator

public SupportVectorMachineModelEvaluator(PMML pmml, SupportVectorMachineModel supportVectorMachineModel){
  super(pmml, supportVectorMachineModel);
  boolean maxWins = supportVectorMachineModel.isMaxWins();
  if(maxWins){
    throw new UnsupportedAttributeException(supportVectorMachineModel, PMMLAttributes.SUPPORTVECTORMACHINEMODEL_MAXWINS, maxWins);
  }
  SupportVectorMachineModel.Representation representation = supportVectorMachineModel.getRepresentation();
  switch(representation){
    case SUPPORT_VECTORS:
      break;
    default:
      throw new UnsupportedAttributeException(supportVectorMachineModel, representation);
  }
  VectorDictionary vectorDictionary = supportVectorMachineModel.getVectorDictionary();
  if(vectorDictionary == null){
    throw new MissingElementException(supportVectorMachineModel, PMMLElements.SUPPORTVECTORMACHINEMODEL_VECTORDICTIONARY);
  }
  VectorFields vectorFields = vectorDictionary.getVectorFields();
  if(vectorFields == null){
    throw new MissingElementException(vectorDictionary, PMMLElements.VECTORDICTIONARY_VECTORFIELDS);
  } // End if
  if(!supportVectorMachineModel.hasSupportVectorMachines()){
    throw new MissingElementException(supportVectorMachineModel, PMMLElements.SUPPORTVECTORMACHINEMODEL_SUPPORTVECTORMACHINES);
  }
}
origin: jpmml/jpmml-model

@Override
public VisitorAction accept(Visitor visitor) {
  VisitorAction status = visitor.visit(this);
  if (status == VisitorAction.CONTINUE) {
    visitor.pushParent(this);
    if ((status == VisitorAction.CONTINUE)&&hasExtensions()) {
      status = PMMLObject.traverse(visitor, getExtensions());
    }
    if (status == VisitorAction.CONTINUE) {
      status = PMMLObject.traverse(visitor, getMiningSchema(), getOutput(), getModelStats(), getModelExplanation(), getTargets(), getLocalTransformations(), getKernel(), getVectorDictionary());
    }
    if ((status == VisitorAction.CONTINUE)&&hasSupportVectorMachines()) {
      status = PMMLObject.traverse(visitor, getSupportVectorMachines());
    }
    if (status == VisitorAction.CONTINUE) {
      status = PMMLObject.traverse(visitor, getModelVerification());
    }
    visitor.popParent();
  }
  if (status == VisitorAction.TERMINATE) {
    return VisitorAction.TERMINATE;
  }
  return VisitorAction.CONTINUE;
}
origin: org.jpmml/pmml-model

@Override
public VisitorAction accept(Visitor visitor) {
  VisitorAction status = visitor.visit(this);
  if (status == VisitorAction.CONTINUE) {
    visitor.pushParent(this);
    if ((status == VisitorAction.CONTINUE)&&hasExtensions()) {
      status = PMMLObject.traverse(visitor, getExtensions());
    }
    if (status == VisitorAction.CONTINUE) {
      status = PMMLObject.traverse(visitor, getMiningSchema(), getOutput(), getModelStats(), getModelExplanation(), getTargets(), getLocalTransformations(), getKernel(), getVectorDictionary());
    }
    if ((status == VisitorAction.CONTINUE)&&hasSupportVectorMachines()) {
      status = PMMLObject.traverse(visitor, getSupportVectorMachines());
    }
    if (status == VisitorAction.CONTINUE) {
      status = PMMLObject.traverse(visitor, getModelVerification());
    }
    visitor.popParent();
  }
  if (status == VisitorAction.TERMINATE) {
    return VisitorAction.TERMINATE;
  }
  return VisitorAction.CONTINUE;
}
org.dmg.pmml.support_vector_machineSupportVectorMachineModelgetVectorDictionary

Popular methods of SupportVectorMachineModel

  • getSupportVectorMachines
  • getKernel
  • hasSupportVectorMachines
  • setKernel
  • setOutput
  • <init>
  • getAlternateBinaryTargetCategory
  • getExtensions
  • getLocalTransformations
  • getMathContext
  • getMiningSchema
  • getModelExplanation
  • getMiningSchema,
  • getModelExplanation,
  • getModelStats,
  • getModelVerification,
  • getOutput,
  • getRepresentation,
  • getTargets,
  • getThreshold,
  • hasExtensions

Popular in Java

  • Creating JSON documents from java classes using gson
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • onCreateOptionsMenu (Activity)
  • getSharedPreferences (Context)
  • BufferedInputStream (java.io)
    Wraps an existing InputStream and buffers the input. Expensive interaction with the underlying input
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • TreeSet (java.util)
    A NavigableSet implementation based on a TreeMap. The elements are ordered using their Comparable, o
  • Vector (java.util)
    The Vector class implements a growable array of objects. Like an array, it contains components that
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now