Update stix2/equivalence/object/__init__.py
Co-authored-by: Chris Lenk <clenk@users.noreply.github.com>pull/1/head
parent
702c80bd53
commit
52c5f3ad29
|
@ -64,7 +64,7 @@ def object_similarity(obj1, obj2, prop_scores={}, **weight_dict):
|
||||||
prop_scores: A dictionary that can hold individual property scores,
|
prop_scores: A dictionary that can hold individual property scores,
|
||||||
weights, contributing score, matching score and sum of weights.
|
weights, contributing score, matching score and sum of weights.
|
||||||
weight_dict: A dictionary that can be used to override settings
|
weight_dict: A dictionary that can be used to override settings
|
||||||
in the semantic equivalence process
|
in the similarity process
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
float: A number between 0.0 and 100.0 as a measurement of similarity.
|
float: A number between 0.0 and 100.0 as a measurement of similarity.
|
||||||
|
|
Loading…
Reference in New Issue