search for: validtion

Displaying 4 results from an estimated 4 matches for "validtion".

Did you mean: validation
2006 Jan 30
8
Translating a validtion flash
I''m a belgian Rails user (Dutch is my native language). I wondered if it is possible to translate error messages (generated by validators). I know how to create my own error messages: def method content rescue logger.error(...) flash[:notice] = ''My own error message" redirect_to(...) But where can I find the validator''s .rb files, so I can change them?
2011 Feb 10
1
Modifying a package name / Build from sources (rpart)
...uld like to install and load the package differently, i.e., instead of library(packageorig) I would like to load it by library(packagemod) such that the functions names provided by the package remain identical but the library / packagename is different. More specifically, I need a different cross-validtion scheme in the package rpart. Which parts of the sources do I need to adapt? Can you point me to some resources where this kind of questions is answered? Kind regards and many thanks in advance, Simon [[alternative HTML version deleted]]
2007 May 06
3
Neural Nets (nnet) - evaluating success rate of predictions
Hello R-Users, I have been using (nnet) by Ripley to train a neural net on a test dataset, I have obtained predictions for a validtion dataset using: PP<-predict(nnetobject,validationdata) Using PP I can find the -2 log likelihood for the validation datset. However what I really want to know is how well my nueral net is doing at classifying my binary output variable. I am new to R and I can't figure out how you can asses...
2007 May 05
10
have_one and have_present
>Comment By: Luis Lavena (luislavena) > Date: 2007-05-04 23:37 > describe "An Asset" do > before(:each) do > @asset = Asset.new > end > > it { @asset.should have_one(:attachment) } > it { @asset.should have_present(:something) } > end Food for thought on these. I like have_one a lot. It speaks to me as a Rails developer and I think it speaks to