python - What to do with mismatch shape(or size) between data and target to be used in scikit-learn? -


i downloaded several fmri datasets, using nilearn job. somehow, example in nilearn has same shape (or size or length) data vs target (such in haxby dataset, 1452 time series vs 1452 labels).

i want use scikit-learn type of classification or transformation using mismatched dataset (for example: target has less length), needs same length of data , target(x_n_samples = y_n_samples).

is there type of preprocessing type of problem in scikit-learn?


Comments

Popular posts from this blog

serialization - Convert Any type in scala to Array[Byte] and back -

matplotlib support failed in PyCharm on OSX -

python - Matplotlib: TypeError: 'AxesSubplot' object is not callable -