Hi, See: https://docs.scipy.org/doc/numpy/reference/generated/numpy.loadtxt.html for one way.
On Thu, Apr 6, 2017 at 8:27 AM, Sema Atasever <s.atase...@gmail.com> wrote: > Dear scikit-learn members, > > I have a dat file where the columns represent the features and the rows > represent the protein. (you can see the dat file in the attachment) > > > i want to use *sklearn.cluster.Birch* with this text file values as X > which is the > > Parameters: > X : {array-like, sparse matrix} > > How can i transform this text file values into X : {array-like, sparse > matrix}. > > I would appreciate if you could advise on some methods. > Thanks. > > _______________________________________________ > scikit-learn mailing list > scikit-learn@python.org > https://mail.python.org/mailman/listinfo/scikit-learn > > -- Manoj, http://github.com/MechCoder
_______________________________________________ scikit-learn mailing list scikit-learn@python.org https://mail.python.org/mailman/listinfo/scikit-learn