Feb-06-2018, 09:53 AM
Hi everyone,
i have a new work in data science.
My problem is that i always code in R and in python i have no good experience
1)
my code in R
in Python
i really don't know if it is right
2)
code in R
Python
this is very confusing for me i have noooo ideas
i have a new work in data science.
My problem is that i always code in R and in python i have no good experience
1)
my code in R
Quote: for(i in 1:length(l)) X[,i] = MF[[i]](x)
in Python
Quote:for i in range(1,1+l.length()):
X[:,i]= MF[i](x)
i really don't know if it is right

2)
code in R
Quote:if(is.na(sv[1])) l = rep(0,length(V)) else l = sv[-1]
Python
this is very confusing for me i have noooo ideas
