Questions tagged [multipleoutputs]

83 questions
0
votes
1 answer

Tensorflow multiple optimizers on multi-output model. Get trainable variables for one of the outputs

My goal is to use tfa.optimizers.MultiOptimizer to use a different optimizer for each output of my model. In order to do that I need the layers that feed in to this output, but am unsure how to get those. We can get the model.trainable_variables but…
0
votes
0 answers

Keras: regularizing loss for an output based on the other outputs

Setup I have a model with 3 inputs and 2 outputs (figure below). I have a defined loss per each output, but then I want to add a regularization term to each loss which is a function of two outputs: L_V = MSE(v,y_v) + lambda_ * f(v, q) L_Q =…
0
votes
0 answers

How to use multivator package to build a multi-output regression model in R language?

How to use the multivator package to build a multi-output regression model in R language? I look forward to your reply with an example. Thanks a million!
TUSTLGC
  • 107
  • 7
0
votes
0 answers

How to parse xml file with many xml BLAST outputs pasted into one file one by one Python

How to parse xml file with many xml BLAST outputs pasted into one file one by one Python. I pasted each blast output into one xml file. They are seperated with:
0
votes
0 answers

Is there a way to implement multi-output Gaussian Processes in Matlab or R?

I have been looking into using multi-output Gaussian Processes as a way to emulate a complex mathematical simulator. I have looked at papers by Conti & O'Hagan (2010) and Alvarez & Lawrence (2009, 2011). Are there any packages available in Matlab or…
MCur
  • 3
  • 2
0
votes
1 answer

Hadoop mapreduce multipleoutputs write into a single file

My MapReduce job uses MultipleOutputs to write files into three separate directories. My reducer count is 400, which is idle for files written into two directories. For the 3rd directory, I am trying to reduce the number of counter files written…
Neethu Lalitha
  • 3,031
  • 4
  • 35
  • 60
0
votes
1 answer

Tensorflow 2 model runs with single output but fails with multiple. Can not squeeze dim[2], expected a dimension of 1, got 3

Model runs fine when I try with either one of the output/loss combinations but fails when I try to do both. So if I simply don't include one of the the outputs in the model definition and also remove the extra loss, it works fine. def…
0
votes
0 answers

Autoencoder with Multiple Outputs

How do I make an autoencoder with 2 different images at the output layer? I am asked to average 2 images as input to a neural network and receive both images separately as output.
0
votes
1 answer

Custom layer with different activation function for each output

I have a simple neural network with two outputs and for each of them I need to use different activation function. I do basically what is written in this article - here, but it looks like my layer with different activation functions is not…
0
votes
2 answers

Keras Single Input Multiple Outputs - why losses are so high comparing with Single Output?

I think something wrong with my Keras multiple outputs coding, which causes a high loss comparing with the Sequential model. Please help me out which part of it is wrong. import os, random, string, pandas, math, numpy import tensorflow as tf from…
XQ.Wei
  • 239
  • 3
  • 10
0
votes
0 answers

PMML- MultipleModels: Additional target with information about missing/Invalid values

I want to add an additional target ("outputState") to my PMML-Regression modell. outputState = 0: no missing/invalid input values(-> no imputation in the regression model) outputState = 1: there are missing/invalid invalid values…
D_H
  • 81
  • 1
  • 2
0
votes
1 answer

how to overwrite routing outlet in angular?

I wants to make common layout for header, footer, left side and main content in angular 8 application. I don't want to reload header, footer and left side every time when user navigate form one page to another page except some pages like as login,…
laxman
  • 1,338
  • 2
  • 10
  • 27
0
votes
1 answer

For loop to create multiple histogram png files

I am not sure as to why this happens. Maybe it is just a simple mistake that I cannot see, but by using this code: for filename in glob.glob('/Users/jacob/Desktop/MERS/new/NOT COAL/gensets/statistics_per_lgu/per_lgu_files/*.csv'): base =…
meteo_96
  • 289
  • 2
  • 11
0
votes
0 answers

How to get multiple outputs from scipy.optimize.root?

I have nonlinear problem with multiple outputs of the following type: [F,out1,out2,out3] = f(x,a,b,c) I am trying to solve it in Python by method Levenberg-Marquardt in the way: xSol = scipy.optimize.root(lambda x: f(x,a,b,c), x0, method='lm') If…
Rok Petric
  • 75
  • 3
  • 9
0
votes
3 answers

Javascript For Loop iteration multiple inputs number-limits

On a javascript homework assignment for my javascript class, the assignment requires a ".js" for loop iteration to list the names of the pets a user inputs (3 is the limit). There are three horizontally spaced text-input boxes and regardless of…