Displaying 20 results from an estimated 10000 matches similar to: "NoMethodError in ClassifiedController#create"
2008 May 09
0
NoMethodError in ClassifiedController#update
My project was working when I add new field category
It is showing the error in create form and edit form
i am sending u controller file as attechment
this is my model(category.rb) dor category file
class Category < ActiveRecord::Base
has_many :classifieds
end
and this is edit.rhtml
<h1>Editing Classified: <%= @classified.title -%></h1>
<%= form_tag :action =>
2007 Mar 11
5
Mysql::Error #28000Access denied
I''m on MAC OSX and I set up my environment as described here:
http://hivelogic.com/narrative/articles/ruby_rails_lighttpd_mysql_tiger?status=301
This may be too old and I just realized that, but before I attempt
Building Ruby, Rails, Subversion, Mongrel, and MySQL on Mac OS X:
http://hivelogic.com/narrative/articles/ruby-rails-mongrel-mysql-osx
Okay, I purchased a book "Rails
2011 Nov 02
4
undefined method `updated_at' for #<Classified:0x686c5e4>
HEllo, I have the following problem with rails, I am new in this...is
there anyone who explain to me what´s happens?
Thanks
See below:
NoMethodError in Classified#show
Showing app/views/classified/show.rhtml where line #17 raised:
undefined method `updated_at'' for #<Classified:0x686c5e4>
Extracted source (around line #17):
14:
15: <strong>Date Posted:</strong>
2007 Jul 20
2
Errno::EBADF in ClassifiedController#list
Hi
I was working with a tutorial from a book yesterday and I got to a point
where I configuered the routing and it was working fine. And didnt make
any changes to it except for debuging. But today I get the following
error. Any ides on why is doing this ? ? ?
Errno::EBADF in ClassifiedController#list
Bad file descriptor - connect(2)
RAILS_ROOT: ./script/../config/..
--
Posted via
2010 Sep 28
4
Unitialized constant controller
Hey guys,
Here''s an error I get after I hit the submit button on the editing
page:
NameError in ClassifiedsController#update
uninitialized constant ClassifiedsController
Help would be appreciated.
Thanks
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this
2007 Jan 20
1
Not appear error message
I have a partial form "empresa". In new.rhtml of "empresa", I call the
partial form of "usuario". Well, it is happening the following: When
save empresa, and stop in validates, as much in "empresa" how much
"usuario", appear only error message of "empresa", and not of "usuario".
Because this happening?
ps1.: I use flash_message
2008 Jul 20
1
confusion matrix in randomForest
I have a question on the output generated by randomForest in classification
mode, specifically, the confusion matrix. The confusion matrix lists the
various classes and how the forest classified each one, plus the
classification error. Are these numbers essentially averages over all the
trees in the forest? If so, is there a way I can get the standard deviation
values out of the randomForest,
2006 Jun 02
2
Bi-directional packet classification with ACK prioritization
Sorry for making this a cross-post, but the pressure is on for getting
this bandwidth shaper working.
I have an interesting dilemma with bi-directional packet classification
while doing ACK prioritization. This is an overly simplified summary of
my setup:
Internet
|
Eth0
|
Router
|
Eth1
|
Intranet
A client on the Intranet establishes a flow to a server on the Internet.
Packets get
2013 Mar 11
2
plot pch
Dear xpeRts,
I would like to ask a question about plotting in R.
I have four columns in which first column contains x-coordinate and second column contains y-coordinate of certain points, whereas the third column "z" contains classification number of those points from 1 to 4, it should be noted that this column doesn't quantify anything, but just classify the points. More precisely
2003 Jul 23
3
Boosting, bagging and bumping. Questions about R tools and predictions.
I'm interested in further understanding the differences in using many
classification trees to improve classification rates. I'm also interested
in finding out what I can do in R and which methods will allow prediction.
Can anybody point me to a citation or discussion?
Specifically, I want to classify remotely sensed imagery where training
data is extracted on class membership by the user.
2001 Jul 19
2
classification tree out put
Hello,
I'm attempting to classify data using tree(). summary(tree()) indicates
that I have a very good classification rate. What I'd like to know is
which tokens in the data set are correctly classified and which are not.
Is there a method for associating the classification with the token?
I've been reading Chambers and Hastie (1992) chapter 9 on tree-based
models, but find no
2003 Feb 12
1
rpart v. lda classification.
I've been groping my way through a classification/discrimination
problem, from a consulting client. There are 26 observations, with 4
possible categories and 24 (!!!) potential predictor variables.
I tried using lda() on the first 7 predictor variables and got 24 of
the 26 observations correctly classified. (Training and testing both
on the complete data set --- just to get started.)
I
2008 May 06
2
ActionController::InvalidAuthenticityToken in ClassifiedCon
I am editing a form it is taking the value but when i submit it
it shows the message
def edit
@classified = Classified.find(params[:id])
end
def update
@classified = Classified.find(params[:id])
if @classified.update_attributes(params[:classified])
redirect_to :action => ''show'', :id => @classified
else
render :action => ''edit''
end
end
and this is my
2004 Nov 02
2
Traffic control and logging?
Hi all, I am new to tc on Linux, and am having some problems. The basic
set-up and use works wonderfully, but now I have run into a slight
problem...
I am using tc qdiscs and filters to do my traffic shaping. Now, I have
a whole bunch of filters to classify the data, and they work well,
however, after all my classifications are done, I still have data
reaching the default flow. ALL of the
2005 Jan 20
2
Cross-validation accuracy in SVM
Hi all -
I am trying to tune an SVM model by optimizing the cross-validation
accuracy. Maximizing this value doesn't necessarily seem to minimize the
number of misclassifications. Can anyone tell me how the
cross-validation accuracy is defined? In the output below, for example,
cross-validation accuracy is 92.2%, while the number of correctly
classified samples is (1476+170)/(1476+170+4) =
2009 Apr 26
1
help with plotting results of lda
Hi,
I've performed an lda and obtained a classification table for some of my
data:
> efa.dfa<-lda(groups~.,efa.scores.8,CV=T)
> str(efa.dfa)
List of 5
$ class : Factor w/ 2 levels "1","2": 1 2 1 2 1 1 2 2 1 2 ...
$ posterior: num [1:160, 1:2] 0.99083 0.00852 0.93983 0.23186 0.85931 ...
..- attr(*, "dimnames")=List of 2
.. ..$ : chr [1:160]
2012 Jun 15
1
Sugeestion about tuning of SVM
Dear list
I've a generic question about how to tune an SVM
I'm trying to classify with caret package some population data from a
case-control study . In each column of my matrix there are the SNP
genotypes , in each row there are the individuals.
I correctly splitted my total dataset in training(132 individuals) and test
(50 individuals) (respecting the total observed genotypic
2007 Dec 21
1
using apply to loop [SEC=UNCLASSIFIED]
Hi Louis,
You could try this:
# find the index of the maximum value in each row of _data_, #
disregarding the last column classified <-
apply(data[,-(nclass+1)],1,which.max)
## or, if the maximum may be repeated:
classified <- apply(data[,-(nclass+1)], 1, FUN = function(x) which(x ==
max(x)))
# the variable _truth_ is just the last column of _data_ ?
truth <- data[,nclass + 1]
?table
2011 Feb 11
4
About classification methods.
Dear R users,
I'm new of the R, I really don't know much.
I want classification some data (two class, many features and huge size of data) by using R.
At this case, I want using Support Vector Machine, Bayes theory based classifier, Discriminant Analysis, Regression based at least.
Which package should I using, and can I compare each classifier result by predictions?
Thank you.
2008 Oct 13
1
Logistic Regression - Interpreting SENS (Sensitivity) and SPEC (Specificity)
Hi
Hi I am working on credit scoring model using logistic regression. I havd main sample of 42500 clentes and based on their status as regards to defaulted / non - defaulted, I have genereted the probability of default.
I have a hold out sample of 5000 clients. I have calculated (1) No of correctly classified goods Gg, (2) No of correcly classified Bads Bg and also (3) number of wrongly