cc
.
factorie
.
app
.
bib
HumanEditExperiments
object
HumanEditExperiments
Linear Supertypes
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
HumanEditExperiments
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Type Members
class
ExpAttributeEdit
[
T <:
HierEntity
with
HumanEditMention
]
extends
ExperimentalEdit
[
T
]
class
ExpMergeEdit
[
T <:
HierEntity
with
HumanEditMention
]
extends
ExperimentalEdit
[
T
]
class
ExpSplitEdit
[
T <:
HierEntity
with
HumanEditMention
]
extends
ExperimentalEdit
[
T
]
trait
ExperimentalEdit
[
T <:
HierEntity
with
HumanEditMention
]
extends
AnyRef
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
def
allAuthorNodesWithKey
(
entities:
Seq
[
AuthorEntity
]
,
authorTruthKey:
String
)
:
Seq
[
AuthorEntity
]
def
allMergeEdits
[
T <:
HierEntity
with
HumanEditMention
]
(
allEntities:
Seq
[
T
]
,
newEntity: (
Unit
) ⇒
T
,
scoreFunction: (
Seq
[
HierEntity
]) ⇒
Double
,
createEditMentionFrom: (
T
) ⇒
T
,
minESize:
Int
,
minPurity:
Double
=
0.0
)
:
Seq
[
ExpMergeEdit
[
T
]]
def
applySplitEdit
(
edit:
AuthorEntity
,
preserveStructure:
Boolean
=
false
)
(
implicit
d:
variable.DiffList
)
:
Unit
def
applySplitEdits
(
evidenceBatches:
Seq
[
Seq
[
AuthorEntity
]]
)
(
implicit
d:
variable.DiffList
)
:
Unit
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
assignUnlabeledToUsers
(
edits:
Seq
[
ExperimentalEdit
[
AuthorEntity
]]
,
userPool:
Seq
[
String
]
)
:
Unit
def
baseline1
(
initialDB:
Seq
[
AuthorEntity
]
,
evidenceBatches:
Seq
[
Seq
[
AuthorEntity
]]
,
pwbl:
PrintWriter
)
:
Unit
def
baseline2
(
initialDB:
Seq
[
AuthorEntity
]
,
evidenceBatches:
Seq
[
Seq
[
AuthorEntity
]]
,
pwbl:
PrintWriter
)
:
Unit
def
canonicalNameFactorSimulator
(
author:
AuthorEntity
,
mentions:
Seq
[
AuthorEntity
]
,
useReliability:
Boolean
=
false
)
:
Double
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
computeUserReliabilityForAttributeEdits
(
aParticularUsersEdits:
Seq
[
ExpAttributeEdit
[
AuthorEntity
]]
)
:
Int
def
copyForAttributeEditMention
(
original:
AuthorEntity
)
:
AuthorEntity
Attributes
protected
def
correctAuthorSplitEdits
(
initialDB:
Seq
[
AuthorEntity
]
)
:
Seq
[
ExpSplitEdit
[
AuthorEntity
]]
def
correctSplitEdits
[
T <:
HierEntity
with
HumanEditMention
]
(
allEntities:
Seq
[
T
]
,
newEntity: (
Unit
) ⇒
T
,
scoreFunction: (
Seq
[
HierEntity
]) ⇒
Double
,
createEditMentionFrom: (
T
) ⇒
T
)
:
Seq
[
ExpSplitEdit
[
T
]]
def
createUsersFromAuthorEdits
(
edits:
Seq
[
ExperimentalEdit
[
AuthorEntity
]]
,
userNames:
Seq
[
String
]
)
:
Seq
[
UserReliabilityVariable
]
def
edits2evidenceBatches
(
edits:
Seq
[
ExperimentalEdit
[
AuthorEntity
]]
,
numBatches:
Int
)
:
Seq
[
Seq
[
AuthorEntity
]]
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
evaluateAttributeAcc
(
predicted:
FullName
,
truth:
FullName
)
:
Double
def
evaluateAttributeAccuracy
(
authors:
Seq
[
AuthorEntity
]
,
l2t:
HashMap
[
String
,
FullName
]
)
:
Double
def
evaluateCanonicalAttributeAcc
(
author:
AuthorEntity
,
truth:
FullName
)
:
Double
def
evaluateCompleteTrustInEditsAccuracy
(
authors:
Seq
[
AuthorEntity
]
,
edits:
Seq
[
ExpAttributeEdit
[
AuthorEntity
]]
,
vandalizedFirstName:
String
,
vandalizedMiddleName:
String
)
: (
Double
,
Double
)
def
evaluateInferredAccuracy
(
authors:
Seq
[
AuthorEntity
]
,
vandalizedFirstName:
String
,
vandalizedMiddleName:
String
,
useReliabilities:
Boolean
=
false
)
: (
Double
,
Double
)
def
filterAuthorsForAttributeEditing
(
authors:
Seq
[
AuthorEntity
]
)
:
Seq
[
AuthorEntity
]
Attributes
protected
def
filteredSubEntities
(
e:
AuthorEntity
)
:
Seq
[
AuthorEntity
]
def
filteredSubEntities
(
entities:
Seq
[
AuthorEntity
]
)
:
ArrayBuffer
[
Seq
[
AuthorEntity
]]
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
def
findBestSplits
[
T <:
HierEntity
with
HumanEditMention
]
(
e:
T
,
scoreFunction: (
Seq
[
HierEntity
]) ⇒
Double
)
:
Seq
[(
T
,
Double
)]
def
findIncorrectSplits
[
T <:
HierEntity
with
HumanEditMention
]
(
e:
T
,
scoreFunction: (
Seq
[
HierEntity
]) ⇒
Double
)
:
Seq
[(
T
,
Double
)]
def
findMostIncorrectSplit
[
T <:
HierEntity
with
HumanEditMention
]
(
e:
T
,
scoreFunction: (
Seq
[
HierEntity
]) ⇒
Double
)
: (
T
,
Double
)
def
findRandomIncorrectSplit
[
T <:
HierEntity
with
HumanEditMention
]
(
e:
T
,
scoreFunction: (
Seq
[
HierEntity
]) ⇒
Double
,
editsPerEntity:
Int
)
:
Seq
[(
T
,
Double
)]
def
generateAttributeEdits
(
authors:
Seq
[
AuthorEntity
]
,
includeCorruptiveEdits:
Boolean
=
false
)
:
Seq
[
ExpAttributeEdit
[
AuthorEntity
]]
def
generateAttributeVandalism
(
authors:
Seq
[
AuthorEntity
]
,
vandalizedFirstName:
String
,
vandalizedMiddleName:
String
,
portionVandalized:
Double
)
:
Seq
[
ExpAttributeEdit
[
AuthorEntity
]]
def
generateContradictingEdits
(
edits:
Seq
[
ExperimentalEdit
[
AuthorEntity
]]
)
:
Seq
[
ExperimentalEdit
[
AuthorEntity
]]
def
generateEditsForAuthor
(
entities:
Seq
[
AuthorEntity
]
,
authorTruthKey:
String
)
:
Seq
[
ExperimentalEdit
[
AuthorEntity
]]
def
generateSubEntitySLEdits
(
entities:
Seq
[
AuthorEntity
]
,
purityRequirement:
Double
,
sizeRequirement:
Int
,
truthSizeRequirement:
Int
)
:
Seq
[
ExpMergeEdit
[
AuthorEntity
]]
def
generateSubEntitySLEditsOLD
(
entities:
Seq
[
AuthorEntity
]
,
purityRequirement:
Double
,
sizeRequirement:
Int
,
truthSizeRequirement:
Int
)
:
Seq
[
ExpMergeEdit
[
AuthorEntity
]]
def
getAuthorEdits
(
initialDB:
Seq
[
AuthorEntity
]
,
minimumEntitySize:
Int
,
minPurity:
Double
=
0.0
)
:
Seq
[
ExpMergeEdit
[
AuthorEntity
]]
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
getExperimentPrintWriter
(
file:
File
)
:
PrintWriter
def
getUserNamesFromProminentAuthors
(
entities:
Seq
[
AuthorEntity
]
,
mentionReq:
Int
)
:
Seq
[(
String
,
Int
)]
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
def
incorrectAuthorSplitEdits
(
initialDB:
Seq
[
AuthorEntity
]
,
editsPerEntity:
Int
)
:
Seq
[
ExpSplitEdit
[
AuthorEntity
]]
def
incorrectSplitEdits
[
T <:
HierEntity
with
HumanEditMention
]
(
allEntities:
Seq
[
T
]
,
newEntity: (
Unit
) ⇒
T
,
scoreFunction: (
Seq
[
HierEntity
]) ⇒
Double
,
createEditMentionFrom: (
T
) ⇒
T
,
editsPerEntity:
Int
)
:
Seq
[
ExpSplitEdit
[
T
]]
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
label2truth
(
authors:
Seq
[
AuthorEntity
]
)
:
HashMap
[
String
,
FullName
]
Attributes
protected
def
lightcopy
(
original:
AuthorEntity
)
:
AuthorEntity
Attributes
protected
def
mergeBaseline1
(
edit:
AuthorEntity
,
d:
variable.DiffList
)
:
Unit
Attributes
protected
def
mergeBaseline1
(
initialDB:
Seq
[
AuthorEntity
]
,
evidenceBatches:
Seq
[
Seq
[
AuthorEntity
]]
,
file:
File
)
:
Unit
def
mergeBaseline2
(
edit:
AuthorEntity
,
d2:
variable.DiffList
)
:
Unit
Attributes
protected
def
mergeBaseline2
(
initialDB:
Seq
[
AuthorEntity
]
,
evidenceBatches:
Seq
[
Seq
[
AuthorEntity
]]
,
file:
File
)
:
Unit
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
normalizedEditSimilarity
(
memberOfMentionsToCompare:
AuthorEntity
,
mentions:
Seq
[
AuthorEntity
]
)
:
Double
Attributes
protected
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
percentOfAuthorsVandalized
(
authors:
Seq
[
AuthorEntity
]
,
vandalizedFirstName:
String
,
vandalizedMiddleName:
String
)
:
Double
def
pickCanonicalMention
(
entity:
AuthorEntity
,
useReliability:
Boolean
=
false
)
:
AuthorEntity
def
sampleLineage
(
e:
AuthorEntity
)
:
AuthorEntity
Attributes
protected
def
scoreMergeEdit
(
edit:
ExpMergeEdit
[
AuthorEntity
]
)
: (
Double
,
Double
,
Double
)
def
scoreSplitEdit
(
edit:
ExpMergeEdit
[
AuthorEntity
]
)
: (
Double
,
Double
,
Double
)
def
simulateBenevolentSelfInterestedUser
(
entities:
Seq
[
AuthorEntity
]
,
authorKey:
String
)
:
Seq
[
ExperimentalEdit
[
AuthorEntity
]]
def
simulateGreedyUser
(
entities:
Seq
[
AuthorEntity
]
,
greedyUserName:
String
,
allUserNames:
Seq
[
String
]
,
numTargets:
Int
)
:
Seq
[
ExperimentalEdit
[
AuthorEntity
]]
def
splitBaseline1
(
edit:
AuthorEntity
,
d:
variable.DiffList
)
:
Unit
Attributes
protected
def
splitBaseline1
(
initialDB:
Seq
[
AuthorEntity
]
,
evidenceBatches:
Seq
[
Seq
[
AuthorEntity
]]
,
file:
File
)
:
Unit
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
testCanonical
(
authors:
Seq
[
AuthorEntity
]
)
:
Unit
def
testCanonicalization
(
entity:
AuthorEntity
)
:
Unit
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
AltStyle
によって変換されたページ
(->オリジナル)
/
アドレス:
モード:
デフォルト
音声ブラウザ
ルビ付き
配色反転
文字拡大
モバイル