Questions tagged [nonsequential]

27 questions
0
votes
0 answers

Time Series data Augmentation in pytorch forecasting

I have count time series of demand data and some covariates like weather information every hour. I have used 168 hours (7 days) for encoder and 24 hours (next day) for decoder in DeepAR pytorch forecasting. E.G. using MTWTFSS for encoder to predict…
0
votes
1 answer

How to iterate through random or specific values in a range? in a non sequential way, in Python

The way Python iterates through a range in a for loop is given the range from (0 to n) it will do the operations first for 0, then for 1, 2... until it finishes in n, completing the for loop. Am I correct? I have a working code that needs to be…
greenrabbit
  • 99
  • 1
  • 10
0
votes
0 answers

Mongodb aggregation lookup with condition

I have two collections called 'store' and 'items' , where store keep all product records belongs to the supermarket with timestamp. And 'items' keeps records of some details about purchases. Store Collection {{"id":…
0
votes
2 answers

SAS DO LOOP with specific dates

I want to create a data set where I only want to keep 5 specific dates. So my &date is 31mar2020 and &enddate is 31mar2025 and I only want to keep 31mar every year until 2025. With my code below it creates dates for everyday up to 31mar2025 and…
0
votes
3 answers

Sorting two non-sequential arrays to one array ascending

I was trying to sort two arrays with non sequential numbers into one array after I did with sequential numbers. Do I need to order the arrays separately or is there a more effective way? If I run the code below my output will be 4,16,2,11,19.. and…
Jones
  • 13
  • 3
0
votes
2 answers

R- For loop for non-sequential list

This is probably a simple question, but I'm struggling finding a way to do the equivalent of "for (i in 1:10){ do something}" but with a list of strings. For example: given a list of strings a = ("Joe", "John", "George") I'd want to do the…
chaseking123
  • 37
  • 1
  • 7
0
votes
1 answer

SAS: Non-sequential do loop within a data step

I would like to be able to execute a do loop for a non-sequential set of values. The way I have written this code runs a new data step for each value - so therefore the end product is a data table with a column added for the final value of the do…
green2010
  • 21
  • 2
0
votes
3 answers

Searching a file non-sequentially

Usually when I search a file with grep, the search is done sequentially. Is it possible to perform a non-sequential search or a parallel search? Or for example, a search between line l1 and line l2 without having to go through the first l1-1 lines?
Zeus
  • 1,485
  • 1
  • 17
  • 33
0
votes
2 answers

PHP Loop - dealing with non-sequential iterations

I have the following code - it produces a series of queries that are sent to a database: $a = 'q'; $aa = 1; $r = "$a$aa"; $q = 54; while($aa <= $q){ $query .= "SELECT COUNT(". $r .") as Responses FROM tresults;"; $aa = $aa + 1; $r =…
Homer_J
  • 3,277
  • 12
  • 45
  • 65
0
votes
2 answers

Non sequential ftp script

Scenario: I have to transfer approx 3000 files, 30 to 35 MB each from one server to another (Both servers are IBM-AIX servers). These files are in .gz format. They are unzipped at the destination using gunzip command to b of use. The way i am doing…
-1
votes
1 answer

Call php method from ajax,return nonsense page

Trying page.İt's working.And downloading excel(xlsx) file.But some code,calling another php file in tableCreate.php=>class TableCreate => function Excele_Aktar() .İt's not working.And return nonsense ajax return.I'm sharing ajax…
-1
votes
1 answer

Easy One - reference to non-sequential cells

I'm sure this has been asked before, but I couldn't figure out the right search terms to get the answer I was seeking, so apologies... I have one worksheet with regular but non-sequential data (i.e. values in A1, A11, A21...) In another sheet, I…
Brandon
  • 101
  • 3
1
2