Class LightCurvesClassifier

java.lang.Object
com.astrolabsoftware.FinkBrowser.Januser.LightCurvesClassifier
All Implemented Interfaces:
Classifier

public class LightCurvesClassifier extends Object implements Classifier
FeaturesClassifier classifies sources according to HBase lc_features_* field.
Author:
J.Hrivnac
  • Field Details

  • Constructor Details

  • Method Details

    • classify

      public void classify(FinkGremlinRecipies recipies, String oid, boolean enhance, String columns) throws LomikelException
      Description copied from interface: Classifier
      Classify source and expand them to alerts (if requested). It should register classes corresponding to specified objectId using FinkGremlinRecipies#registerSourcesOfInterest(Classifiers, String, String, double, String, String, boolean, String).
      Specified by:
      classify in interface Classifier
      Parameters:
      recipies - The FinkGremlinRecipies caller.
      oid - The objectId of source to be added.
      enhance - Whether expand tree under all SourcesOfInterest with alerts possibly filled with requested HBase columns.
      columns - The HBase columns to be copied into graph alerts. May be null.
      Throws:
      LomikelException - If anything fails.
    • finder

      Give ClusterFinder to current database. Singleton.
      Returns:
      The corresponding ClusterFinder.
      Throws:
      LomikelExceltion - If ClusterFinder cannot be created.
      LomikelException
    • setModelDirectory

      public void setModelDirectory(String dirName)
      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.