mardi 20 novembre 2018

How to generate multi class test dataset using numpy?

I want to generate a multi class test dataset using numpy only for a classification problem. For example X is a numpy array of dimension(mxn), y of dimension(mx1) and let's say there are k no. of classes. Please help me with the code. [Here X represents the features and y represents the labels]




Aucun commentaire:

Enregistrer un commentaire