trajminer.classification.TraClass¶
-
class
trajminer.classification.TraClass¶ TraClass: Trajectory Classification Using Hierarchical Region-Based and Trajectory-Based Clustering.
TO-DO
-
__init__()¶ Initialize self. See help(type(self)) for accurate signature.
-
predict(X)¶ Returns the predictions for the given test data.
- Xarray-like, shape (n_samples, max_length, n_features)
Input data.
- predictionsarray-like, shape (n_samples, n_labels)
Predicted class for each input sample.
-
score(X, y)¶ Returns the accuracy on the given test data and labels.
- Xarray-like, shape (n_samples, max_length, n_features)
Input data.
- yarray-like, shape (n_samples, n_labels)
Labels of input samples.
- scorefloat
Accuracy of self.predict(X) according to y.
-