TemporalMapper API
Classes
Wrapper over density-based Mapper for Temporal Topic Modelling |
|
sklearn compliant density-based Mapper estimator. |
|
Mapper based sklearn compliant clusterer. |
Plotting Functions
Visualize all the slices in the kerneled cover of a TemporalMapper, requires Plotly. |
|
Visualize the gomic of the Mapper object |
|
Compute a stock-market style treemap of relative growth of topics. |
|
Plot the temporal graph in 2d with vertices at their cluster centroids. |
|
Make a string more square by adding newlines |
|
Using a bag of words corresponding to each data point, get top n_words informative keywords for each cluster |
Temporal Kernels
- temporalmapper.kernels.gaussian(t0, t, density, binwidth, epsilon=0.1, params=None)
Returns weights for samples at times t for a Gaussian kernel centered at t0
- temporalmapper.kernels.square(t0, t, density, binwidth, epsilon=0.1, params=None)
Returns weights for samples at times t for a square kernel centered at t0
- temporalmapper.kernels.triangle(t0, t, density, binwidth, epsilon=0.1, params=None)
Returns weights for samples at times t for a triangle kernel centered at t0