public class MLClusteringUtil
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLUSTER_ANALYSIS_ENABLED |
static java.lang.String |
CLUSTERING_ELIGIBLE_NULL_PERCENTAGE_THRESHOLD |
static java.lang.String |
CLUSTERING_URL |
static java.lang.String |
DEFAULT_THRESHOLD_NULL_PERCENTEAGE |
static java.lang.String |
SESSION_VARIABLE_ML_CACHE |
Constructor and Description |
---|
MLClusteringUtil() |
Modifier and Type | Method and Description |
---|---|
static java.util.Date |
convertToGMTDate(java.lang.String dateStr) |
static com.oracle.bdd.microservices.clustering.client.api.AnalyticsCoreApi |
getAnalyticsCoreApiClient() |
static MLClusteringCacheModel |
getCacheModel(javax.portlet.PortletRequest request,
java.lang.String collectionId) |
static java.lang.String |
getClusteringURL()
Get the property CLUSTERING_URL_SETTING from properties file
|
static com.oracle.bdd.microservices.clustering.client.api.DataFrameApi |
getDataFrameApiClient() |
static java.util.Date |
getDatasetLastModifiedDate(javax.portlet.PortletRequest request,
java.lang.String collectionId) |
static double |
getEgigibleNullPercentageThreshold()
Get the null percentage threshold (CLUSTERING_ELIGIBLE_NULL_PERCENTAGE_THRESHOLD) for the attribute eligible
When the null percentage is greater than or equal to the threshold, the attribute is not eligible for Clustering Analysis
|
static boolean |
isClusterAnalysisEnabled()
Get the property CLUSTER_ANALYSIS_ENABLED from properties file
|
static void |
updateCache(javax.portlet.PortletRequest request,
MLClusteringCacheModel clusteringCache) |
public static final java.lang.String CLUSTER_ANALYSIS_ENABLED
public static final java.lang.String CLUSTERING_URL
public static final java.lang.String CLUSTERING_ELIGIBLE_NULL_PERCENTAGE_THRESHOLD
public static final java.lang.String DEFAULT_THRESHOLD_NULL_PERCENTEAGE
public static final java.lang.String SESSION_VARIABLE_ML_CACHE
public static boolean isClusterAnalysisEnabled()
public static java.lang.String getClusteringURL()
public static double getEgigibleNullPercentageThreshold()
public static com.oracle.bdd.microservices.clustering.client.api.DataFrameApi getDataFrameApiClient()
public static com.oracle.bdd.microservices.clustering.client.api.AnalyticsCoreApi getAnalyticsCoreApiClient()
public static void updateCache(javax.portlet.PortletRequest request, MLClusteringCacheModel clusteringCache)
public static java.util.Date convertToGMTDate(java.lang.String dateStr) throws java.text.ParseException
java.text.ParseException
public static java.util.Date getDatasetLastModifiedDate(javax.portlet.PortletRequest request, java.lang.String collectionId) throws java.lang.Exception
java.lang.Exception
public static MLClusteringCacheModel getCacheModel(javax.portlet.PortletRequest request, java.lang.String collectionId) throws java.lang.Exception
java.lang.Exception
Copyright 2003, 2014, Oracle and/or its affiliates. All rights reserved.