Retail Business Understanding
@sanjanadaskol wrote: Hi All, Kunal/Tavishmy question for you is.I would like to understand for an industry like retail, what are the stark differences/challenges that you observe in developed and...
View ArticleHow to implement simulated annealing in R
@pagal_guy wrote: hello, While trying to implement recommenders through R,I came across some piece of code: ratingMatrix <-...
View ArticleWhat is the function of recommend-er registry in R
@pagal_guy wrote: hello, While learning about implementing recommenders in R I am trying to execute some code a part of which uses recommenderRegistry function in the recommenderlab package....
View ArticleWhy training time is not decreasing with increase in value of Cost in a SVM...
@hinduja1234 wrote: I have built one classification model using SVM algorithm. from sklearn import svm clf = svm.SVC(kernel='rbf',C=10000) features_train = features_train[:len(features_train)/100] #...
View ArticleKaggle score of 0.00000 in Titanic
@Aarshay wrote: Hi, I am participating in the Titanic competition on Kaggle and I'm getting a score of 0.00000 with a random forest model. My earlier submission based on logistic regression was above...
View ArticleHow to set the parameters of gbm boost in R
@pagal_guy wrote: hello, While trying to implement boosting in R using caret I used the following code: library(ISLR); data(Wage); library(ggplot2); library(caret); Wage <-...
View ArticleWhy is the validation error coming to be NaN in boosting in R
@pagal_guy wrote: hello, while trying to implement boosting in R: boost.train.class=gbm(wage~., data=training, n.trees=500,interaction.depth=4) head(boost.train.class$valid.error) I do not understand...
View ArticleHow does bootstrap sampling work during boosting
@pagal_guy wrote: Hello, While learning about boosting I have noticed a few things:There are several modes to boosting: AdaBoost,Gradient Boost and Stochastic gradient boosting. While Adaboost...
View ArticleWhat is the difference between gradient boosting and stochastic gradient...
@pagal_guy wrote: hello, I am trying to understand the various ways in which boosting can be performed in R.I have tried stochastic gradient boosting and gradient boosting: #Stochastic Gradient...
View ArticleHow to convert a ratings data frame to a ratings matrix in R
@pagal_guy wrote: hello, I am trying to implement recommeders in R using: recommenderRegistry$get_entries(datatype = "binaryRatingMatrix") reco = as.matrix(df) reco = as(reco,"binaryRatingMatrix")...
View ArticleShiny locally working but on shinyapp.io grey out
@ParindDhillon wrote: I am new to shiny. My shiny app is working perfectly normal locally, but when i try to publish it on shinyapps.io, i can only see header & rest of the page greyed out. I had...
View ArticlePython pandas.read_excel error: "No module named xlrd"
@Aarshay wrote: Hi, I'm using Enthought Canopy and Pandas came installed by default on this environment. However, when I'm using the Pandas default command:...
View ArticleRjava performance
@sset wrote: We are invoking machine learning R models like "SVM", "Navie Byes" from java. Java - R communication we are using RJava. Problem here is models require huge training data set. So every...
View ArticleHow to resolve R SVM Text classification error
@sset wrote: R text classification sometimes gives below error - what could be reason?Error in validObject(.Object) :invalid class "matrix.csr" object: ra has too few, or too many elementsCalls:...
View ArticleHow to calculate the number of features in a training data using python?
@hinduja1234 wrote: I am currently solving one classification problem using decision tree algorithm in python. I have read that The more features the algorithm has available, the more chance for a...
View ArticleHow to perform backward chaining in logistic regression using R
@harry wrote: I am currently solving one classification problem using logistic regression algorithm in R .I have created the model using step function, but my step function only performs forward...
View ArticleBetter Way of creating a dataframe in Pandas
@Aarshay wrote: Hi, I've to create a dataframe in pandas and I have the following options: Option 1:Initialize a dummy data frame using:df = pd.DataFrame(index=range(4),columns=['A','B','C','D']) Then...
View ArticleHow to add a new column in a existing data in R?
@sid100158 wrote: I have created a new variable in R for data preprocessing to extract more information from the existing data. HighSodium= USDA$Sodium > mean(USDA$Sodium,na.rm=TRUE) I want to know...
View ArticleHow to plot two y-axis data in R using ggplot2
@pagal_guy wrote: Hello, I have two aggregated data info which I would like to plot vs a x- variable in R using ggplot2I am currently being able to plot only Pasted image705x698 15.5 KB using...
View ArticleHow to calculate baseline prediction of a linear regression model?
@harry wrote: I am currently studying about linear regression model while studying I came across a problem of finding baseline prediction. The equation of the best-fitted line is y=3x+2.I want to know...
View Article