edu
.
cmu
.
ml
.
rtw
.
pra
.
graphs
SimilarityMatrixCreator
class
SimilarityMatrixCreator
extends
AnyRef
Linear Supertypes
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
SimilarityMatrixCreator
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Instance Constructors
new
SimilarityMatrixCreator
(
embeddingsDir:
String
,
name:
String
,
outputter:
Outputter
,
fileUtil:
FileUtil
=
new com.mattg.util.FileUtil()
)
Value Members
final
def
!=
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
val
WARNING_SIZE
:
Int
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
var
bad_vector
:
DenseVector
[
Double
]
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
computeSimilarities
(
lower_threshold:
Double
,
upper_threshold:
Double
,
max_similar:
Int
,
vec: (
Int
,
Seq
[
Int
],
DenseVector
[
Double
])
,
hash_maps:
Seq
[
Map
[
Int
,
Seq
[(
Int
,
DenseVector
[
Double
])]]]
)
:
Seq
[(
Int
,
Int
,
Double
)]
def
createHashFunctions
(
num_hashes:
Int
,
hash_size:
Int
,
vectors:
Traversable
[
DenseVector
[
Double
]]
)
:
Seq
[
Seq
[
DenseVector
[
Double
]]]
def
createSimilarityMatrix
(
params:
JValue
)
:
Unit
var
dimension
:
Int
val
done
:
AtomicInteger
val
embeddingsFile
:
String
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
implicit
val
formats
:
DefaultFormats
.type
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
def
hashVector
(
vec:
DenseVector
[
Double
]
,
functions:
Seq
[
Seq
[
DenseVector
[
Double
]]]
)
:
Seq
[
Int
]
val
inProgressFile
:
String
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
val
matrixDir
:
String
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
var
num_vectors
:
Int
val
outFile
:
String
val
paramFile
:
String
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
AnyRef → Any
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
Inherited from
AnyRef
Inherited from
Any
Ungrouped