Python Forum
pdf with entropy shannon read csv
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
pdf with entropy shannon read csv
#6
Quote:
def mepdf(MF,l):
    def pdf(X):
        for i in range(0,l.size):
            Y[:,i]= MF[i](X)   
Here i have the problem that this code is from R and there is : MF[[i]](x)...i don't know how i can do it in Python
I am really sure that my way is wrong 
            np.exp(l * Y.T)
            break
        return X
    return mepdf(MF,l)

Like this?
def mepdf(MF,l):
    for i in range(0,l.size):
        Y[:,i]= MF[i](X)   
        np.exp(l * Y.T)
        break
    return X
Reply


Messages In This Thread
pdf with entropy shannon read csv - by Joey21 - Feb-07-2018, 01:45 PM
RE: pdf with entropy shannon read csv - by Joey21 - Feb-08-2018, 06:33 PM
RE: pdf with entropy shannon read csv - by nilamo - Feb-08-2018, 07:00 PM
RE: pdf with entropy shannon read csv - by Joey21 - Feb-08-2018, 09:53 PM
RE: pdf with entropy shannon read csv - by nilamo - Feb-10-2018, 07:24 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020