10
$\begingroup$

Often in machine learning we have a situation when target is numeric (real or integer). Each target comes with an associated input vector. The goal is to learn the mapping from the input vectors to the target. For example:

(1.2, 'A', 3) -> 4.0
(3.2, 'C', 2) -> 1.0
...
(0.8, 'A', 2) -> 5.0
(5.7, 'B', 7) -> 1.0

However, in some cases we do not know the target. We only know that is larger or smaller that a certain value. For example:

(1.2, 'A', 3) -> >3.0
(3.2, 'C', 2) -> =1.0
...
(0.8, 'A', 2) -> >3.0
(5.7, 'B', 7) -> =1.0

In the above example, we know that for the first vector the target is larger than 3.0, but we do not know what exactly it is.

How should one consider the above described situation? Are there standard method to do it?

$\endgroup$
9
  • $\begingroup$ Have you thought about encoding certain value with one output, and sign(greater, less, equal) with another output? E.g. ">3" -> (3, 0), "=3" -> (3, 1), "<3" -> (3, 2) $\endgroup$
    – 404pio
    Commented Mar 24, 2015 at 10:53
  • $\begingroup$ @frankov, in the end I would like to have an estimator that gives me an number (mean) or probability density but not the ranges (as in input for the training). $\endgroup$
    – Roman
    Commented Mar 24, 2015 at 10:57
  • $\begingroup$ Do you have some "strong" 3's and some "weak" 3's, or are they all weak? Do the ranges vary? $\endgroup$ Commented Mar 24, 2015 at 11:38
  • $\begingroup$ @ssdecontrol, I have both "strong" and "weak" 3's. I have also other numbers that can be strong or weak. For example i have the following: [=1, >3, =7, >2, >1, =7, =8, >4]. It means that some cases we know the exact target in other cases we only know the "lower bound". $\endgroup$
    – Roman
    Commented Mar 24, 2015 at 12:06
  • $\begingroup$ What about the prediction? Is the prediction output again a target range or a specific target value (classic)? $\endgroup$ Commented Mar 24, 2015 at 17:40

2 Answers 2

0
$\begingroup$

Based on comments, I think that you should write some code, which: a) encode target values, as network-friendly variables b) decode the output of network to parameters Gaussian-like function.

enter image description here enter image description here enter image description here

$\endgroup$
0
$\begingroup$

Have a look at survival analysis, which deals with events of the form you describe. In particular left, right, and interval censored data & regression (https://www.quantics.co.uk/blog/introduction-survival-analysis-clinical-trials/).

Code is available here https://github.com/liupei101/TFDeepSurv And https://adamhaber.github.io/post/survival-analysis/

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.