Pykov

Learning and science

markov chain library

SHOW HN2014

37points
11comments
#851of 2,272 in 2014
Top 38%of 2014 by points

How HN took it

QuietFewer than 5 comments about the project

0 positive, 2 neutral or asking, 0 mixed, 2 critical, out of 4 comments about the project.

Execution: 0 for, 1 againstDesign: 0 for, 1 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Maker is confident in it after using it on networks of about 100k nodes.

    From 1 comment
    • I coded this library during my PhD, where I applied Markov Chains to the study of protein folding dynamics. I am quite confident with it, but as far as I know few others used it.…
      ricsca on HN

Objections

  • Mixed Python 2 and Python 3 modules and code quality concerns.

    From 2 comments
    • Quite a few bad practices. 1. Separate python 2 and python 3 modules? How can I be sure that they both do the same thing? 2. You have the tarball in your source control. Why? 3.…
      ayrx on HN
    • I'm currently choosing whether to go with an existing MC library, or roll-my-own. Has anyone used this library? How is it working out? Reading the source sets a couple of alarm…
      piqufoh on HN
  • Misleading naming: Vector.sort() returns a result instead of sorting in place.

    From 2 comments
    • I'd note that `Vector.sort()` is an awkward choice of name for a function that returns a result, rather than mutating the object in-place, given the standard library tends to use…
      Latty on HN
    • True, but who really wants the mutating version? Worse, do we really want to make it more obvious/natural to modify in place? I think this is a standard library convention that…
      shoyer on HN
  • Commented-out methods and large single file.

    From 2 comments
    • Quite a few bad practices. 1. Separate python 2 and python 3 modules? How can I be sure that they both do the same thing? 2. You have the tarball in your source control. Why? 3.…
      ayrx on HN
    • I'm currently choosing whether to go with an existing MC library, or roll-my-own. Has anyone used this library? How is it working out? Reading the source sets a couple of alarm…
      piqufoh on HN
  • Missing numpy and scipy dependencies in setup.py.

    From 1 comment
    • Quite a few bad practices. 1. Separate python 2 and python 3 modules? How can I be sure that they both do the same thing? 2. You have the tarball in your source control. Why? 3.…
      ayrx on HN

Requests

  • Rename Vector.sort() to follow standard library naming conventions.

    From 2 comments
    • I'd note that `Vector.sort()` is an awkward choice of name for a function that returns a result, rather than mutating the object in-place, given the standard library tends to use…
      Latty on HN
    • Agree. Naming is difficult and here maybe I did a wrong choice. Anyway, pykov.Vector class inherit from dict, which is not ordered, so mutating in place cannot be done. The…
      ricsca on HN

Questions

  • How does this differ from PyMC?

    From 1 comment
    • How does this differ from PyMC? How is this tiny? I would be interested in a Python Markov chain library since I use them a lot.
      mrcactu5 on HN
  • Has anyone used this library and how did it work out?

    From 1 comment
    • I'm currently choosing whether to go with an existing MC library, or roll-my-own. Has anyone used this library? How is it working out? Reading the source sets a couple of alarm…
      piqufoh on HN

Alternatives named

  • PyMC

    From 1 comment
    • How does this differ from PyMC? How is this tiny? I would be interested in a Python Markov chain library since I use them a lot.
      mrcactu5 on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/8414525)