instruction stringlengths 35 29.1k |
|---|
I'm in the process of optimizing my neural network. I'd like to optimize on a small training set (1000 rows) as opposed to my full training set (100K rows) for speed reasons.
Will the optimal hyper-parameters (i.e. my learning rate, dropout prob, regularization parameter, # of hidden units, etc...) for my small traini... |
Definition. Given a graph $G=(V,E)$ and two vertices $s$ and $t$,
the $k$-shortest-paths problem is finding the $k$ shortest simple paths
between $s$ and $t$ in $G$.
Note that the length of these paths is not necessarily equal, and vertices $s$ and $t$ are necessarily $k$-connected. I was wondering if there is ... |
In this book both Table Based methods and Cordic iterations are explained. computationally speaking i suppose the Table based is usually faster, even though it probably requires more resource, while Cordic is probably slower, but probably less resource consuming (if my understanding is correct, it should be a specific ... |
When using as the set of coins all logarithms of the prime numbers or numbers in general, and when using the logarithm of the number to be factored. The problem is just finding the logarithms that can be used to make the total. But then the change making problem is listed as non NP problem, but the prime factorization ... |
I've been thinking about a problem, inspired by meeting a beginner-level foreign language professor at the Goethe-Institut who learned the five most common languages spoken by students in order to communicate with as many students as possible.
Consider some finite population of people, each of whom speak any number of ... |
Given a polynomial $P(x)$ of degree $N$, evaluate $P(x) \bmod M$ at $x = 0$ to $M-1$, where $M$ is a prime number of order $10^6$. Can we do any better than $O(NM)$ given the constraints we only need the value $P(x) \bmod M$?
|
Definition. Given an unweighted graph $G=(V,E)$ and two vertices $s$ and $t$,
the $k$-shortest-paths problem is finding the $k$ shortest simple paths
between $s$ and $t$ in $G$.
Note that the length of these paths is not necessarily equal, and vertices $s$ and $t$ are necessarily $k$-connected. I was wondering ... |
I have a dataset which has timestamp and goods variable for an object like the following example:
On Moday, John bought Beer, chicken, pizza.
On Tuesday, John bought pizza, pork and beef.
On Wednesday, John bought beer, coke and Vegetable
Can I use machine learning to predict what good will he buy in a specific time ... |
I am modeling the Gclock-pro buffer replacement algorithm in Linux kernel.
Because there are many existing modeling works on LRU, I am considering adopting LRU model to roughly describe Gclock-pro, if they are similar.
I read some papers and documents looking for their relationship.
LRU page replacement scheme is har... |
What would the Big O be?
Can something like this be done in O(log(n)) where n is the number of bits?
|
I'm looking into implementation techniques for programming
languages, and recently came across spaghetti stacks, which are
supposedly a good fit for a continuation passing style model
(given their use in e.g.
Scheme and SML/NJ).
For sake of simplicitly, let's only consider a single-threaded
processes for this question.... |
Reduction is a powerful problem solving technique that is helpful in solving problems in terms of the solution to other problems, it can also be used for complexity analysis. Why does most of the literature restrict mentioning reduction to proving hardness which seems to be a pessimistic point of view for reduction (un... |
Given a set of uniquely numbered items that each has three attributes id, from and two in the following format,
{id, from, to}
we would like to find all cycles that a particular item participates in.
For example, given the following items
{id:1, from:h, to:l},
{id:2, from:b, to:e},
{id:3, from:p, to:q},
{id:4, fr... |
Having got some basics down in regard to addition and explaining it in terms of primitive operations (addition and multiplication), I am now again stuck on understanding the more complicated long multiplication.
I have read in my introductory book (Mehlhörn's 'Algorithms and Data Structures') that each partial product ... |
Is there any comparative study that showcases the powers of Bayesian Networks and Deep learning in their respective favorable setup and how they compare?
I tried to go through blogs but couldn't find out any experimental study where the respective models where described based on a example?
Rationale in putting this que... |
I was reading up on how to normalize my training, validation, and test sets for a neural network, when I read this snippet:
An important point to make about the preprocessing is that any
preprocessing statistics (e.g. the data mean) must only be computed on
the training data, and then applied to the validation / t... |
Given a directed graph $G$ and a vertex $v$, how can we enumerate all simple cycles that pass through $v$?
I found a question that describes how to enumerate all simple cycles in $G$, but I want only the cycles that pass through $v$, so this question is a bit different. The total number of cycles in $G$ can be exponen... |
I work on a web project that handles region based user submissions. We currently have about 50 regions, some receive a large number of submissions, some receive next to none.
We also ingest case data for these submissions from a system, again some regions may supply lots of data, others not so much.
The number of case... |
Can any one provide me with a simple language that is recognizable, but that it's complement is not?
I have read that recognizable languages may have this property but I am yet to find an example to think about. If you could provide the recognizable proof for both language and complement I would be very thankful, but j... |
There is a finite set of points $S$ in the plane with $ |S| = n$. MST is the minimal spanning tree of S. "Minimal" here refers to the Euclidean distance between the points of $S$, so the MST is the minimum spanning tree with the lowest overall distance.
I want to prove that the degree of every node is in O(1).
I tried ... |
Let a language A = {(M,w) : M is a TM and w is a string such that w is accepted by M in an even number of steps}.
How can I prove that this is undecidable? I have considered trying to build the ATM proof assuming this language. Language A can cover acceptance under even steps but how would I cover acceptance under une... |
Assume there is a set of points $S$ in $\mathbb{R^2}$.
In this set of points there is a pair of points which are the nearest neighbors, the second-nearest neighbors and the third-nearest neighbors.
I want to show that the pair of points which represent:
the nearest neighbors,
the second nearest neighbors,
the third ne... |
Prove that there isn't any comparison sort algorithm which for an input of size $n$ can sort at least half of the permutations of the input in linear time.
(For the other half the algorithm can return anything, even a completely unsorted array.)
I know that using comparison model of sorting algorithms there is a lo... |
So, I'm preparing for an exam where I have solve divisions using this division algorithm:
While I understand the theory (image above), I couldn't understand this example below:
My problem is with the "First Step", apparently you place the dividend in the "Remainder" box but I don't undetrsand how did they come up wi... |
Consider the following claim: the pre-processing time of KMP algorithm is more efficient than the pre-processing time of Boyer-Moore algorithm, and the overall running time of KMP is rather more efficient than Boyer-Moore.
Is there an example Pattern p and text T to illustrate why one should not agree with this stateme... |
How do persistent homology and clustering methods for data point clouds differ? I'm specifically interested in the application to gene expression data of cancer patients, but any example works.
I understand that a hierarchical clustering method might impose 'nearness' on two points (patients) that are ancestrally rela... |
I am very new to computer vision, (a high school student) and I am working on a project to count the number of people present in a room. I have tried to use the HOGDecriptor for person detection provided by OpenCV (HOGDescriptor_getDefaultPeopleDetector()) but it is very inaccurate, understandably. I was thinking that ... |
i want to modify Dijkstra algorithm to compute shortest path only for the vertex which is no more than three edges away from the start vertex
I tried it with BFS(breadth first search). Initially calculates the number of edges away from source to each vertex v. Then run Dijkstra's algorithm with a constraint like relaxa... |
I have created some unique shapes, so-called "letters" for a custom alphabet, all of which can fit into 9x9 pixels. Instead of drawing countless more, I try to combine two solutions I saw in a relevant part of Reddit, and decided to let a neural network create some additional examples.
Desconstructing the problem: lett... |
I have a physical stack of cards, with numbers on them (or, in reality, I have a stack of exams, with students names on them ;)). I want to sort the cards in ascending order.
This is an extremely boring task. I usually use mergesort myself (quick question: what do you use?). But say each card has a QR code. I can scan ... |
Say that in the future there are people on other planets, e.g., Mars. The one-way communication delay to Mars is between 3 and 21 minutes.
Say we want to connect the people on Mars to the Internet. How would we deal with the communication delay? For example, we don't want to get request timeouts as fast as we have th... |
I'm reading through Algorithm Design by Kleinberg and Tardos and was working on Ch1 Q1. The question is about stable matching and their 'proof' is presented by contradiction. I have an alternative argument and want to know if its right. The question paraphrased is:
Consider a town with n men and n women. Each man as a... |
When studying the time-hierarchy and space-hierarchy theorems, the main idea is to use a simulation by the universal TM. It is mentioned that the time bound is increased by a logarithmic factor while the space bound remains the same.
I still can't figure out why, as most of the answers I've found to similar questions i... |
I'm trying to understand why can't we determine the number of equivalence classes of the intersection of L2 which is irregular and L3 which is regular and known to have 3 equivalence classes (L3 can't be empty). Can't we say it has minimum of 1?
Can we determine the number of equivalence classes for an Irregular langua... |
Why w ∈ A if and only if f(w) ∈ B ? Which the signification of "if and only if" ?
|
Is performing batch regularization in addition to L2 regularization redundant?
Batch regularization: http://arxiv.org/abs/1502.03167
Notice how when performing batch regularization, you forgo using a bias term (and instead normalize your layer output, followed by scaling with a 'scale' term, and shifting with a 'beta' ... |
Let $f$ be a Radial-Basis Function Network:
$$
f(X) = \sum_{i=1}^N a_i p( \lvert \lvert b_i X - c_i \lvert \lvert)
$$
From Artificial Intelligence for Human Beings, the following depicts $f$:
In the concrete example of this diagram, it seems that $N = 3$ (i.e., there are $3$ RBFs).
Question 1: How is it possible that ... |
How does one go about analyzing the running time of a naive recursive solution to the unbounded knapsack problem? Lots of sources say the naive implementation is "exponential" without giving more detail.
For reference, here's a bit of Python code that implements the brute-force solution. Note that this can run for a lo... |
I've seen this statement mentioned a few times here on cs.stackexchange and have not been able to follow the logic. The statement is 'If you restrict the input size of the problem then solving that problem (even SAT) can be done in O(1)'.
So say I restrict the size of SAT to N = 1000, now that means that solving SAT f... |
INTRO: I have 15 points forming a graph G in R^3. Call permutations of the form {-4,-3,...3,4}^3 \ V{G} (vertex set of G):= "Candidate set". Each point in the candidate set is added to the Graph and a metric is checked, if the metric spits out a 'True', then I add it to a list of "Successes". Of the candidate points, ... |
After performing operations (e.g. insertion/deletion of a node - rotations) on an AVL tree, is the result fully determined by the order of insertion on the initial tree, or do multiple solutions exists that satisfy all AVL properties?
|
I am interested in listing all the unlabeled1 acyclic digraphs with n vertices which satisfy some additional constraints, such as (a) the resulting graph is connected and (b) except for R identified root vertices, all vertices have two incoming edges and zero or one outgoing edges.
There may also be additional domain-s... |
In the turing model we have the statements that if there is an unary or sparse language that is NP complete then P=NP and if there is a Turing reduction from an NP complete problem to an unary or sparse language then NP is in P/poly.
Is there an analog of these statements in the Valiant model and in the BSS model?
|
Given a weighted, undirected graph G: Which conditions must hold true so that there are multiple minimum spanning trees for G?
I know that the MST is unique when all of the weights are distinct, but you can't reverse this statement. If there are muliple edges with the same weight in the graph, there may be multiple MST... |
Question is to find the runtime $T(n)$ of following problem by solving the recurrence.
$T(n)=16\cdot T(\frac{n}{4}) + n!$.
I went through the following theory.
If the recurrence relation is of the form $T(n)=aT(\frac{n}{b}) + \Theta(n^k(\log n)^p)$,where $a \geq 1$ , $b \gt 1$, $k \ge 0$ and $p$ is a real number, then:... |
I'm trying to show that for every $L \in RE $ , there is $L\leq_m HALT$.
can you tell if my reduction is true?
The reduction, while getting input $x\in L$,
builds a T.M machine D, that upon some input $x_1$, D is running M on $x$,
if M halted on x, D accepts and the reduction returns $<M,x>$.
otherwise, D is d... |
When we are constructing the Huffman tree to get the Huffman codes, Is it possible to give "1" to left side and "0" to right side rather than giving "0" to left side and "1" to right side of the tree?
|
Consider the DFA, M=({1, 2, 3, 4, 5, 6}, {a, b}, 1, {2, 5}, δ), whose δ is specified below.
I calculated the following and got unmarked states (5,2) and (6,3)
(6,3) looks okay but there is something wrong with (5,2).It is not deterministic so where did I go wrong?
|
As we know Dynamic programming has two techniques.
Bottom up dynamic programming approach.
Top down memoization approach
Normally dynamic knapsack problem is solved using Bottom up dynamic programming approach.can we solve dynamic knapsack problem using Memoization approach?
|
The questions is to find the running time $T(n)$ of the following function:
$$T(n)=3\cdot T(n/2) + n \tag{1}$$
I know how to solve it using Master theorem for Divide and Conquer but I am trying to solve it by expanding:
$$\textstyle
T(n) = n+\frac{3}{2}n +(\frac{3}{2})^2n + (\frac{3}{2})^3n + \cdots
\tag{2}$$
which im... |
Given n elements, where the n elements are grouped into arbitrarily sized subsets, what is the Big Theta (tight bounds) of outputting all permutations of items from each subset?
Assume the elements are all unique.
For example:
n=2, `a b` there are two cases.
`(a), (b)` which has one permutation 1: `a, b`
`(a, b)` which... |
Given a Square Binary Matrix.
The entries of the Matrix are the integers modulo 2 (i.e., GF(2)). The Rank of the Given Matrix is an Integer value R0.
What is the fastest known Algorithm to maximize the Rank of the matrix if the following operations are permitted:
Each 1 entry in the matrix can be replaced by a 0.
No... |
I'm new to build parse trees and I'm really unsure if I'm doing this right. So I have this example Grammar (S->Sa, S->aSa, S->a) and the word I'm parsing is simply aaaa.
My solution would look like
Is this right and is this the only possible parse tree?
|
As far as I know (not understand that well though) BSS model is a real computation model and $P_{\Bbb R}\neq NP_{\Bbb R}$ is a real analog of $P\neq NP$ problem in BSS model.
The lecture notes http://www.cs.technion.ac.il/~janos/COURSES/ESSLLI-2014/E-abelian.pdf show $P_G\neq NP_G$ at every infinite abelian group $G$.
... |
On page two of this discussion of spanning trees there are two different tree structures shown, one labeled DFS tree starting from a as the root and the other labeled Spanning tree created by DFS. If I were to write this out on paper my spanning tree would have looked more like the former than the latter.
Are these dis... |
So when programming with locks as a synchronization primitives you can ensure no deadlock by ensuring that an ordering exists on the locks and that all acquires of the locks happen in that order (which really just needs to be a well founded quasi-order). This lends itself to lots of different kinds of solutions to dead... |
I have problems understanding the effect of Blossoms while searching for augmenting pathes (in the matching problem).
If I have the following graph
Can't I find the augmented path from n1 to n13?
Isn't DFS as well as BFS always able to find the augmented path?
If I understand correctly, because of the Blossoms there s... |
Lets say we have the following language $L = \{\text{$M$ is a TM such that $M$ accepts all strings}\}$, is this recognizable or not? I have a feeling it is unrecognizable, if this statement is correct could anyone provide me with a proof?
My current reasoning is that since the set of all strings is infinite, the "recog... |
(Note that my question is different from this one, I understand why we have to do a dfs on a reversed graph, I want to understand why we can't reverse the topological order instead of transposing the graph.)
In Kosaraju's algorithm, it is stated to compute the transposed graph and apply topological sort on it. I unders... |
I'm currently trying to do a count of the number of elements between obstacles, for example:
000100001000 Would yield 3,4,3 and 01001110 would yield 1,2,1. More precisely i'm trying to find the sum of the above lengths passed to this function:
$f(x) = \frac {x(x+1)} {2}$
So the first example would yield a result of 2... |
Question taken from "The Algorithm Design Manual" by Steven S. Skiena, 1997.
A vertex cover of a graph $G=(V,E)$ is a subset of vertices $V'\subseteq V$ such that every edge $e\in E$ contains at least one vertex from $V′$.
Delete all the leaves from any depth-first search tree of $G$. Must the remaining vertices form ... |
Given a graph G=(V,E) with positive edges weights, Is it possible to produce different shortest path trees for the Bellman-Ford algorithm and Dijkstra's algorithm?
|
The book I am following explains the solution as,
As we can see,the size of sub problems at the first level of recursion
is $n$.So, let us guess that $T(n)=O(n\log n)$ and try to prove that our guess is correct.
Doubt- Does initial problem size(i.e n) give a hint to reach $O(n\log n)$ ? How it does?
furthermore ,th... |
I'm confused as to what mode computers boot in. My thought process was that since kernel mode is effectively the base layer of protection for the computer, it would boot in kernel mode and then load user mode. User mode is also effectively a subset of kernel mode? So you would have to load kernel mode before switching ... |
So the question is:
Assume we had 15 CPU instructions and, for each instruction, we were trusting one particular component of the kernel to handle it. How many modes do we need to support (including the user mode), and how many bits we had to use to represent these modes? What is an advantage and a disadvantage of usin... |
I'm currently studying for an upcoming exam in theoretical computer science, but one of the exercises is confusing me: in the exercise sheet it says that the NFA $$M=(\{z_0,z_1,z_2\},\{a,b\},\delta,\{z_0,z_1,z_2\},\{z_2\})$$ corresponding to the regular expression $\alpha=(a^*b|\epsilon)(b^*(a|\epsilon))$ is defined by... |
I have a database log where some transactions win (they are committed before crash) and some lose (not committed yet). We learned in class that the losers' actions have to be undone backwards.
Is there any reason for doing this backwards? Can anyone give a simple example of a log where forward undos would give wrong re... |
An object K in a category C is called a generator if, for all pairs of
morphisms f, g : A → B between arbitrary objects A and B, f = g iff ∀e
: K → A. f ◦ e = g ◦ e.
Source: http://events.cs.bham.ac.uk/mgs2012/lectures/ReddyNotes.pdf (Page 7, Definition 3)
Can someone help me break down the meaning of this defini... |
It is also called Natural sort order.
"It's hard to find information on natural sorting"-Jeff Atwood on Coding Horror.
And it seems true today as the Wikipedia entry seems pretty bare.
Definition 1: Non-numeric word-character substrings are sorted lexically, case-insensitively. Numeric substrings are sorted numerica... |
I was studying the I/O process of a PC...and I think I understood it..but not very much so I will type what I understood giving an example..and I hope that I got it right
e.g. typing with a keyboard
First: The Input, and that is done simply by the keyboard..
Second: The information gets to the CPU in binary, but the l... |
Are there bubblesort-esque algorithms for sorting on arbitrary graphs?
I'm working on a problem in which $k$ robots are placed randomly on a graph and have to reach their respective goals as quickly as possible. The robots can only move one step at a time and no two robots can simultaneously occupy the same node, but a... |
Here is a problem vaguely related to the dining philosophers problem. Three metaphysicians go to a restaurant for dinner. When it is time to pay the bill, they decide that they want one of them to pay the entire bill, but without the other two knowing who paid the bill. Ideally, they'd put three tokens in a bag, one wh... |
Explain what will happen if we try to evaluate the query “path(a,e).”. When the query was actually run, it kept looping.I used the following method. Is it correct?
When evaluating $path(Z,e)$, if $path(Z,e):-edge(Z,e)$ was chosen, it would have returned true since there is $edge(b,e)$. But why did the program choose t... |
Often, similar ideas or works have vastly different namings or covers. This is a hassle for searching in distant fields, especially in a non-native language.
Idea. We mathematically model (Petri nets, graphs, automatons, any formal way) architectures and algorithms. One of the models can be substituted for various beh... |
In the object oriented programming concepts I found the term "Identity of object". What does it mean by "Identity of object"?
|
I have:
set of n-dimensional points that I know are inside of the shape
n >= 18, range on all dimensions has upper bound and lower bound (no axis goes to infinity).
shape is pretty large in this n-dimensional space, occupies roughly 10-50% of the whole space volume
knowledge that the shape is continuous, but it's defi... |
I have created a parse tree for the formula: a∧¬(b∨c)∨¬d∧(¬b) successfully.
I am now asked to create a decision tree for the same formula. What are the main differences between a parse tree and a decision tree?
|
The smn-Theorem on the basis of Turing Machines and computable functions rather than programs, as in the Wikipedia article for instance, can be defined as follows:
$$
\begin{align*}
&&& s \langle m, n \rangle &&= \lceil M' \rceil \\
&&\implies &\varphi_{s\langle m, n \rangle} &&= \varphi_{\lceil M' \rceil}\\
&&&&&= f_{... |
$ST-CONN = \text{{(G,s,t) | G is directed graph, there's path from s to t}}$
I've learned the following deterministic algorithm to solve the problem in $log^2n$ space:
$\psi(G,s,t,k) :$
$\hspace{1cm}\text{if k == 1: return 1 if there's edge from s to t, else return 0;}$
$\hspace{1cm}\text{foreach } v \in V(G) \text{:}... |
In Orderly algorithms for generating restricted classes of graphs, Colbourn and Read expand on the earlier introduction of the orderly generation of graphs.
Briefly, orderly generation allows you to exhaustively generate all non-isomorphic graphs on p vertices, by augmenting the canonical set of (p, q) graphs (with q e... |
Assuming that there is a function $f(x)$ (non linear, non convex) where $x$ is the vector $[n_1,n_2,\dots n_m]$ where $n_i$ is the number of balls in the box $i \in \{1,\dots m\}$, and $\sum \limits_i^m n_i = n$.
What is the complexity of the problem of finding the distribution of balls that maximize $f(x)$?
Also what'... |
I'm interesting in generating directed acyclic graphs (see here, for example). As part of this search, I'm curious if there are any efficient algorithms for determining a canonization of a directed acyclic graph. Or, are there any tricks that allow the canonization of a dag to be computed more efficiently than a genera... |
In a question on Stack Overflow, the answer by Patrick Trentin lists the following solution to the dining philosopher's problem:
A possible approach for avoiding deadlock without incurring
starvation is to introduce the concept of altruistic philosopher, that
is a philosopher which drops the fork that it holds whe... |
Given a regular language $L \subseteq \sum^*$ prove that the language
$half(L) = \{w \space | \space ww \space \in \space L \}$
is also a regular language.
--
Please give a hint or two. Have thought about it a lot already.
--
While trying to make one for $half(L)$, I came up with a DFA which uses the DFA for $reverse(L... |
The case of multiple strings. A slight modification of the dynamic programming algorithm for two strings is used as a subroutine. Here is the pseudo code:
# The modified dynamic programming algorithm for longest common subsequence.
# Inputs: x, y - the strings
xL, yL - their respective length vectors
lcs(x, x... |
I would like to know if there are known algorithms for generating a random point(say following a probability distribution P) inside an arbitrary polyhedron(possibly non-convex and may contain holes)?
I find approaches for 2D case like the one described here but none in the case of polyhedrons(3D). Whether extending thi... |
I just came across the following thing: I put multiple identical copies of a png image into a folder and then tried to compress that folder with the following methods:
tar czf folder.tar.gz folder/
tar cf folder.tar folder/ && xz --stdout folder.tar > folder.tar.xz (this one works well for identical images, however fo... |
Given universal set $U=X \cup Y = \{x_1, \ldots, x_{n_1} \} \cup \{y_1, \ldots, y_{n_2}\}$ where $X \cap Y = \emptyset$
and sets $\mathcal{S}=\{s_1, \ldots, s_m\}$ such that $s_i \subseteq U$ for all $i=1,\ldots,m$ and integer $k \in \mathbb{Z}^{+}$.
Find $\mathcal{C} \subseteq \mathcal{S}$ (denote $Z = \cup_{s \in \ma... |
Given the following conditions:
An element has:
A time range, for example: 9:00 to 18:00.
A repeat time, for example: every 5 minutes.
Then a device recieves some elements and has to schedule them in a 0-24h range.
The device has a minimum separation time between elements, for example: 3 minutes (schedules must be s... |
In a description of OOP in my textbook, it is written that “in procedure oriented program the program is organized around its code while in object oriented programming, the program is organized around its data”. What is the meaning of this statement? An explanation with an example would be of great help.
|
The program has the following proportion of instructions:
Arithmetic: 70%
Load/Store: 10%
Branch: 20%
The question is to find the number of cycles on average that an arithmetic instruction take for a 25% improvement in performance if load/store and branch instructions are not improved at all?
How to proceed with such t... |
Do CPUs have big circuits such as asynchronous multipliers or BCD to binary converters?
An asynchronous multiplier is much bigger than an adder. It's about 18*n^2 NOR gates where n is the number of bits. An adder is about 15*n NOR gates. But for a 32-bits multiplication, a multiplier with successive additions will need... |
I have a large graph G and a pair of nodes s,t. I want to use the A* algorithm to find the shortest path from s to t, and I have a heuristic that is consistent.
Suppose I already know of a path whose length is guaranteed to be at most 1.1 times as long as the shortest path. Does this help A* find the shortest path fa... |
I am trying to find an algorithm which would check for each edge in a given weighted undirected graph whether it belongs to any of the graph's Minimum Spanning Trees.
I have found many potential solutions to this problem, which use the cycle property of MSTs, that is (quoting Wikipedia):
For any cycle C in the graph, i... |
As a disclaimer, I am a geophysicist, not a computer scientist.
I have a binary file with a whole bunch of data in it (it is a large file; 221 MB). I am trying to convert this to something usable but I don't want to just find some online converter and hope for the best, I would prefer to actually understand what is goi... |
Does there exist an algorithm for which an exact complexity provably cannot be expressed in closed-form?
Here closed-form means a finite composition of addition, subtraction, product, division, factorial, power with any exponent, logarithm, trigonometric function, inverse trigonometric function, hyperbolic function, a... |
I was reading the GGM construction for PRFs and wondering the relation between key length and hardness. GGM construction does not seem to yield any significant improvements. Are there any PRF constructions which take into account key length for increasing hardness? Alternatively, are there any constructions which trans... |
What is a Stereotype in Unified modelling language?And What are the primary class stereotypes?.I need clear explanation using diagrams or real world scenario.
|
On page 38 of "Lecture Notes in Computer Science" by Christoph M. Hoffmann, there is an algorithm (ALGORITHM 2).
I have some confusions.
Why it is written that an entry $M_{i,j}, j < i$, cannot be referenced? what is the meaning of "reference" here?
Thanks.
|
I have read some articles which state that basic algorithms such as dynamic programming , graph algorithms etc are not required int machine learning fields such as deep learning , reinforcement learning etc. Is it true that learning basic algorithms is not necessary for learning machine learning concepts ?
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.