Tabular data (cancer dataset) reshaping format and prepare for classification

I have a dataset for cancer and non-cancer patients and would like to prepare it for classification.

Each sample has 4 columns and 1298 rows. The total number of samples is 68. So my X_train shape is: (68, 1298, 4) and Y_train shape is (68).

Now, if I reshape the data to be in 2D array, how can I tell the model to separate these 68 samples?

My question is: how should I reshape the dataset and how should be the input shape format to the model?

Topic reshape

Category Data Science

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.