My Recent Pastes (97 and counting)
Pastes by celeretaudax (97 and counting)
Below are the 15 most recent pasties by celeretaudax.
July 17, 2009
2:57PM EDT
by celeretaudax
View all 86 lines
public class Lalgo : Strategy
{
#region Variables
private string filename;
private bool init = true;
July 17, 2009
10:31AM EDT
by celeretaudax
public INeuralData Compute(INeuralData input)
{
return Compute(input, null);
}
July 17, 2009
10:27AM EDT
by celeretaudax
View all 13 lines
System.NullReferenceException was unhandled by user code
Message=Object reference not set to an instance of an object.
Source=encog-core-cs
StackTrace:
at Encog.Neural.Networks.BasicNetwork.Compute(INeuralData input, NeuralOutputHolder useHolder)
July 17, 2009
10:01AM EDT
by celeretaudax
View all 63 lines
## declare variable
private double[][] input;
private double[][] ideal;
private BasicNeuralDataSet dataset;
July 10, 2009
1:20PM EDT
by celeretaudax
View all 18 lines
public void LoadData(String fileName)
{
CultureInfo provider = CultureInfo.InvariantCulture;
ReadCSV csv = new ReadCSV(fileName, true, ',');
while (csv.Next())
July 09, 2009
2:15PM EDT
by celeretaudax
View all 101 lines
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head>
June 26, 2009
9:32AM EDT
by celeretaudax
View all 54 lines
//=============================================================================================
public function openForm():void {
//=============================================================================================
var sendForm:URLLoader = new URLLoader();
var newFile:FileReference = new FileReference();
June 24, 2009
7:24PM EDT
by celeretaudax
part :content_type => "multipart/alternative" do |p| p.part :content_type => "text/html", :body => render_message("proposal_message") end
June 22, 2009
7:44PM EDT
by celeretaudax
View all 14 lines
def contact_message(contact) @email = "#{contact.email_address}" @recipients = 'zkwentz@gmail.com' @from = @email @subject = 'Contact Form Request'
June 21, 2009
1:24AM EDT
by celeretaudax
View all 18 lines
##controller action def destroy @email = Email.find(params[:id]) if @email.destroy
May 25, 2009
2:49PM EDT
by celeretaudax
View all 9 lines
stop();
var xmlData:XML = new XML();
xmlData.ignoreWhite = true;
xmlData.load('var.xml');
xmlData.onLoad = function(success) {
May 25, 2009
2:42PM EDT
by celeretaudax
View all 18 lines
var xmlData = new XML();
xmlData.ignoreWhite = true;
May 25, 2009
11:22AM EDT
by celeretaudax
View all 37 lines
var geocoder; function initialize() { geocoder = new GClientGeocoder();
May 25, 2009
11:05AM EDT
by celeretaudax
View all 15 lines
//create a new loader
this.loader = new Loader();
//tell the loader where to find the picture
this.loader.load("http://somewebsite.com/image.png");
//when the loader finishes loading, call the function 'onLoadComplete'
May 24, 2009
11:25PM EDT
by celeretaudax
View all 33 lines
var geocoder; var location1; function initialize() {
