All Versions
82
Latest Version
Avg Release Cycle
82 days
Latest Release
734 days ago

Changelog History
Page 5

  • v0.12.4 Changes

    January 29, 2016
    • πŸ‘ Better internal handling of job batching in word2vec (#535)
      • up to 300% speed up when training on very short documents (~tweets)
    • Word2vec CLI in line with original word2vec.c (Andrey Kutuzov, #538)
    • Improved load_word2vec_format() performance (@svenkreiss, #555)
      • Remove init_sims() call for performance improvements when normalized vectors are not needed.
      • Remove norm_only parameter (API change). Call init_sims(replace=True) after the load_word2vec_format() call for the old norm_only=True behavior.
    • Word2vec allows non-strict unicode error handling (ignore or replace) (Gordon Mohr, #466)
    • Doc2Vec model.docvecs[key] now raises KeyError for unknown keys (Gordon Mohr, #520)
    • Fix DocvecsArray.index_to_doctag so most_similar() returns string doctags (Gordon Mohr, #560)
    • On-demand loading of the pattern library in utils.lemmatize (Jan Zikes, #461)
      • utils.HAS_PATTERN flag moved to utils.has_pattern()
    • Threadsafe Word2Vec/Doc2Vec finish-check to avoid hang/unending Word2Vec/Doc2Vec training (Gordon Mohr, #571)
    • Tuned TestWord2VecModel.test_cbow_hs() against random failures (Gordon Mohr, #531)
    • 0️⃣ Prevent ZeroDivisionError when default_timer() indicate no elapsed time (Gordon Mohr, #518)
    • Forwards compatibility for NumPy > 1.10 (Matti Lyra, #494, #513)
      • LdaModel and LdaMulticore produce a large number of DeprecationWarnings from .inference() because the term ids in each chunk returned from utils.grouper are floats. This behaviour has been changed so that the term IDs are now ints.
      • utils.grouper returns a python list instead of a numpy array in .update() when LdaModel is called in non distributed mode
      • in distributed mode .update() will still call utils.grouper with as_numpy=True to save memory
      • LdaModel.update and LdaMulticore.update have a new keyword parameter chunks_as_numpy=True/False (defaults to False) that allows controlling this behaviour
  • v0.12.3 Changes

    November 05, 2015
    • πŸ‘‰ Make show_topics return value consistent across models (Christopher Corley, #448)
      • All models with the show_topics method should return a list of (topic_number, topic) tuples, where topic is a list of (word, probability) tuples.
      • This is a breaking change that affects users of the LsiModel, LdaModel, and LdaMulticore that may be reliant on the old tuple layout of (probability, word).
    • Mixed integer & string document-tags (keys to doc-vectors) will work (Gordon Mohr, #491)
      • DocvecsArray's index2doctag list is renamed/reinterpreted as offset2doctag
      • offset2doctag entries map to doctag_syn0 indexes after last plain-int doctag (if any)
      • (If using only string doctags, offset2doctag may be interpreted same as index2doctag.)
    • πŸ†• New Tutorials on Dynamic Topic Modelling and Classification via Word2Vec (@arttii #471, @mataddy #500)
    • Auto-learning for the eta parameter on the LdaModel (Christopher Corley, #479)
    • πŸ‘ Python 3.5 support
    • Speed improvements to keyword and summarisation methods (@erbas #441)
    • OSX wheels (#504)
    • πŸ— Win build (#492)
  • v0.12.2 Changes

    September 19, 2015
    • tutorial on text summarization (Γ“lavur Mortensen, #436)
    • more flexible vocabulary construction in word2vec & doc2vec (Philipp Dowling, #434)
    • βž• added support for sliced TransformedCorpus objects, so that after applying (for instance) TfidfModel the returned corpus remains randomly indexable. (Matti Lyra, #425)
    • πŸ”„ changed the LdaModel.save so that a custom ignore list can be passed in (Matti Lyra, #331)
    • βž• added support for NumPy style fancy indexing to corpus objects (Matti Lyra, #414)
    • py3k fix in distributed LSI (spacecowboy, #433)
    • 🏁 Windows fix for setup.py (#428)
    • πŸ›  fix compatibility for scipy 0.16.0 (#415)
  • v0.12.1 Changes

    July 20, 2015
    • πŸ‘Œ improvements to testing, switch to Travis CI containers
    • πŸ‘Œ support for loading old word2vec models (<=0.11.1) in 0.12+ (Gordon Mohr, #405)
    • πŸ›  various bug fixes to word2vec, doc2vec (Gordon Mohr, #393, #386, #404)
    • πŸ‘ TextSummatization support for very short texts (Federico Barrios, #390)
    • πŸ‘Œ support for word2vec[['word1', 'word2'...]] convenience API calls (Satish Palaniappan, #395)
    • πŸ‘ MatrixSimilarity supports indexing generator corpora (single pass)
  • v0.12.0 Changes

    July 06, 2015
    • 🐎 complete API, performance, memory overhaul of doc2vec (Gordon Mohr, #356, #373, #380, #384)
      • fast infer_vector(); optional memory-mapped doc vectors; memory savings with int doc IDs
      • 'dbow_words' for combined DBOW & word skip-gram training; new 'dm_concat' mode
      • multithreading & negative-sampling optimizations (also benefitting word2vec)
      • API NOTE: doc vectors must now be accessed/compared through model's 'docvecs' field (eg: "model.docvecs['my_ID']" or "model.docvecs.most_similar('my_ID')")
      • https://github.com/piskvorky/gensim/blob/develop/docs/notebooks/doc2vec-IMDB.ipynb
    • πŸ†• new "text summarization" module (PR #324: Federico Lopez, Federico Barrios)
    • πŸ†• new matutils.argsort with partial sort
      • performance speedups to all similarity queries (word2vec, Similarity classes...)
    • word2vec can compute likelihood scores for classification (Mat Addy, #358)
    • πŸ‘ word2vec supports "encoding" parameter when loading from C format, for non-utf8 models
    • more memory-efficient word2vec training (#385)
    • πŸ›  fixes to Python3 compatibility (Pavel Kalaidin #330, S-Eugene #369)
    • ✨ enhancements to save/load format (Liang Bo Wang #363, Gordon Mohr #356)
      • pickle defaults to protocol=2 for better py3 compatibility
    • πŸ›  fixes and improvements to wiki parsing (Lukas Elmer #357, Excellent5 #333)
    • πŸ›  fix to phrases scoring (Ikuya Yamada, #353)
    • speed up of phrases generation (Dave Challis, #349)
    • πŸ”„ changes to multipass LDA training (Christopher Corley, #298)
    • πŸ›  various doc improvements and fixes (Matti Lyra #331, Hongjoo Lee #334)
    • πŸ›  fixes and improvements to LDA (Christopher Corley #323)
  • v0.11.0 Changes

    April 10, 2015
    • βž• added "topic ranking" to sort topics by coherence in LdaModel (jtmcmc, #311)
    • πŸ†• new fast ShardedCorpus out-of-core corpus (Jan Hajic jr., #284)
    • utils.smart_open now uses the smart_open package (#316)
    • πŸ†• new wrapper for LDA in Vowpal Wabbit (Dave Challis, #304)
    • πŸ‘Œ improvements to the DtmModel wrapper (Yang Han, #272, #277)
    • 🚚 move wrappers for external modeling programs into a submodule (Christopher Corley, #295)
    • πŸ‘ allow transparent compression of NumPy files in save/load (Christopher Corley, #248)
    • πŸ’Ύ save/load methods now accept file handles, in addition to file names (macks22, #292)
    • πŸ›  fixes to LdaMulticore on Windows (Feng Mai, #305)
    • πŸ›  lots of small fixes & py3k compatibility improvements (Chyi-Kwei Yau, Daniel Nouri, Timothy Emerick, Juarez Bochi, Christopher Corley, Chirag Nagpal, Jan Hajic jr., FlΓ‘vio CodeΓ§o Coelho)
    • πŸš€ re-released as 0.11.1 and 0.11.1-1 because of a packaging bug
  • v0.10.3 Changes

    November 17, 2014
    • βž• added streamed phrases = collocation detection (Miguel Cabrera, #258)
    • βž• added param for multiple word2vec epochs (sebastienj, #243)
    • βž• added doc2vec (=paragraph2vec = extension of word2vec) model (Timothy Emerick, #231)
    • πŸŽ‰ initialize word2vec deterministically, for increased experiment reproducibility (KCzar, #240)
    • all indexed corpora now allow full Python slicing syntax (Christopher Corley, #246)
    • ⚑️ update distributed code for new Pyro4 API and py3k (Michael Brooks, Marco Bonzanini, #255, #249)
    • πŸ›  fixes to six module version (Lars Buitinck, #259)
    • πŸ›  fixes to setup.py (Maxim Avanov and Christopher Corley, #260, #251)
    • ⚑️ ...and lots of minor fixes & updates all around
  • v0.10.2 Changes

    September 18, 2014
    • πŸ†• new parallelized, LdaMulticore implementation (Jan Zikes, #232)
    • Dynamic Topic Models (DTM) wrapper (Arttii, #205)
    • word2vec compiled from bundled C file at install time: no more pyximport (#233)
    • πŸ–¨ standardize show_/print_topics in LdaMallet (Benjamin Bray, #223)
    • βž• add new word2vec multiplicative objective (3CosMul) of Levy & Goldberg (Gordon Mohr, #224)
    • preserve case in MALLET wrapper (mcburton, #222)
    • πŸ‘Œ support for matrix-valued topic/word prior eta in LdaModel (mjwillson, #208)
    • πŸ“œ py3k fix to SparseCorpus (Andreas Madsen, #234)
    • πŸ›  fix to LowCorpus when switching dictionaries (Christopher Corley, #237)
  • v0.10.1 Changes

    July 22, 2014
    • word2vec: new n_similarity method for comparing two sets of words (FranΓ§ois Scharffe, #219)
    • πŸ–¨ make LDA print/show topics parameters consistent with LSI (Bram Vandekerckhove, #201)
    • βž• add option for efficient word2vec subsampling (Gordon Mohr, #206)
    • πŸ›  fix length calculation for corpora on empty files (Christopher Corley, #209)
    • πŸ‘Œ improve file cleanup of unit tests (Christopher Corley)
    • βœ… more unit tests
    • unicode now stored everywhere in gensim internally; accepted input stays either utf8 or unicode
    • πŸ›  various fixes to the py3k ported code
    • πŸ‘ allow any dict-like input in Dictionary.from_corpus (Andreas Madsen)
    • error checking improvements to the MALLET wrapper
    • ignore non-articles during wiki parsig
    • utils.lemmatize now (optionally) ignores stopwords
  • v0.10.0 Changes

    June 04, 2014
    • πŸ‘ full Python 3 support (targeting 3.3+, #196)
    • all internal methods now expect & store unicode, instead of utf8
    • πŸ†• new optimized word2vec functionality: negative sampling, cbow (sebastien-j, #162)
    • allow by-frequency sort in Dictionary.save_as_text (Renaud Richardet, #192)
    • βž• add topic printing to HDP model (Tiepes, #190)
    • πŸ†• new gensim_addons package = optional install-time Cython compilations (BjΓΆrn Esser, #197)
    • βž• added py3.3 and 3.4 to Travis CI tests
    • πŸ›  fix a cbow word2vec bug (Liang-Chi Hsieh)