Comments (3)
Hi @ariellellouch,
That's a good idea, I will see what I can do. This seems to require some changes in stochopy
, though.
Also, I am not sure if it's just for the example, but 10000 particles sound a bit too much for 39 parameters to invert. Even the conservative rule-of-thumb 10D (so 390 particles) would usually be too much. For 20 layers, 100 particles should be more than enough. If not, I would suggest to better constrain the search with more restrictive search boundaries.
from evodcinv.
Hi @ariellellouch,
I finally got some time to work on it. Please update to version 2.1.0: pip install evodcinv -U
(that should update stochopy
to version 2.3.0 as well, if not, do it manually).
This version adds a new option that allows you to control the verbosity as a fraction of population size (or only return best model for each iteration if set to 0), for instance:
model.configure(
optimizer="cpso", # Evolutionary algorithm
misfit="rmse", # Misfit function type
optimizer_args={
"popsize": 10, # Population size
"maxiter": 100, # Number of iterations
"workers": -1, # Number of cores
"seed": 0,
"verbosity": 0.0, # Only return best model for each iteration
},
)
Hope that works for you!
from evodcinv.
Yes, works great (both updating and results)!
from evodcinv.
Related Issues (11)
- 2): Symbol not found: _PyBytes_FromString HOT 11
- Multi-mode inversion yields models that do not predict the data HOT 4
- Adding a constraint for velocity increasing with depth HOT 4
- Output models HOT 36
- Support for Scholte wave inversion HOT 4
- Poisson's ratio HOT 3
- FileNotFoundError
- Example of plot results HOT 2
- Example not working HOT 1
- model.invert: concatenation of run results HOT 1
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 evodcinv.