
Adding an affine term to linear SVM / logistic regression objective function
20120208
I am working currently on a problem where I have to solve either an L2regularized logistic regression or L2reg linear SVM problem, where I have an added affine term. So my problem for example is: min_ w {C*sum_i max(1w*x_i*y_i,0) + 0.5*w^2_2 +

Predicted values for logistic regression from glm and stat_smooth in ggplot2 are different
20120113
I'm trying to make this logistic regression graph in ggplot2. df < structure(list(y = c(2L, 7L, 776L, 19L, 12L, 26L, 7L, 12L, 8L, 24L, 20L, 16L, 12L, 10L, 23L, 20L, 16L, 12L, 18L, 22L, 23L, 22L, 13L, 7L, 20L, 12L, 13L, 11L, 11L, 14L, 10L, 8L, 10L

Confidence intervals for predictions from logistic regression
20130120
In R predict.lm computes predictions based on the results from linear regression and also offers to compute confidence intervals for these predictions. According to the manual, these intervals are based on the error variance of fitting, but not on th

Weighted logistic regression in Python
20110922
I'm looking for a good implementation for logistic regression (not regularized) in Python. I'm looking for a package that can also get weights for each vector. Can anyone suggest a good implementation / package? Thanks! Solutions

How to perform likelihood ratio test on logistic regression in SAS?
20111012
I want to perform the standard likelihood ratio test in logsitic regression using SAS. I will have a full logistic model, containing all variables, named A and a nested logistic model B, which is derived by dropping out one variable from A. If I want

Scikit Learn: Logistic Regression model coefficients: Clarification
20130924
I need to know how to return the logistic regression coefficients in such a manner that I can generate the predicted probabilities myself. My code looks like this: lr = LogisticRegression() lr.fit(training_data, binary_labels) # Generate probabities

What languages implement features from functional programming?
20080916
Lisp developed a set of interesting language features quite early on in the academic world, but most of them never caught on in production environments. Some languages, like JavaScript, adapted basic features like garbage collection and lexical closu

How do I generate text matching a regular expression from a regular expression?
20091016
Yup, you read that right. I needs something that is capable of generating random text from a regular expression. So the text should be random, but be matched by the regular expression. It seems it doesn't exist, but I could be wrong. Just a an exampl

OpenLayers eraseFeatures doesn't erase features from map screen
20100408
I'm using OpenLayers, and have a layer for my Map, and a single Vector Layer. In this vector layer, I am using the DrawFeature control to draw a square. I have a listener waiting for a feature to be added, and then deleting any existing features (I o

Can one inspect the weights learned by a logistic regression classifier in weka?
20110211
I'm training Weka's logistic regression classifier and I'm trying to figure out what is going on under the hood. I know that I can use the classifier to look at the confidence distribution per instance using the logistic.distributionForInstance metho

Categorical Logistic Regression, library
20110414
I'm currently working on a project concerning segmentation of geographical regions based on the plants that grow in each, over multiple significant layers (that is to say, each segmentation layer has a meaning that is unique wrt the other layers) In

Step by step procedure on how to run nested logistic regression in R
20110506
Please provide me with detailed (as possible) steps on how to do nested logistic regression in R. I'm new to R so it would help me a lot if i can get a detailed answer. We tested how fisher's decision to exit the fishery is affected by different soci

How to return only the match inside a group from a regular expression?
20110629
I have a WSDL (portion show below), from which I am trying to retrieve the names of all string elements using a regular expression. <xs:element minOccurs="0" name="appCurrDpId" type="xs:string" /> <xs:element minOccurs="0" name="appCustomerC

Avoiding a for loop in R in an attempt to evaluate percentage of true positives/negatives when using logistic regression
20110720
What I got: A matrix where I got the predicted probability of an outcome (from a logistic regression model) and the known outcome. For those curious I actually got two regression models and an independent test dataset where I wish to compare these tw

Logistic Regression Using R
20110901
I am running logistic regressions using R right now, but I cannot seem to get many useful model fit statistics. I am looking for metrics similar to SASS: http://www.ats.ucla.edu/stat/sas/output/sas_logit_output.htm Does anyone know how (or what packa

Diagnostics for a mixed effects logistic regression model using lmer() in rproject
20111018
I am trying to carry out diagnostics on the mixed effects logistic regression model below . mod < lmer(CEever ~ (1SL) + birthWeightCat + AFno + FRAgeY*factor(genCat) + damGirBir + factor(YNSUPPLEM), data=Data, family="binomial") The data for thi

R gbm logistic regression
20111207
I was hoping to use the GBM package to do logistic regression, but it is giving answers slightly outside of the 01 range. I've tried the suggested distribution parameters for 01 predictions (bernoulli, and adaboost) but that actually makes things w

sklearn (scikitlearn) logistic regression package  set trained coefficients for classification.
20111216
So I read the scikitlearn package webpate: http://scikitlearn.sourceforge.net/dev/modules/generated/sklearn.linear_model.LogisticRegression.html I can use logistic regression to fit the data, and after I obtain an instance of LogisticRegression, I

Automatic selection of gcc compiler optimization using Logistic Regression model
20120212
I'm doing a project based on selection of optimization options for gcc compiler using an algorithm called LRM (Logistic Regression Model) based on this paper... http://ieeexplore.ieee.org/xpl/freeabs_all.jsp?arnumber=5066672 . In this algorithm, Firs

Plot two curves in logistic regression in R
20120213
I am running logistic regression in R (glm). I then manage to plot the result. My code is as follow: temperature.glm = glm(Response~Temperature, data=mydata,family=binomial) plot(mydata$Temperature,mydata$Response, ,xlab="Temperature",ylab="Probabili

Implementing logistic regression with L2 regularization in Matlab
20120220
Matlab has built in logistic regression using mnrfit, however I need to implement a logistic regression with L2 regularization. I'm completely at a loss at how to proceed. I've found some good papers and website references with a bunch of equations,

R: Bayesian Logistic Regression for Hierarchical Data
20120224
This is a repost from stats.stackexchange where I did not get a satisfactory response. I have two datasets, the first on schools, and the second lists students in each school who have failed in a standardized test (emphasis intentional). Fake dataset

recover office features
20120122
HP Pavilion m61045dx with O/S windows 7 features and Office Home and Student 2010 which I bought on line. can you show me steps to recover my features and office home and student 2010,as change to O/S windows 8,accidentely uninstalled 

If I deleted a file to the recycle bin and emptied the recycle bin 15 minutes ago, can I recover the file from home in 10 easy steps or less??
20121204
If I deleted a file to the recycle bin and emptied the recycle bin 15 minutes ago, can I recover the file from home in 10 easy steps or less?? I am pretty computer savvy, but not enough to do this alone. Family reunion photos are in limbo....Thank yo