# "Neural Net ..... getting a positive Outcome"

Correlation
Member Posts:

**7**Contributor II
Hi Everybody,

I'm running a simple X validation with a neural net trainer, and apply model and performance testing.

It's reading 5 columns of data and I'm comparing it against a simple 1,0 label.

I want the neural net to predict the outcome of 1 but it returns the 0 with no predictions of 1.

I have used another neural net program and it was the same until I added in a non-linear neuron ?

Is this possible to do in rapid miner.

Thanks in advance.

I'm running a simple X validation with a neural net trainer, and apply model and performance testing.

It's reading 5 columns of data and I'm comparing it against a simple 1,0 label.

I want the neural net to predict the outcome of 1 but it returns the 0 with no predictions of 1.

I have used another neural net program and it was the same until I added in a non-linear neuron ?

Is this possible to do in rapid miner.

Thanks in advance.

Tagged:

0

## Answers

2,529Unicornof course, just insert a hidden layer, it will be non linear. The type of the outcome neuron will be determined by the type of task: Linear for regression tasks, non-linear for classification. So I would check, if you 0/1 labeling is misinterpreted as numerical attribute resulting in a regression task.

Greetings,

Sebastian

7Contributor IIThanks very much, Do I need to insert a hidden layer for both outcomes 1, 0 ?

Also on a side issue how can i output a performance table to Excel.

I've tried write excel but i cant find how to assign the performance table result.

I've tried write performance but that doesn't output to excel format.

Regards Correlation

2,529Unicornyou can use the Reporting Extension to write tables into Excel. You have to add an Generate Report Operator first, specify excel format and then add Report operators for each result that should be added to the excel sheet.

Greetings,

Sebastian

7Contributor III've tried adding a hidden label ( not sure if I've done this right ) I'm looking for a result like I can get using Bayes with the performance of 1 and 0

Thanks for any help.

2,529Unicornwhat exactly are you trying to do? I don't understand what you mean by "using bayes with the performance of 1 and 0". Bayes? Performance?

Greetings,

Sebastian

7Contributor III have a database of 5 columns and a label column.

The 5 columns contain various marketing data and the label column is filled with only 1 and 0 indicating a sale or not.

When I run a bayes model and look at the results from the performance table, I get some results labelled as 0 and some results labelled as 1

This is exactly what i'm after.

But if I change the learning engines to say neural net ..... most of the time I only get a result against the 0 data.

You hinted earlier that the 1 and 0 information could be being misread and being labelled as regression rather than classification.

Is there anyway I can avoid this.

2,529Unicornif NaiveBayes works on the exactly same example set, it's not the problem, since NaiveBayes does not support numerical labels.

But such results are not too surprising if your data is biased or the problem cannot be solved with the algorithm you use.

Greetings,

Sebastian