# Loss function

How to write the loss function for this paper can someone write it for (I-V)?? Also I have Id-Vgs data for which I have find three smooth differential di/dvg

1 Like

The problem here is that I am not a EE or Device Physics person, so it would take a lot more work for me to understand the point of what they are talking about there. The actual formulas they give look pretty straightforward, but the question is what is the actual data that you have to work with? Which variables do you actually get as inputs and in what form are they? Arrays or tensors of what shapes? And what is the form of the outputs of your model?

Note that some of the stuff they quote may look fancy, but is really just the basic definitions of logarithms and exponentials:

If we have:

y = log(\displaystyle \frac{I_{DS}}{V_{DS}})

z = e^y

That just says that:

z = \displaystyle \frac{I_{DS}}{V_{DS}}

So it shouldnâ€™t be any big revelation that:

I_{DS} = V_{DS} * z

The other thing to note is that RMS Iâ€™m guessing means â€śroot mean squareâ€ť, as in:

RMS(v) = \displaystyle \sqrt{\frac{1}{n}\sum_{i = 1}^n v_i^2}

So then the question is back to what I asked at the beginning: what is the actual data that you have when it comes time to compute the loss? Where do you get things like \displaystyle \frac {\partial z_{true}}{\partial V_{DS}} and \displaystyle \frac {\partial z_{pred}}{\partial V_{DS}}? Or is this just more fancy handwaving like the stuff I showed above, since z = \displaystyle \frac{I_{DS}}{V_{DS}}?

2 Likes

MOSFET.pdf (263.8 KB)
I have attached a pdf a short description of MOSFET ,you will need to understand
also the problem is also written. if you have any further questions you can ask, but please help me as I trying to implement it wanted to apply its loss function so badly

If you agree we can have a quick meet on google meet where I can clear all your doubts it will take very less time