Ansh
  • Member for 2 years, 8 months
  • Last seen more than a month ago
How to replace NaN values for image data?
2 votes

for any (x,y) if NAN you can impute to average of surrounding pixels as: if((x==0 & y==0): return (x+1)+(y+1))/2 else if(x==x_max & y==y_max): return (x-1)+(y-1))/2 else if(x==0 & y=...

View answer
Dealing with skewed mean
1 votes

As per business statement it is a exceptional scenario when minimum subsidy will be provided. So for displaying common behavior of data you can drop these exceptional values from table. You can use ...

View answer
Machine learning analysis for data set
0 votes

you can develop simple predictive model like Linear regression to predict price of house given other features value, also analyse the features weight/coefficient and optimize your linear regression ...

View answer
How to order the data with respect to data type
Accepted answer
0 votes

Let your data frame be df. First get the numeric columns: num_col = df.select_dtypes('number').columns Then get the remaining columns. non_num_col = set(df.columns) - set(df.select_dtypes('number')....

View answer
How to interpret predicted data from a keras model
0 votes

you have 99 leaf species and 594 test records. Also the output is (594,). Here each value represents corresponding leaf species columns index. check the species data you would have received after One-...

View answer
K-modes clustering: Estimating which features were most impactful on clustering?
-1 votes

Read about PCA("Principal Component Analysis") and while implementing must standardize data on similar scale.

View answer