SC2Spa.tl.BatchPredict

SC2Spa.tl.BatchPredict(Model, X, BatchSize=60000)

Predict batch by batch

Parameters

Model

A trained fully connected neural network

X

a numpy array with the shape of (cell, gene)

BatchSize

number of cells for one batch

Returns

Preds

Predicted locations of X