clint-leach / niche-model Goto Github PK
View Code? Open in Web Editor NEWBayesian hierarchical probabilistic niche model
License: MIT License
Bayesian hierarchical probabilistic niche model
License: MIT License
If any r
get too small, the probability of an interaction with a distant prey can become zero numerically, resulting in a log-likelihood of -Inf
. Moreover, any predators in the data that have only 1 prey will likely drive r
to be arbitrarily small, countered only by the prior.
In Williams et al. 2010, they fix r
and c
to small values for primary producers. These parameters aren't really meaningful for primary producers and there's nothing to inform c
, as long as r
gets small enough that the range doesn't contain anything.
In that paper, they also fix r
to a small value for specialists with only one prey. Not fixing it could cause numerical problems with r
getting shrunk arbitrarily small, but the prior might be able to prevent that.
From the log-likelihood being something other than a number or -Inf
. Not sure how this is happening (maybe a 0/0
in the phi
caclulation?), but need to at least try to catch it and return -Inf
instead.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.