public final class PrincipalComponentInfo extends GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the BigQuery API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
PrincipalComponentInfo() |
Modifier and Type | Method and Description |
---|---|
PrincipalComponentInfo |
clone() |
Double |
getCumulativeExplainedVarianceRatio()
The explained_variance is pre-ordered in the descending order to compute the cumulative
explained variance ratio.
|
Double |
getExplainedVariance()
Explained variance by this principal component, which is simply the eigenvalue.
|
Double |
getExplainedVarianceRatio()
Explained_variance over the total explained variance.
|
Long |
getPrincipalComponentId()
Id of the principal component.
|
PrincipalComponentInfo |
set(String fieldName,
Object value) |
PrincipalComponentInfo |
setCumulativeExplainedVarianceRatio(Double cumulativeExplainedVarianceRatio)
The explained_variance is pre-ordered in the descending order to compute the cumulative
explained variance ratio.
|
PrincipalComponentInfo |
setExplainedVariance(Double explainedVariance)
Explained variance by this principal component, which is simply the eigenvalue.
|
PrincipalComponentInfo |
setExplainedVarianceRatio(Double explainedVarianceRatio)
Explained_variance over the total explained variance.
|
PrincipalComponentInfo |
setPrincipalComponentId(Long principalComponentId)
Id of the principal component.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public Double getCumulativeExplainedVarianceRatio()
null
for nonepublic PrincipalComponentInfo setCumulativeExplainedVarianceRatio(Double cumulativeExplainedVarianceRatio)
cumulativeExplainedVarianceRatio
- cumulativeExplainedVarianceRatio or null
for nonepublic Double getExplainedVariance()
null
for nonepublic PrincipalComponentInfo setExplainedVariance(Double explainedVariance)
explainedVariance
- explainedVariance or null
for nonepublic Double getExplainedVarianceRatio()
null
for nonepublic PrincipalComponentInfo setExplainedVarianceRatio(Double explainedVarianceRatio)
explainedVarianceRatio
- explainedVarianceRatio or null
for nonepublic Long getPrincipalComponentId()
null
for nonepublic PrincipalComponentInfo setPrincipalComponentId(Long principalComponentId)
principalComponentId
- principalComponentId or null
for nonepublic PrincipalComponentInfo set(String fieldName, Object value)
set
in class GenericJson
public PrincipalComponentInfo clone()
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.