Codota Logo
BaselineStratum.getValue
Code IndexAdd Codota to your IDE (free)

How to use
getValue
method
in
org.dmg.pmml.general_regression.BaselineStratum

Best Java code snippets using org.dmg.pmml.general_regression.BaselineStratum.getValue (Showing top 3 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
LocalDateTime l =
  • Codota Iconnew LocalDateTime()
  • Codota IconLocalDateTime.now()
  • Codota IconDateTimeFormatter formatter;String text;formatter.parseLocalDateTime(text)
  • Smart code suggestions by Codota
}
origin: jpmml/jpmml-evaluator

  private Map<FieldValue, BaselineStratum> parseBaselineStrata(TypeInfo typeInfo){
    Map<FieldValue, BaselineStratum> result = new LinkedHashMap<>();

    List<BaselineStratum> baselineStrata = getBaselineStrata();
    for(BaselineStratum baselineStratum : baselineStrata){
      String category = baselineStratum.getValue();
      if(category == null){
        throw new MissingAttributeException(baselineStratum, PMMLAttributes.BASELINESTRATUM_VALUE);
      }

      FieldValue value = parse(typeInfo, category);

      result.put(value, baselineStratum);
    }

    return result;
  }
}
origin: org.jpmml/pmml-evaluator-extension

  private Map<FieldValue, BaselineStratum> parseBaselineStrata(TypeInfo typeInfo){
    Map<FieldValue, BaselineStratum> result = new LinkedHashMap<>();

    List<BaselineStratum> baselineStrata = getBaselineStrata();
    for(BaselineStratum baselineStratum : baselineStrata){
      String category = baselineStratum.getValue();
      if(category == null){
        throw new MissingAttributeException(baselineStratum, PMMLAttributes.BASELINESTRATUM_VALUE);
      }

      FieldValue value = parse(typeInfo, category);

      result.put(value, baselineStratum);
    }

    return result;
  }
}
origin: jpmml/jpmml-evaluator

static
private BaselineStratum getBaselineStratum(BaseCumHazardTables baseCumHazardTables, FieldValue value){
  if(baseCumHazardTables instanceof HasParsedValueMapping){
    HasParsedValueMapping<?> hasParsedValueMapping = (HasParsedValueMapping<?>)baseCumHazardTables;
    return (BaselineStratum)value.getMapping(hasParsedValueMapping);
  }
  List<BaselineStratum> baselineStrata = baseCumHazardTables.getBaselineStrata();
  for(BaselineStratum baselineStratum : baselineStrata){
    String category = baselineStratum.getValue();
    if(category == null){
      throw new MissingAttributeException(baselineStratum, PMMLAttributes.BASELINESTRATUM_VALUE);
    } // End if
    if(value.equalsString(category)){
      return baselineStratum;
    }
  }
  return null;
}
org.dmg.pmml.general_regressionBaselineStratumgetValue

Popular methods of BaselineStratum

  • getBaselineCells
  • <init>
  • getExtensions
  • getMaxTime
  • hasBaselineCells
  • hasExtensions

Popular in Java

  • Updating database using SQL prepared statement
  • onCreateOptionsMenu (Activity)
  • setRequestProperty (URLConnection)
    Sets the general request property. If a property with the key already exists, overwrite its value wi
  • setScale (BigDecimal)
    Returns a BigDecimal whose scale is the specified value, and whose value is numerically equal to thi
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • SortedSet (java.util)
    A Set that further provides a total ordering on its elements. The elements are ordered using their C
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
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