Closed ErwinKomen closed 9 months ago
The passim-plugin consists of two basic parts
dashboard
, which works on 'prepared' data - first part
prepare
data for the dashboard - second partBoardDataset
: points to a location on the server that holds pre-calculated dataset dataSermonsDistance
: list of methods to measure distance between sermons - pre-set via admin interfaceSeriesDistance
: list of methods to measure distance between series - pre-set via admin interfaceDimension
: choice between 2d and 3d (for the moment; pre-set via admin)ClMethod
; list of clustering methods that can be used - preset via the admin interfaceHighlight
: list of fields and other things that can be used as a 'highlight'. Two main components:
SermonDescr
:
library, idno, lcity, lcountry, date, total, sermons, content, century, age, is_emblamatic
sermboard
BoardForm
+ plugin/sermonboard.htmlMEDIA_DIR/plugin/preprocessed_data/...
store
in calculate.pystore
, as soon as a new object GenGraph
is created
Umap
: initial highlight should be lcountry
<div
groups umap_params
and clustering_params
- worksClustering
:
linkage
in calculations
scipy/cluster/hierarchy.py
from scipy.cluster.hierarchy import *
Umap
: is workingSeries Heatmap
:
1.Sermons Heatmap
:
Filter | Clustering |
Umap |
Series Heatmap |
Sermons Heatmap |
---|---|---|---|---|
Minimal collection length | 5 | 5 | 5 | 5 |
Sermons | + | + | + | + |
Anchor manuscript | + | + | + | + |
Number of closest manuscripts | 10 | 10 | 10 | 10 |
Target dimension | - | 2D |
- | - |
Highlight | - | century |
- | - |
Number of neighbours | - | 10 | - | - |
Minimal distance | - | 0.1 | - | - |
Clustering method | ward |
- | - | - |
Follow-up: see issue #733
Integrate the clustering plug-in that we talked about.