Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CategoryToDist ¶ added in v0.6.0
func CategoryToDist(cat string) relational.Degree
CategoryToDist converts the category used by ML-Relate to its relational distance. Errors on unrecognized categories.
func RelToLevel ¶
func RelToLevel(x float64) relational.Degree
RelToLevel computes the relational distance given the relatedness score
Examples:
relToLevel(0.5) --> First relToLevel(0.25) --> Second relToLevel(0.125) --> Third ... relToLevel(<=0) --> Unrelated
func RmHeader ¶
RmHeader removes the header row of a table TODO: Make checks for header content before removal
func StringInSlice ¶ added in v0.5.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.