net
.
sansa_stack
.
ml
.
spark
.
kge
.
linkprediction
.
models
Models
Related Doc:
package models
abstract
class
Models
extends
AnyRef
Linear Supertypes
AnyRef
,
Any
Known Subclasses
DistMult
,
TransE
Ordering
Alphabetic
By Inheritance
Inherited
Models
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
Models
(
ne:
Int
,
nr:
Int
,
batch:
Int
,
k:
Int
,
sk:
SparkSession
)
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
L1
(
vec:
Tensor
[
Float
]
)
:
Float
def
L2
(
vec:
Tensor
[
Float
]
)
:
Float
val
Ne
:
Int
val
Nr
:
Int
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
var
e
:
Tensor
[
Float
]
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]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
def
initialize
(
size:
Int
)
:
Tensor
[
Float
]
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
negative
(
data:
Dataset
[
IntegerTriples
]
)
:
Dataset
[
IntegerTriples
]
def
normalize
(
data:
Tensor
[
Float
]
)
:
Tensor
[
Float
]
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
var
r
:
Tensor
[
Float
]
val
seed
:
Random
def
subset
(
data:
Dataset
[
IntegerTriples
]
)
:
Dataset
[
IntegerTriples
]
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
AnyRef → Any
def
tuple
(
aux:
IntegerTriples
)
:
IntegerTriples
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