Name
sn_ml_ui.ML_UI_Impl
Description
All functionalities for the Ml UI Apis consolidated in this implementation class
Script
var ML_UI_Impl = Class.create();
ML_UI_Impl.prototype = {
initialize: function() {
this.mluiDao = new ML_UI_DAO();
this.logger = global.MLBaseLogger.getLogger("ML_UI_Impl");
},
getClusterData : function(solution_id, params){
if (solution_id) {
return this.mluiDao.getClusteringData(solution_id, params);
} else {
this.logger.error("Submit params invalid");
}
},
getClusterTreeMapData: function (solution_id, params) {
if (solution_id) {
return this.mluiDao.getClusterTreeMapData(solution_id, params);
} else {
this.logger.error("Submit params invalid");
}
},
getSolutionData : function(solution_id, params){
if (solution_id) {
return this.mluiDao.getSolutionData(solution_id, params);
} else {
this.logger.error("Submit params invalid");
}
},
type: 'ML_UI_Impl'
};
Sys ID
67ac878553103300d1dcddeeff7b12c4