Questions tagged [ruby]

Ruby is an open-source dynamic object-oriented interpreted language created by Yukihiro Matsumoto (Matz) in 1993.

Filter by
Sorted by
Tagged with
13 votes
3 answers

Ruby as a statistics workbench

This is also a question that relates very much to Python as a statistics workbench and excel as a statistics workbench. I know there is a huge discussion about Ruby versus Python but this is not the ...
Oeufcoque Penteano's user avatar
6 votes
1 answer

What is the significance of a linear dependency in a polynomial regression?

I'm trying to find the best polynomial regression for a dataset where the polynomial's power is between 2 and 10. So the regression can have an x10 term at most in it. The dataset itself is simply a ...
Migwell's user avatar
  • 291
6 votes
1 answer

Logistic regression algorithm in Ruby

I have been using R to calculate logistic regression with many independent variables for a Ruby on Rails web application. However, I can no longer import data from the database to R using RPostgreSQL. ...
Eric's user avatar
  • 171
4 votes
1 answer

How to detect feature value combinations with outstanding win percentages

I am building ruby on rails (ActiveRecord) horse racing application. One of the features that I would like to include in the application is the ability to identify meaningful "Angles". For example, ...
Mutuelinvestor's user avatar
3 votes
0 answers

How to make predictions from a logistic regression by hand [closed]

Thanks for looking at this, I've been tearing my hair out for a day or so now. I have done a multiple variable logistic regression in R, and obtained my coefficients. I am able to make predictions ...
Erik Pukinskis's user avatar
2 votes
2 answers

rb-libsvm - getting confidence of a prediction

I'm using rb-libsvm and the RBF kernel to make classifications. svm.predict(measurements) returns either -1.0 or 1.0. Is there a way to get a confidence for this ...
Austin Richardson's user avatar
1 vote
3 answers

Modeling a Poisson process with 10000 events per minute

I am trying to model a system that generates events modeled by a Poisson process. I am using the following ruby code: ...
simao's user avatar
  • 323