How to create the training set?

I am working on a project related to Machine Learning in wireless communication. Here I have to prepare the training set as that consists of training features and training labels as:

$S = [(x_1,y_1),...,(x_M,y_M)] \in (X \times Y)^M$ ------(1)

where $m$ ranges from 1 to 10^5, $y_m$ is the training label such that $y_m$ $\in$ {-1,1} and $x_m$ is the training features given as $x_m = [\epsilon(m)_- \epsilon(m)_+] \in \mathcal{R}^2$.

Please note that I can obtain the $\epsilon(m)_-$ and $\epsilon(m)_+$ from the equations. My query is how should I arrange the training set. Please note that I am able to generate all the values of training set but not able to arrange it.

Any help in this regard will be highly appreciated.

Topic training machine-learning

Category Data Science

About

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