read_descriptor_model_from_h5¶
- soda_analyzer.read_descriptor_model_from_h5(h5_lib)¶
Collect persisted descriptor data needed to reconstruct a DECAF model.
- Parameters:
h5_lib (h5py.File) – Open SODA HDF5 file. Keep it open while using views derived from it.
- Returns:
dict – Training data, embedded data, assignments, operator, bandwidth, and model metadata.
Notes
- Returns:
model_data (dict) – Dictionary with keys: - full_descriptors - descriptor_registries - train_data - train_full_descriptor_ids - train_registry_rows - used_explicit_members - descriptor_embedding_members - descriptor_clustering_members - t_embedded - t_gID - embedding_dim - embed_op - sigma - bandwidth - embed_str - cluster_str - bandwidth_estimate - groupnum - num_columns - mds_normalized - bandwidths - meta