[HN Gopher] Prolog for Data Science
       ___________________________________________________________________
        
       Prolog for Data Science
        
       Author : usgroup
       Score  : 54 points
       Date   : 2023-05-07 20:36 UTC (2 hours ago)
        
 (HTM) web link (emiruz.com)
 (TXT) w3m dump (emiruz.com)
        
       | rscho wrote:
       | Related context: SWI Prolog has a lib to query and reason about a
       | machine-readable form of PubMed through RocksDB. If you do meta-
       | research, or AI-related biomed stuff, you should really check it
       | out!
        
       | agumonkey wrote:
       | I've always been curious about this sort of use of
       | Prolog/LogicProgramming. I wish to find more, thanks for sharing.
        
       | Vaslo wrote:
       | Thank God for Python.
        
         | sn_master wrote:
         | Turning compile errors into runtime errors since 1991.
        
       | henrydark wrote:
       | A different, also very explicit way to go about this type of
       | problem, that also generalizes fully, is to use a Bayesian
       | hierarchical model of a dirichlet process and sub-isotonic
       | regressions.
       | 
       | Gelman et al have written a lot about this, and they have a
       | proposed general workflow [1]
       | 
       | [1] Bayesian Workflow https://arxiv.org/abs/2011.01808
        
       | tannhaeuser wrote:
       | FWIW, there's the entire field of Inductive Logic Programming
       | focussed on learning/training (propositional or predicate logic)
       | theories in Prolog syntax from examples presented as Prolog
       | facts, with established packages such as Aleph and ProGolem also
       | implemented in Prolog. See eg [1] for an ISO Prolog port and
       | recent optimization/parallelization of Aleph.
       | 
       | [1]: https://quantumprolog.sgml.io/bioinformatics-demo/part1.html
        
         | bhntr3 wrote:
         | I finished my master's thesis in Inductive Logic Programming
         | recently at Oxford. I'd say that the field has continued
         | improving since Aleph, which was written in the late 90s.
         | 
         | Anyone interested could also take a look at Popper
         | (https://github.com/logic-and-learning-lab/Popper) or this
         | overview of the first 30 years of ILP
         | (https://arxiv.org/abs/2008.07912)
        
       | spacemannoslen wrote:
       | I always appreciate it when other data scientists talk about
       | making their data tell a story that upper management already
       | decided they wanted confirmed for them. Makes me feel less alone.
       | Thank you
        
         | version_five wrote:
         | I wish this was more widely understood. People act like "the
         | data tells us" actually holds some weight. And of course there
         | are places where something is so obvious that of course it's
         | reflected in the data. But anything subtle is probably just as
         | subjective as giving an opinion. The more degrees of freedom,
         | the more "the data" can fit whatever somebody wants.
         | 
         | In light of all that, making decisions by gut feelings or
         | intuition is, if nothing else, at least honest, and probably
         | just as good an approach as anything else.
        
         | pjot wrote:
         | I made the c-suite SaaS metrics generator especially for those
         | types of managers!
         | 
         | https://github.com/patricktrainer/csuite-saas-metric-generat...
        
       ___________________________________________________________________
       (page generated 2023-05-07 23:00 UTC)