Class LightCurvesClassifier
java.lang.Object
com.astrolabsoftware.FinkBrowser.Januser.Classifier
com.astrolabsoftware.FinkBrowser.Januser.LightCurvesClassifier
FeaturesClassifier classifies sources according to
HBase lc_features_* field.- Author:
- J.Hrivnac
-
Nested Class Summary
Nested classes/interfaces inherited from class com.astrolabsoftware.FinkBrowser.Januser.Classifier
Classifier.Type -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static Stringprivate static ClusterFinderprivate static org.apache.logging.log4j.LoggerLogging . -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclassify(FinkGremlinRecipies recipies, String oid) Classify source and expand them to alerts (if requested).private ClusterFinderfinder()GiveClusterFinderto current database.voidsetModelDirectory(String dirName) Set the directory for model json files scaler_params.json, pca_params.json, cluster_centers.json.
-
Field Details
-
_finder
-
_dirName
-
log
Logging .
-
-
Constructor Details
-
LightCurvesClassifier
public LightCurvesClassifier()
-
-
Method Details
-
classify
Description copied from class:ClassifierClassify source and expand them to alerts (if requested). It should register classes corresponding to specified objectId usingFinkGremlinRecipies#registerSoI(Classifiers, String, String, double, String, String, boolean, String).- Specified by:
classifyin classClassifier- Parameters:
recipies- TheFinkGremlinRecipiescaller.oid- The objectId of source to be added.- Throws:
LomikelException- If anything fails.
-
finder
GiveClusterFinderto current database. Singleton.- Returns:
- The corresponding
ClusterFinder. - Throws:
LomikelExceltion- IfClusterFindercannot be created.LomikelException
-
setModelDirectory
Set the directory for model json files scaler_params.json, pca_params.json, cluster_centers.json. If not set, /tmp will be used.- Parameters:
dirName- The directory for model json files.
-