Questions tagged [multiple-input]

74 questions
0
votes
0 answers

LSTM RNN Seq2Seq multiple Input X_train, y_train is not learning TimeSeries Forecasting

After I MinMaxscaled my train(80%), test(20%), I created Seq2Seq Sequences for Multi-Step timeSeries Forecasting. X_train.shape = (2705, 5, 1) y_train.shape = (2705, 5, 1) Example X_train and y_train: timeseries: 1, 2 , 3, 4, 5, 6, 7, ... first…
0
votes
0 answers

Shiny with more than one optional input for a single table output

all. I would like to create a shiny script to perform some analysis. One of the first steps is to ensure that people have the correct input. There is one major input that are several files in a folder, 2 mandatory tsv/txt inputs and 3 optional…
0
votes
0 answers

Use output of one model as input to Tensorflow Neural Network

I have a mixed dataset with categorical features and text features, for categorical features I am using the approach as in image After the stochastic Gradient Descent classifier I am not able to figure out what is actually being fed to Neural…
0
votes
1 answer

Dynamic Input Array with Image/file in Laravel 8

i am trying to do an update using dynamic for "education history" but there is an image also, i use eloquent to update too, for some reason the data is saved in the database but the image just tmp and cannot find in the folder. //count array…
0
votes
0 answers

Multiple Select inputs in PHP

I am wanting to write HTML to allow the selection of multiple select inputs and then print them in php. Here is the problem: favsport = Warning: Array to string conversion in I:\twa\twa220\practicals\week9\exercise2.php on line 23 Array Here are the…
iHamishio
  • 1
  • 3
0
votes
2 answers

How save state of multiple input in react

I am learning React. I have created a sandbox for you. In the sandbox, You will see multiple inputs for entering name,credit, debit. Currently, If I type on name input, it will update all name inputs similarly for credit and debit inputs. What I…
Abhishek kamal
  • 319
  • 3
  • 12
0
votes
2 answers

Take exact number of inputs using list comprehension method on python

I want to take exactly 20 int inputs from a user. How can I achieve that using the list comprehension? There is a way of setting the limit using a for loop in C and Java programming languages. But is there any workaround to achieve that in…
lone wolf
  • 85
  • 8
0
votes
2 answers

How to store numeric input in a loop

I want to make two lists, the first containing three names and the second containing three lists of scores: name_list = [[name1][name2][name3]] score_list = [[22,33,35][32,22,34][32,44,50]] My current code is this: name =…
Gaga
  • 1
  • 3
0
votes
0 answers

How to handle the errors inside for loop while getting inputs empty using PDO

Hope someone can advise. I'm facing a small issue of handling errors while the inputs are empty inside the for loop. I have to use for loop in this case because I'm inserting multiple inputs in the same time. On checking if inputs are empty the only…
Hazem Behairy
  • 89
  • 1
  • 7
0
votes
1 answer

Python: Running multiple functions simultaneously with different execution times

I'm working on a project that needs to run two different CPU-intensive functions. Hence using a multiproccessing approach seems to be the way to go. The challenge that I'm facing is that one function has a slower runtime than the other one. For the…
0
votes
1 answer

Input onChange makes multiple re-renders

I learn React and I faced some problems. I thought I understand controlled components, but well, it seems otherwise. Could you explain me, why after onChange event I receive props for rest Input components? If I want add label that depends on…
0
votes
1 answer

Custom loss function and fit data for multiple inputs and outputs in tf.Keras

I am working around with a DNN in tf.Keras, which looks like as follows: # Construct the DNN model with 2 inputs, 2 outputs and 3 hidden layers c0_input = Input(shape=(1,), name="c0") c1_input = Input(shape=(1,), name="c1") # Concatenate the input…
sondv89
  • 13
  • 2
0
votes
1 answer

How can I add multiple input variables in reactive function in shiny server?

I want to update my output according to 3 different input variables, but the output is just updated by "var". I know that I should update the data <- reactive({}) function for "var", "Group", and "Timepoint", but I need help! I tried multiple ways…
0
votes
2 answers

Unable to input string values when taking multiple input in one line (Python)

Using the code below: print("Welcome to band name generator!!") city,pet = input("What is the name of the city you grew up in?\t") + input ("\nWhat is the name of your first pet?\t") print("\n\t Your band name can be " + city + " "+ pet + "!!") I…
Python_HD
  • 3
  • 2
0
votes
0 answers

Hadoop MapReduce - Join of two files and Computation on grouped values

I am fairly new to Hadoop and MapReduce programming. I want to know whether it is possible to group by another value (not key) after joining of two files. I have two files which have following data File1 name marks A Male B Male C …
Mark
  • 1
  • 1