Comments (3)
Generally sounds good. Maybe handle_undefined
could just be a boolean, I don't know how many options we are going to add.
fallback_value
might be interesting to allow getting a median, or average.
Feel free to start implementing this and open a (draft) PR.
from mesa.
@EwoutH
Here's a brief overview of the proposed change:
Add handle_undefined parameter with default "raise_exception".
Introduce fallback_value parameter to specify the value to return when handle_undefined is set to "fallback_value".
This modification aims to offer more flexibility and convenience for users dealing with diverse agent attributes. I believe this could be a valuable addition to our project, and I'm eager to hear your thoughts, suggestions, or any concerns you might have regarding this proposal.
from mesa.
Hi @rht,
Could you please have a look at the pr and let me know if I am on the right path..
Thanks :)
from mesa.
Related Issues (20)
- Make experimental cell spaces work with PropertyGrid HOT 1
- Make connections in experiment cell spaces named
- Question/request HOT 4
- Broken Links in Mesa Documentation
- Continuous space not visualizing (boid flockers model) HOT 1
- Use a Sparse data structure for (Multi)Grid
- Batch_Run begins, performs no iterations, no errors, writes empty .csv file. Help? HOT 2
- Inconsistency in get_neighbors Method Parameters for NetworkGrid in Mesa 2.2.4 HOT 1
- agent_portrayal isn't changing color of agent in Jupyter visualization HOT 1
- move_agent_to_one_of is deterministic when pos has multiple closest choices and selection="closest"
- Build docs for experimental modules (including cell space)
- Fix error in failing flocking benchmark
- Issue with data collection of PropertyLayer objects HOT 6
- batch_run stalls, no progress
- JupyterViz: Visualize new Cell Space
- JupyterViz: Visualize PropertyLayers
- Enhance Visualization Tutorial and use of new visualizations with Mesa Examples
- Move from Colab to jupyterlite for tutorials HOT 1
- Make Seminal Model Page
- huggingface hub integration HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mesa.