Code Monkey home page Code Monkey logo

Comments (11)

LinguList avatar LinguList commented on July 21, 2024

Let me check the coverage first ;-)

from autocogphylo.

LinguList avatar LinguList commented on July 21, 2024

and reg. the Bouchard-Cote data: it is not really clean, but I'll see.

from autocogphylo.

PhyloStar avatar PhyloStar commented on July 21, 2024

If possible, please, do not run your modified lexStat code (which might correct for coverage issues). Better to show that LexStat designed for ideal situation can be used to infer decent tree topology.

from autocogphylo.

LinguList avatar LinguList commented on July 21, 2024

Okay, ABVD-400 is not a good test set, as the average coverage of the languages is only 53 words!

To replicate, just download most recent lingpy version (from github), last PR, and do (just submitted):

from lingpy.compare.sanity import mutual_coverage
from lingpy import *
from itertools import combinations

wl = Wordlist('data/ABVD_full.txt')
coverage = mutual_coverage(wl)

coperlan = []
for l in wl.cols:
    cov = sum(list(coverage[l].values())) / (wl.width-1)
    print(l, cov)
    coperlan += [cov]
print(sum(coperlan) / len(coperlan))

from autocogphylo.

LinguList avatar LinguList commented on July 21, 2024

We could use this code as a base-check for all kind of data.

from autocogphylo.

PhyloStar avatar PhyloStar commented on July 21, 2024

Okay. Kewl. I still wonder how the trees from ABVD come close to the gold standard tree in the paper of Greenhill et al. (Bayesian myths for Austronesian).

from autocogphylo.

LinguList avatar LinguList commented on July 21, 2024

well, I just won't run the code on data with coverage below 100. I think this is a solid way to state it, right?

from autocogphylo.

PhyloStar avatar PhyloStar commented on July 21, 2024

Okay. Then, I will just exclude those languages from the nexus files for PMI and LDN.

from autocogphylo.

PhyloStar avatar PhyloStar commented on July 21, 2024

I will be off-grid for two days since I am traveling to India tomorrow. Will be adding pmi nexus files on the way.

Then, I will start running Bayesian analysis for ABVD full and IELex starting with LDN, Turchin, PMI, LexStat.

from autocogphylo.

LinguList avatar LinguList commented on July 21, 2024

I added the computed lexstat-scorers in an extra folder which is called bins/. As a default, calling python lexstat.py will take the data from there, use the pre-computed scoring functions, and run the analysis, which is considerably fast. It is a big large in terms of data (130MB), but it's the easiest way to make results comparable, and to speed up re-computation of lexstat scores (also for testing).

from autocogphylo.

LinguList avatar LinguList commented on July 21, 2024

I'll close this now, as the data is computed, and lexstat scores are available in scores.md

from autocogphylo.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.