TableColStd generates a similarity / distance matrix from given column name in given IndexView of an table.Table, and given standard metric function. if labNm is not empty, uses given column name for labels, which if blankRepeat is true are filtered so that any sequentially repeated labels are blank
(ix *table.IndexView, column, labNm string, blankRepeat bool, met metric.StdMetrics)
| 40 | // is true are filtered so that any sequentially repeated labels are blank. |
| 41 | // This Std version is usable e.g., in Python where the func cannot be passed. |
| 42 | func (smat *SimMat) TableColStd(ix *table.IndexView, column, labNm string, blankRepeat bool, met metric.StdMetrics) error { |
| 43 | return smat.TableCol(ix, column, labNm, blankRepeat, metric.StdFunc64(met)) |
| 44 | } |
| 45 | |
| 46 | // TableCol generates a similarity / distance matrix from given column name |
| 47 | // in given IndexView of an table.Table, and given metric function. |