ToolPythonBeginner Classification with scikit-learn: telling two populations apart y = np.concatenate([np.ones(600, dtype=int), np.zeros(1400, dtype=int)]) # 1 = signal, 0 = backgroundy_fresh = np.concatenate([np.ones(n_signal, dtype=int), np.zeros(10**6 - n_signal, dtype=int)])
ToolPythonBeginner Counting cells with scipy.ndimage: how many are there, and how large? both = np.concatenate([cell_area, true_area])