Questions tagged [algorithm]
The algorithm tag has no usage guidance.
54
questions
1
vote
0
answers
10
views
Why does my CLIP model (aims for text-based person retrieval) show an improvement only in the few epochs before performance begins to decline? [closed]
I'm training a model aims to achieve the goal of person retrieval based on text description, which is a sub-subject of ReID(Re-identification problem). I used a pre-trained CLIP model as my backbone, ...
2
votes
1
answer
148
views
Algorithm to find longest common substring
I'm having a bit of trouble coming up with a general solution to the following problem.
First a bit of context.
End goal: set file permissions on all files and directories created by a rpm
My plan was ...
1
vote
1
answer
441
views
How to calculate monthly loan payment with fixed monthly drawdown
I would like to modify the Excel PMT function to take account of a fixed monthly drawdown on the loan. For example, where the loan is a credit card, the card holder my spend money every month, and ...
0
votes
1
answer
883
views
Data compression algorithm in chrome and chromium
I was doing some research on browsers and I want to know what is data compression algorithm really mean in browser. and what are algorithm currently using in chrome, and chromium.
0
votes
1
answer
4k
views
Why does compression process takes longer than extraction process?
Whenever we compress a file with any method be it zip, rar, 7z, why does compression process takes more time than extraction?
2
votes
1
answer
2k
views
Excel Formula for optimizing a route where each row represents a different "station" that can do different things
I was unsure about how to frame this question.
Here is a minimum viable example:
Jane can do A, B, D. Shes 1km away.
Jack can do B, D, F. He is 1.5km away.
Marshal can do E, F, A. He is 20km away.
...
0
votes
1
answer
168
views
Do processes stay in memory until completion?
I'm solving a problem in which I'm given several processes, each with it's own required CPU time for completion, memory requirements and time of entry to the ready queue. The algorithm the scheduler ...
-2
votes
1
answer
75
views
suppose I have a +1,000,000,000,000,000 entry in my database [closed]
So suppose I have +1,000,000,000,000,000 or more entries in my database! and I am looking for the entry number 1,999,999,999,999,990 wouldn't it take years to get it?
Now as a programmer, will I ever ...
1
vote
0
answers
77
views
What determines what algorithms are available to OpenSSH?
Is the version of OpenSSH or the version of OpenSSL (or a combination of the two) that is installed on a given system what determines which Ciphers, KexAlgorithms, and MACs are available to be ...
1
vote
1
answer
2k
views
Use ffmpeg for thumbnail selections
This is a follow-up question from HERE. I want to sample k frames out of the n number of frames in a given video using FFMpeg and its thumbnail filter. There is a post here providing some insights how ...
51
votes
1
answer
7k
views
What exactly is Excel's Auto Fill algorithm?
What is the algorithm used by Auto Fill in Excel?
For example, when I enter the numbers 3,4,5,7,8 into a column and then use Auto Fill, I get the following result:
3
4
5
7
8
9.3
10.6
11.9
13....
-2
votes
1
answer
73
views
Will this program terminate for every Integer? [closed]
In a Part Test for GATE Preparation there was a question :
f(n):
if n is even: f(n) = n/2
else f(n) = f(f(n-1))
I answered "It will terminate for all integers", because even for negative ...
-3
votes
1
answer
234
views
Designing a custom small DDoS detection and defense sytem [closed]
Am very new to the topic so I would like some guidance where to get started.
What I want is, some tools to programmatically observe network traffic and preform some actions on the traffic. I don't ...
0
votes
2
answers
3k
views
Finding permutations of a number using bash script
Is it possible to write a bash script which takes a 4 digit number as an command line argument and produces all permutations of that number with using only pure bash?
1
vote
0
answers
40
views
Creating an specific type of meta-algorithm
I need to create a program able to create an algorithm to Matlab. For instance, in this program, I want to give it an integer n>0 and make it create a Matlab algorithm with the following code:
u1 = ...