SurveyTangles#
- class tangles.convenience.SurveyTangles(survey: Survey)#
Manages a tangle search on survey data.
Attributes#
- survey
Survey A survey object.
- sweep
TangleSweepFeatureSysorUncrossingSweep An object containing a sweep object and a feature system (or separation system).
- agreementint
The currently valid agreement lower bound.
- similarity_matrixnp.ndarray or scipy.sparse.spmatrix
A similarity matrix.
- orderlist, np.ndarray or
SetSeparationOrderFunction An object indicating in which order the features are used for the tangle search. A
SetSeparationOrderFunctionis aCallable[[np.ndarray], np.ndarray].- progress_callback
DefaultProgressCallbackor callable A callable providing a progress indication (see
DefaultProgressCallbackfor reference).
Properties
The feature system (or separation system) in use
Current agreement lower bound
Methods
Change the agreement lower bound
Create a dataframe containing information about a feature specification
This function starts a tangle search on survey data
Load a
SurveyTanglesfrom filesReturn the metadata of the features (or separations) sorted corresponding to the order used for the tangle search
Search tangles
Determine which features could be specified by the tangles found for the current agreement
Create a matrix indicating how the features (or separations) are specified (or oriented) by the tangles
Create a dataframe containing the ‘typical’ answers given by each tangle
- survey