How is length normalization done for images done in R
@hackers wrote: hello, While trying to solve the Handwritten digit recognizer problem in R I read about length normalization as a way to reduce the feature space.In the Kaggle problem: Each image is...
View ArticleHow to resolve error while importing csv into R through h2o library
@hackers wrote: Hello, I am trying to use the h2o library in R so that I can use some of it's deep learning libraries for classification problem,but I am facing trouble in importing the data: #Using...
View ArticleHow to pass an h2o object to model in R using the h2o library
@hackers wrote: hello, I am trying to use the h2o library in R for deep learning but I am unable to run the model: mnist.hex = h2o.importFile(path = mnistPath, destination_frame = "mnist.hex") train...
View ArticleNaive Byes text classification gives different result from hand computed
@sset wrote: Hi, Naive byes text classification seems to be incorrect. Classification is different from hand computed. Kindly refer to code present in below link. discuss.analyticsvidhya.com R text...
View ArticleWhat are some good tutorials on stacking
@hackers wrote: Hello, While learning about ensembles I came across Stacking.From what I understand it uses a metalearner to learn from the predictions from several other base learners.But this is a...
View ArticleRequest for the test set for Problem Set 1
@Siddhant wrote: Hello @kunal, can you please upload the test set for the problem set 1(Dressify problem). I couldn't submit the solution on time as I started late to try this problem but have spent a...
View ArticleScript in h2o in R to get you into top 30 percentile for the Digit Recognizer...
@shuvayan wrote: Hello, I have been trying to break the 96% accuracy barrier in the Digit Recognizer problem for a long time but nothing seemed to work until I finally laid my hands on the deep...
View ArticleError: non-numeric argument to binary operator
@sid100158 wrote: I have written simple R code but while running my code it giving me error .I want to know how I can remove this error. # Assign a value to the variable called 'my_apples' my_apples...
View ArticleHow to solve a route optimization problem in R
@pagal_guy wrote: Hello, I am trying to solve a route optimization problem in Kaggle which is as follows: The North Pole is in an uproar over news that Santa's magic sleigh has been stolen. Able to...
View ArticleHow to fill the element of matrix row wise in R?
@sid100158 wrote: I have created a matrix of numbers from 1 to 9 but in matrix numbers are arranged column wise.I want to fill the numbers row wise. matrix(1:9, nrow = 3) [,1] [,2] [,3] [1,] 1 4 7...
View ArticleHow is haversine distance used for weight optimization across trips in R
@pagal_guy wrote: hello, While trying to solve a route optimization problem for the Kaggle Competition: santa's stolen sleigh,I chanced upon the following code in the Kaggle forum. base_weight <-...
View ArticleHow R performs element wise comparison?
@harry wrote: I am currently creating one logical vector but while creating it I have one question that comes to my mind is that how R performs this comparison. ` c(4,5,6) > 4` The left side it has...
View ArticleCan we use the z- statistic when sample size is large but population variance...
@pagal_guy wrote: hello, While learning about hypothesis testing it seems that we can use the t-test in place of z - test when the population variance is unknown.But in real life I think we hardly...
View ArticleSwitching to R,SAS from SAP HANA for better job prospects and the necessity...
@prateek050709 wrote: Hi Friends, I work for a Bangalore based Startup organization as the Lead Information Modeler and have 2+ years of decent experience in the following: Information/data Modeling...
View ArticleHow to select records containing certain names in the column in R
@pagal_guy wrote: Hello, I am trying to keep only the records which contain a particular promotion name from a list of promotion names in R. top_10_promo_name <- c("Price Winners", "Two Day Sale",...
View ArticleHow to remove error can't have empty classes in y in random forest
@pagal_guy wrote: Hello, While using random forests for a classification task I came across an error: None of the rows in the y are empty.What does this mean and how to remove it?? Posts: 2...
View ArticleUnable to export iPython notebook as pdf
@Aarshay wrote: Hi, I'm unable to export my iPython notebook as a pdf. I get the following error while trying to save it as pdf: nbconvert failed: Pandoc wasn't found. Please check that pandoc is...
View ArticleDifference between nominal and ordinal categorical variable?
@sid100158 wrote: I am currently studying about factors while studying it I have learnt that there is two type of categorical variable in which we can convert the character variable to a factor...
View ArticleHow to convert unordered factor to ordered factor in R?
@sid100158 wrote: I am studying about factors in R, while studying it I have created a vector then used the factor function to convert categorical variable to factor variable. speed_vector <-...
View ArticleHow to name the list after creating the list in R?
@harry wrote: I am currently studying the list in R .I have created a list using three different type of objects one is a vector , the second is a matrix and the last one is a data frame. my_vector...
View Article