Skip to content
Discussion options

You must be logged in to vote

Hi @muhammadhasyim ! It's great to hear you are using PyBOP for your model fitting.

Weights are enabled in two places:

  1. A pybop.WeightedCost allows you to weight costs associated with either the same or different problems, e.g. you can start by defining separate costs for the voltage and heating. If these costs are based on a identical problem, then the underlying simulation should be run only once for each set of parameters. See examples/scripts/getting_started/weighted_cost.py.

  2. Alternatively, any fitting cost (that is an error measure) can be defined with an array of weights the same length as your domain data. See the documentation for the pybop.FittingCost. It would be great if you…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by muhammadhasyim
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants