Latent variables with thresholdsMachine learning technique to calculate weighted average weights?Methods to reduce dimensionality within a feature?AdaBoost implementation and tuning for high dimensional feature space in RAbout A technique mentioned on ESL to transform an unsupervised into supervisedHow to scale data for LSTM autoencoder?Baking perfect cookies: methods or techniques for determining optimal ranges of x variables in classification modelsWhich learning algorithms to use in what order - dimensionality reduction, bayesian network structure, regression?Survival Analysis: Pseudo Observation Vs Stratified Cox Regression. Which one is better?Interpreting Results of Multivariable Regression / how to transform variables to improve resultsCNN - Is this a Toeplitz Matrix?

How would one muzzle a full grown polar bear in the 13th century?

Noun clause (singular all the time?)

With a Canadian student visa, can I spend a night at Vancouver before continuing to Toronto?

What does it mean to express a gate in Dirac notation?

Why does nature favour the Laplacian?

how to find the equation of a circle given points of the circle

A ​Note ​on ​N!

Are Boeing 737-800’s grounded?

US visa is under administrative processing, I need the passport back ASAP

Document starts having heaps of errors in the middle, but the code doesn't have any problems in it

A Strange Latex Symbol

What makes accurate emulation of old systems a difficult task?

How could Tony Stark make this in Endgame?

How to get a plain text file version of a CP/M .BAS (M-BASIC) program?

Does a semiconductor follow Ohm's law?

What route did the Hindenburg take when traveling from Germany to the U.S.?

What is the strongest case that can be made in favour of the UK regaining some control over fishing policy after Brexit?

French for 'It must be my imagination'?

Repelling Blast: Must targets always be pushed back?

What do the phrase "Reeyan's seacrest" and the word "fraggle" mean in a sketch?

Pulling the rope with one hand is as heavy as with two hands?

What's the polite way to say "I need to urinate"?

Fizzy, soft, pop and still drinks

Mac Pro install disk keeps ejecting itself



Latent variables with thresholds


Machine learning technique to calculate weighted average weights?Methods to reduce dimensionality within a feature?AdaBoost implementation and tuning for high dimensional feature space in RAbout A technique mentioned on ESL to transform an unsupervised into supervisedHow to scale data for LSTM autoencoder?Baking perfect cookies: methods or techniques for determining optimal ranges of x variables in classification modelsWhich learning algorithms to use in what order - dimensionality reduction, bayesian network structure, regression?Survival Analysis: Pseudo Observation Vs Stratified Cox Regression. Which one is better?Interpreting Results of Multivariable Regression / how to transform variables to improve resultsCNN - Is this a Toeplitz Matrix?













0












$begingroup$


There are many ML techniques to estimate latent variables such as the EM algorithm. Is there a technique that allows for thresholds for each of the latent variables?



I have a feature space with 10 variables (X1,...,X10) and the outcome (Y). 7 of the X features are known (I have their observations) and 3 are unknown. Each of the unknown can be within a range from 0 up to a positive constant number.



What ML technique would you recommend for estimating the above latent variables with the setup described above?










share|improve this question









$endgroup$




bumped to the homepage by Community 7 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.














  • $begingroup$
    Please clarify "allows for thresholds". For example do you mean the latent variables are discrete values lying on a continuum or that they are disjoint categories. For the latter you'd usually encode as "one-hot" for the former you could relax to continuous range.
    $endgroup$
    – jayprich
    Jun 28 '18 at 14:02










  • $begingroup$
    My miss. I mean that a variable can take any real value between 0 and 10 for instance. Or between -3 and 20.
    $endgroup$
    – mrt
    Jun 28 '18 at 15:04















0












$begingroup$


There are many ML techniques to estimate latent variables such as the EM algorithm. Is there a technique that allows for thresholds for each of the latent variables?



I have a feature space with 10 variables (X1,...,X10) and the outcome (Y). 7 of the X features are known (I have their observations) and 3 are unknown. Each of the unknown can be within a range from 0 up to a positive constant number.



What ML technique would you recommend for estimating the above latent variables with the setup described above?










share|improve this question









$endgroup$




bumped to the homepage by Community 7 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.














  • $begingroup$
    Please clarify "allows for thresholds". For example do you mean the latent variables are discrete values lying on a continuum or that they are disjoint categories. For the latter you'd usually encode as "one-hot" for the former you could relax to continuous range.
    $endgroup$
    – jayprich
    Jun 28 '18 at 14:02










  • $begingroup$
    My miss. I mean that a variable can take any real value between 0 and 10 for instance. Or between -3 and 20.
    $endgroup$
    – mrt
    Jun 28 '18 at 15:04













0












0








0





$begingroup$


There are many ML techniques to estimate latent variables such as the EM algorithm. Is there a technique that allows for thresholds for each of the latent variables?



I have a feature space with 10 variables (X1,...,X10) and the outcome (Y). 7 of the X features are known (I have their observations) and 3 are unknown. Each of the unknown can be within a range from 0 up to a positive constant number.



What ML technique would you recommend for estimating the above latent variables with the setup described above?










share|improve this question









$endgroup$




There are many ML techniques to estimate latent variables such as the EM algorithm. Is there a technique that allows for thresholds for each of the latent variables?



I have a feature space with 10 variables (X1,...,X10) and the outcome (Y). 7 of the X features are known (I have their observations) and 3 are unknown. Each of the unknown can be within a range from 0 up to a positive constant number.



What ML technique would you recommend for estimating the above latent variables with the setup described above?







machine-learning estimators






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jun 28 '18 at 13:45









mrtmrt

11




11





bumped to the homepage by Community 7 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 7 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.













  • $begingroup$
    Please clarify "allows for thresholds". For example do you mean the latent variables are discrete values lying on a continuum or that they are disjoint categories. For the latter you'd usually encode as "one-hot" for the former you could relax to continuous range.
    $endgroup$
    – jayprich
    Jun 28 '18 at 14:02










  • $begingroup$
    My miss. I mean that a variable can take any real value between 0 and 10 for instance. Or between -3 and 20.
    $endgroup$
    – mrt
    Jun 28 '18 at 15:04
















  • $begingroup$
    Please clarify "allows for thresholds". For example do you mean the latent variables are discrete values lying on a continuum or that they are disjoint categories. For the latter you'd usually encode as "one-hot" for the former you could relax to continuous range.
    $endgroup$
    – jayprich
    Jun 28 '18 at 14:02










  • $begingroup$
    My miss. I mean that a variable can take any real value between 0 and 10 for instance. Or between -3 and 20.
    $endgroup$
    – mrt
    Jun 28 '18 at 15:04















$begingroup$
Please clarify "allows for thresholds". For example do you mean the latent variables are discrete values lying on a continuum or that they are disjoint categories. For the latter you'd usually encode as "one-hot" for the former you could relax to continuous range.
$endgroup$
– jayprich
Jun 28 '18 at 14:02




$begingroup$
Please clarify "allows for thresholds". For example do you mean the latent variables are discrete values lying on a continuum or that they are disjoint categories. For the latter you'd usually encode as "one-hot" for the former you could relax to continuous range.
$endgroup$
– jayprich
Jun 28 '18 at 14:02












$begingroup$
My miss. I mean that a variable can take any real value between 0 and 10 for instance. Or between -3 and 20.
$endgroup$
– mrt
Jun 28 '18 at 15:04




$begingroup$
My miss. I mean that a variable can take any real value between 0 and 10 for instance. Or between -3 and 20.
$endgroup$
– mrt
Jun 28 '18 at 15:04










1 Answer
1






active

oldest

votes


















0












$begingroup$

re. "estimate latent variables"



Quantities that are trained in order to fit a "best" model within a family of models are called hyper-parameters. To any instance of the model they are fixed. To the optimisation routine they are an index into search space. Adding constraints on the range of a hyper-parameter both reduces the search space of the optimisation and requires extra "feasibility" checks during typical gradient descent.



A variable is "latent" when it is purely internal to the model, i.e. not an observable. The meaning of its scale would depend on the context and on your interpretation, since it cannot be compared to anything observed. You rarely want to constrain that range inside the model.



I would suggest leaving the hyper-parameters and latent variables unconstrained and if you want to read an output train a "neuron"-like response to get what you want out : e.g. sigmoid / tanh / softmax






share|improve this answer









$endgroup$












  • $begingroup$
    Do you see this as an application to NNs? My (limited) experience with NNs tells me that the latent variables and the parameters will be lost in the complexity of the network with the multiple layers and neurons.
    $endgroup$
    – mrt
    Jul 2 '18 at 15:01










  • $begingroup$
    The learned connection strengths, biases and what have you are the "parameter" .. the conventional train/predict scenario they do not change once found. Online learning that adapts to new data clearly blurs that line. A "latent variable" in a NN is any state information that's not an input or an output .. it changes all the time in response to neighbours etc .. nothing is "lost" it's just not clear to me how you think the word "latent" applies to your stated scenario .. seems you're really talking about constraining an input or an output .. but perhaps I misunderstand
    $endgroup$
    – jayprich
    Jul 3 '18 at 16:40











Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "557"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdatascience.stackexchange.com%2fquestions%2f33769%2flatent-variables-with-thresholds%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0












$begingroup$

re. "estimate latent variables"



Quantities that are trained in order to fit a "best" model within a family of models are called hyper-parameters. To any instance of the model they are fixed. To the optimisation routine they are an index into search space. Adding constraints on the range of a hyper-parameter both reduces the search space of the optimisation and requires extra "feasibility" checks during typical gradient descent.



A variable is "latent" when it is purely internal to the model, i.e. not an observable. The meaning of its scale would depend on the context and on your interpretation, since it cannot be compared to anything observed. You rarely want to constrain that range inside the model.



I would suggest leaving the hyper-parameters and latent variables unconstrained and if you want to read an output train a "neuron"-like response to get what you want out : e.g. sigmoid / tanh / softmax






share|improve this answer









$endgroup$












  • $begingroup$
    Do you see this as an application to NNs? My (limited) experience with NNs tells me that the latent variables and the parameters will be lost in the complexity of the network with the multiple layers and neurons.
    $endgroup$
    – mrt
    Jul 2 '18 at 15:01










  • $begingroup$
    The learned connection strengths, biases and what have you are the "parameter" .. the conventional train/predict scenario they do not change once found. Online learning that adapts to new data clearly blurs that line. A "latent variable" in a NN is any state information that's not an input or an output .. it changes all the time in response to neighbours etc .. nothing is "lost" it's just not clear to me how you think the word "latent" applies to your stated scenario .. seems you're really talking about constraining an input or an output .. but perhaps I misunderstand
    $endgroup$
    – jayprich
    Jul 3 '18 at 16:40















0












$begingroup$

re. "estimate latent variables"



Quantities that are trained in order to fit a "best" model within a family of models are called hyper-parameters. To any instance of the model they are fixed. To the optimisation routine they are an index into search space. Adding constraints on the range of a hyper-parameter both reduces the search space of the optimisation and requires extra "feasibility" checks during typical gradient descent.



A variable is "latent" when it is purely internal to the model, i.e. not an observable. The meaning of its scale would depend on the context and on your interpretation, since it cannot be compared to anything observed. You rarely want to constrain that range inside the model.



I would suggest leaving the hyper-parameters and latent variables unconstrained and if you want to read an output train a "neuron"-like response to get what you want out : e.g. sigmoid / tanh / softmax






share|improve this answer









$endgroup$












  • $begingroup$
    Do you see this as an application to NNs? My (limited) experience with NNs tells me that the latent variables and the parameters will be lost in the complexity of the network with the multiple layers and neurons.
    $endgroup$
    – mrt
    Jul 2 '18 at 15:01










  • $begingroup$
    The learned connection strengths, biases and what have you are the "parameter" .. the conventional train/predict scenario they do not change once found. Online learning that adapts to new data clearly blurs that line. A "latent variable" in a NN is any state information that's not an input or an output .. it changes all the time in response to neighbours etc .. nothing is "lost" it's just not clear to me how you think the word "latent" applies to your stated scenario .. seems you're really talking about constraining an input or an output .. but perhaps I misunderstand
    $endgroup$
    – jayprich
    Jul 3 '18 at 16:40













0












0








0





$begingroup$

re. "estimate latent variables"



Quantities that are trained in order to fit a "best" model within a family of models are called hyper-parameters. To any instance of the model they are fixed. To the optimisation routine they are an index into search space. Adding constraints on the range of a hyper-parameter both reduces the search space of the optimisation and requires extra "feasibility" checks during typical gradient descent.



A variable is "latent" when it is purely internal to the model, i.e. not an observable. The meaning of its scale would depend on the context and on your interpretation, since it cannot be compared to anything observed. You rarely want to constrain that range inside the model.



I would suggest leaving the hyper-parameters and latent variables unconstrained and if you want to read an output train a "neuron"-like response to get what you want out : e.g. sigmoid / tanh / softmax






share|improve this answer









$endgroup$



re. "estimate latent variables"



Quantities that are trained in order to fit a "best" model within a family of models are called hyper-parameters. To any instance of the model they are fixed. To the optimisation routine they are an index into search space. Adding constraints on the range of a hyper-parameter both reduces the search space of the optimisation and requires extra "feasibility" checks during typical gradient descent.



A variable is "latent" when it is purely internal to the model, i.e. not an observable. The meaning of its scale would depend on the context and on your interpretation, since it cannot be compared to anything observed. You rarely want to constrain that range inside the model.



I would suggest leaving the hyper-parameters and latent variables unconstrained and if you want to read an output train a "neuron"-like response to get what you want out : e.g. sigmoid / tanh / softmax







share|improve this answer












share|improve this answer



share|improve this answer










answered Jun 28 '18 at 17:24









jayprichjayprich

1262




1262











  • $begingroup$
    Do you see this as an application to NNs? My (limited) experience with NNs tells me that the latent variables and the parameters will be lost in the complexity of the network with the multiple layers and neurons.
    $endgroup$
    – mrt
    Jul 2 '18 at 15:01










  • $begingroup$
    The learned connection strengths, biases and what have you are the "parameter" .. the conventional train/predict scenario they do not change once found. Online learning that adapts to new data clearly blurs that line. A "latent variable" in a NN is any state information that's not an input or an output .. it changes all the time in response to neighbours etc .. nothing is "lost" it's just not clear to me how you think the word "latent" applies to your stated scenario .. seems you're really talking about constraining an input or an output .. but perhaps I misunderstand
    $endgroup$
    – jayprich
    Jul 3 '18 at 16:40
















  • $begingroup$
    Do you see this as an application to NNs? My (limited) experience with NNs tells me that the latent variables and the parameters will be lost in the complexity of the network with the multiple layers and neurons.
    $endgroup$
    – mrt
    Jul 2 '18 at 15:01










  • $begingroup$
    The learned connection strengths, biases and what have you are the "parameter" .. the conventional train/predict scenario they do not change once found. Online learning that adapts to new data clearly blurs that line. A "latent variable" in a NN is any state information that's not an input or an output .. it changes all the time in response to neighbours etc .. nothing is "lost" it's just not clear to me how you think the word "latent" applies to your stated scenario .. seems you're really talking about constraining an input or an output .. but perhaps I misunderstand
    $endgroup$
    – jayprich
    Jul 3 '18 at 16:40















$begingroup$
Do you see this as an application to NNs? My (limited) experience with NNs tells me that the latent variables and the parameters will be lost in the complexity of the network with the multiple layers and neurons.
$endgroup$
– mrt
Jul 2 '18 at 15:01




$begingroup$
Do you see this as an application to NNs? My (limited) experience with NNs tells me that the latent variables and the parameters will be lost in the complexity of the network with the multiple layers and neurons.
$endgroup$
– mrt
Jul 2 '18 at 15:01












$begingroup$
The learned connection strengths, biases and what have you are the "parameter" .. the conventional train/predict scenario they do not change once found. Online learning that adapts to new data clearly blurs that line. A "latent variable" in a NN is any state information that's not an input or an output .. it changes all the time in response to neighbours etc .. nothing is "lost" it's just not clear to me how you think the word "latent" applies to your stated scenario .. seems you're really talking about constraining an input or an output .. but perhaps I misunderstand
$endgroup$
– jayprich
Jul 3 '18 at 16:40




$begingroup$
The learned connection strengths, biases and what have you are the "parameter" .. the conventional train/predict scenario they do not change once found. Online learning that adapts to new data clearly blurs that line. A "latent variable" in a NN is any state information that's not an input or an output .. it changes all the time in response to neighbours etc .. nothing is "lost" it's just not clear to me how you think the word "latent" applies to your stated scenario .. seems you're really talking about constraining an input or an output .. but perhaps I misunderstand
$endgroup$
– jayprich
Jul 3 '18 at 16:40

















draft saved

draft discarded
















































Thanks for contributing an answer to Data Science Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

Use MathJax to format equations. MathJax reference.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdatascience.stackexchange.com%2fquestions%2f33769%2flatent-variables-with-thresholds%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Ружовы пелікан Змест Знешні выгляд | Пашырэнне | Асаблівасці біялогіі | Літаратура | НавігацыяДагледжаная версіяправерана1 зменаДагледжаная версіяправерана1 змена/ 22697590 Сістэматыкана ВіківідахВыявына Вікісховішчы174693363011049382

ValueError: Error when checking input: expected conv2d_13_input to have shape (3, 150, 150) but got array with shape (150, 150, 3)2019 Community Moderator ElectionError when checking : expected dense_1_input to have shape (None, 5) but got array with shape (200, 1)Error 'Expected 2D array, got 1D array instead:'ValueError: Error when checking input: expected lstm_41_input to have 3 dimensions, but got array with shape (40000,100)ValueError: Error when checking target: expected dense_1 to have shape (7,) but got array with shape (1,)ValueError: Error when checking target: expected dense_2 to have shape (1,) but got array with shape (0,)Keras exception: ValueError: Error when checking input: expected conv2d_1_input to have shape (150, 150, 3) but got array with shape (256, 256, 3)Steps taking too long to completewhen checking input: expected dense_1_input to have shape (13328,) but got array with shape (317,)ValueError: Error when checking target: expected dense_3 to have shape (None, 1) but got array with shape (7715, 40000)Keras exception: Error when checking input: expected dense_input to have shape (2,) but got array with shape (1,)

Illegal assignment from SObject to ContactFetching String, Id from Map - Illegal Assignment Id to Field / ObjectError: Compile Error: Illegal assignment from String to BooleanError: List has no rows for assignment to SObjectError on Test Class - System.QueryException: List has no rows for assignment to SObjectRemote action problemDML requires SObject or SObject list type error“Illegal assignment from List to List”Test Class Fail: Batch Class: System.QueryException: List has no rows for assignment to SObjectMapping to a user'List has no rows for assignment to SObject' Mystery