Giter VIP home page Giter VIP logo

animal-feed-model's People

Contributors

florianjehn avatar k-r-a-s-s avatar lint-action avatar

Watchers

 avatar

animal-feed-model's Issues

Baseline decreasing popaultions

looks like the default is actually decreasing, this is a bit of a big deal after 120 months (goes down by like 30% or something). Could you verify and fix this issue?

Code should be more modular

Right now everything happens in one single file. However, it is better coding practice to separate things by what they do. Please split at least the model itself and the dash interface in separate files.

Typos in the app sliders

"Pig Breeding" -> "Reduction Pig Breeding".
"Poultry Breeding" -> "Reduction Poultry Breeding".

Logic Error in Popualtions

image

I'm getting the following in terms of feed, I wonder why the amount increases so much after 10 months?

Create tests

These are needed to verify that the code does what you think it does.
If you are unsure about this schedule a call with @florianjehn

Unused variables

bulls = df.loc["Bulls 500 pounds and over", "Qty"]
cattle_on_feed = df.loc["Cattle on feed", "Qty"]

Are defined, but never used. Not sure what the second is, but is it intentional that you don't account for bulls?

Feed Calculation Method

The other thing to consider is my method of assigning the feed intensity of an individual animal.
This is probably in the later basket, but I’d like to keep it on the radar.
It is currently top down:
Single_Beef_Cattle_Feed = Total_Beef_Feed/Pop_Beef_Cattle
I’ve gone this way as I think it is useful for understanding the change from ‘business as usual’
Where as it may more appropriate to adopt a bottom up approach for longer term models, as we may expect significant changes in the farming methods as they adopt to new situations. This would be more like:
a cow needs 1-3% of their bodyweight in feed (dry matter equivalent) per day, they can get XX% of this from grass, YY% from harvested forage (hay), and ZZ% from corn/soybean - where XX, YY, and ZZ are informed by the crop modelling.
This kind of feedback loop is not possible with the current feed model implementation… but again, it’s a pretty easy modification.

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.