edu.cmu.ml.rtw.pra.features.extractors

VectorSimilarityFeatureExtractor

class VectorSimilarityFeatureExtractor extends NodePairFeatureExtractor

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. VectorSimilarityFeatureExtractor
  2. NodePairFeatureExtractor
  3. FeatureExtractor
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new VectorSimilarityFeatureExtractor(params: JValue, fileUtil: FileUtil = new com.mattg.util.FileUtil())

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. val ANY_REL: String

  7. val allowedParamKeys: Seq[String]

  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  12. def extractFeatures(instance: NodePairInstance, subgraph: Subgraph): Seq[String]

  13. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. implicit val formats: DefaultFormats.type

  15. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  16. def getFeatureMatcher(feature: String, startFromSourceNode: Boolean, graph: Graph): Option[FeatureMatcher[NodePairInstance]]

    This method essentially goes backward from a FeatureExtractor.

    This method essentially goes backward from a FeatureExtractor. FeatureExtractor.extractFeatures lets you take a subgraph and get features out. This method takes features in, then lets you filter the graph to only subgraphs that would have generated this feature.

    The default implementation here is to return None, and we will override it in the few cases where I've put in the effort to make feature matching work.

    I originally had this as part of FeatureExtractor, with this overriding a base method there. But, I need to have startFromSourceNode as part of this method, and it's not applicable to NodeInstances. So, I'm just putting it here on this class.

    feature

    A string description of the feature we're trying to match. If the extractor did not produce this string, or the feature is otherwise unmatchable, we will return None.

    startFromSourceNode

    We could be given either the source node or the target node and asked to match features; this tells us which one we're trying to match.

    graph

    The graph is necessary to go from the human-readable string representation of the feature to actual edge ids.

    Definition Classes
    NodePairFeatureExtractor
  17. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  19. val lines: Seq[String]

  20. val matrixPath: String

  21. val maxSimilarVectors: Int

  22. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  25. val pairs: List[(String, (String, Double))]

  26. val params: JValue

  27. val relations: Map[String, List[String]]

  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  29. def toString(): String

    Definition Classes
    AnyRef → Any
  30. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from NodePairFeatureExtractor

Inherited from AnyRef

Inherited from Any

Ungrouped