0
$\begingroup$

I am working on a project that uses a categorical and non categorical dataset to predict a Success/Fail rate. Each entry/data point has multiple categorical and numerical parameters tied to a rate.

We tried using a single output node to get an estimation on this rate, but even if we were to force values between 0-1 using sigmoid or softmax, looks like there are some gaps to this.

We are not trying to regression since many parameters in our dataset are categorical(not sure if one-hot encoder works here, or assigning values to each different group within that parameter), and softmax seems out of place since there are not classes here so to speak.

Any suggestion is appreciated. Thanks.

$\endgroup$

1 Answer 1

0
$\begingroup$

Since you want your prediction to be a percentage, i.e. between 0 and 1, it makes sense to have a sigmoid on the single output node. Even if some of your inputs are categorical, your problem sounds like a logistic regression problem. A softmax function only makes sense if you have more than 2 outputs to predict, which is not the case here.

It's not clear what you mean by "assigning values to each different group within that parameter". If you have a dataset like:

- Age: 23
- NativeLanguage: English
- EducationLevel: Bachelor
=> ExamSuccessRate: 0.9
- Age: 50
- NativeLanguage: French
- EducationLevel: None
=> ExamSuccessRate: 0.3

Then it makes sense to transform categorical variables like NativeLanguage to boolean variables via one-hot encoding, i.e. NativeEnglish: 0 or 1, NativeFrench: 0 or 1.

For variables like EducationLevel it probably makes sense to transform them to integer variables, since there is a progression between various levels of education:

EducationLevel: None -> 0
EducationLevel: MiddleSchool -> 1
EducationLevel: HighSchool -> 2
EducationLevel: Bachelor -> 3
EducationLevel: Master -> 4
EducationLevel: Doctorate -> 5

Final note: try a logistic regression as a baseline before using a neural network.

$\endgroup$
1
  • $\begingroup$ Thanks for the suggestion. I did mean something similar to one-hot encoding by that statement so you are right on your assessment. We will try Regression for now then, thanks!! $\endgroup$
    – J. Bringas
    Commented Feb 21 at 16:45

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .