-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
hello, thank you very much for this method and tutorials!
i was wondering if there was the option to train the spectra model on one dataset and then generate spectra factors / scores for a new dataset?
following the syntax of the tutorial, something like
model = spc.SPECTRA_Model(X = X_train, labels = np.array(adata_train.obs['cell_type']),
L = L,
adj_matrix = adj_matrix,
weights = None, lam = 0.01, delta=0.001,kappa = None, rho = 0.05,
use_cell_types = True)
model.train(X = X_train, labels = np.array(adata_train.obs['cell_type']),
num_epochs=2)
model.test(X = X_test, labels = np.array(adata_test.obs['cell_type']))
thank you very much in advance!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels