Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: How can I access the corpus
Post: How can I access the corpus

Hello, I created a corpus for a number of documents as: from gensim import models, corpora corpus = corpora.BleiCorpus('./data/ap/ap.dat', './data/ap/vocab.txt')Now I want to access its documents...
PythonNewbie General Coding Help 1 2,917 Nov-24-2017, 02:51 PM
    Thread: argmin() and argsort()
Post: RE: argmin() and argsort()

(Nov-13-2017, 07:13 PM)DeaD_EyE Wrote: (Nov-13-2017, 10:16 AM)PythonNewbie Wrote: I noticed that argsort()[:1] returns an array, while argmin() returns a scalar. indx_argmin() returns an integer. ...
PythonNewbie Data Science 5 5,467 Nov-14-2017, 09:05 PM
    Thread: argmin() and argsort()
Post: RE: argmin() and argsort()

I think it has to do with what argsort() returns. For example, import numpy as np k = 1 x = np.array([0, 1, -1, 4, 2]) y = np.array(['a', 'b', 'c', 'd', 'e']) indx_argmin = x.argmin() indx_argsort...
PythonNewbie Data Science 5 5,467 Nov-13-2017, 05:29 PM
    Thread: argmin() and argsort()
Post: argmin() and argsort()

Hi, I implemented an algorithm in which I used the argmin() where the index of the smallest number in an array is returned to be used. Now, I would like to generalize my algorithm, and thus I want ...
PythonNewbie Data Science 5 5,467 Nov-13-2017, 10:16 AM
    Thread: Classification with shuffling
Post: RE: Classification with shuffling

Anyone could comment on this, please? I realize it needs some machine learning background.
PythonNewbie Data Science 1 2,428 Nov-12-2017, 10:23 AM
    Thread: Classification with shuffling
Post: Classification with shuffling

Hello all, This is my first post here, and I hope to find some help. I am trying to reproduce the results of an example (although the example isn't provided in full, so I had to write some parts ...
PythonNewbie Data Science 1 2,428 Nov-11-2017, 05:08 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020