instruction stringlengths 35 29.1k |
|---|
My google skills have failed me during research for a college project. Our task is write a program that describes an image in spacial terms, e.g. "Cat on the left of a chair", or for a simple image "Two triangles over a large circle, and a sqaure underneath it".
Suppose that after analysing an image I have a set of ob... |
Consider the infinite two-dimensional grid with integer co-ordinates. A walk in the grid can be represented by a string over the alphabet $\{u,d,l,r\}$, where the letters stand for moving one square up, down, left and right, respectively.
Now consider the langauge of all strings representing closed walks (walks that e... |
If you had a circular graph e.g. A->B->C->D->E->A, and a legal coloring system with 3 colours (e.g. Red, Green Blue), where each node is assigned a colour and no node can be connected to another node of the same colour, what is the easiest way go about producing a Conjunctive Normal Form of node states (e.g. AR means A... |
How is 4G LTE faster than any ordinary internet connection? What is the mechanism behind it?
|
I recently asked a similar question, however, I'd like to address it in a more mathematically precise setting.
In that paper, on page 5, it talks about a rigorous definition of what it means to $\epsilon$-refute random 3CNF formulas. For that, I will provide a screenshot of the exact part I want to address:
The proble... |
In Kuhn's algorithm for the maximum bipartite matching problem we iterate through the vertices of one partite set and try to build the increasing chain, starting with the current vertex. Once the traversal is completed, we claim that the maximal matching is found. But why don't we need to check again the vertices for w... |
I know to prove a language to be Recursively Enumerable, it is ideal to represent a Turing machine for it. Let L be set of strings which have alphabet {u,d,l,r}, where u is up 1, d is down 1, etc. L is representing paths on the Cartesian plane which can begin and end at any point so say begin at (1,3) and end back at (... |
Given a single SAT clause with its 3 literals coming from 3 different variables it is obvious that a random assignment of values will satisfy it with probability 7/8
But I do not understand how from the above argument it follows that given a $m$ clause SAT instance the probability of satisfying at least $7/8 - 1/2m$ ... |
Suppose I have N sets of numbers (10 numbers per set) {a1, ....., a10}. I form a sum by taking one number at random from each set. SUM = num from set 1 +......+ num from set N. If I do this a large number of times I will generate a large number of different values for the SUM variable. How can I estimate the distributi... |
In his talk The Future of Programming, in the third section of the talk about "programming using goals", Bret Victor says this:
https://vimeo.com/71278954 [15:20]
What won't work, what would be a total disaster, is---I'm gonna make up a term here---an API. This notion that you have a human
programmer that writes aga... |
I'm working with road networks, in which each edge is a physical street segment with a length attribute. Nodes represent junctions. However, my question should be generalizable to any weighted graph.
I'm interested in a specific measure of 'branchiness' that I have devised to normalise a density estimate. I would lik... |
An Intel 64 bit CPU uses a four-level hierarchical page table. Each of the four levels of the page table can contain 512 entries, and the page table size is 4KB. You should be able to see that it cannot actually address 2^64 bytes of virtual memory. If a process on the system used 12MB of text, 5MB of heap and 7MB of ... |
I am trying to prove (without converting it into Automata, through just simplification) that the following two regular expressions are equal:
$ (\epsilon + 0^*1^+0)^* = \epsilon + (0+1)^*10 $
here is what I have got so far:
$$ (\epsilon + 0^*1^+0)^* = \\
(0^*1^+0)^* = \\
(0^*1^*10)^* = \\
\epsilon + (0^*1^*10)^+ = ... |
I'm trying to solve an optimization problem which can be described as follows.
There are four sets objects. For simplicity, let's call them :
Apples
Oranges
Pears
Lemons
The sets can contain unequal numbers of their respective objects
These objects must be organized into groups containing exactly one of each object... |
I am reading "Formalization and Implementation of Modern SAT Solvers", by Filip Marić.
My question is about how backjumping is defined. In an example [1], there is a conflict clause C equal to
[-1,-2,-3]
that has already been explained and learned. The decision trail is
|6, 1, 2, |7, |3, 4, 5,
where true decisions are ... |
What methods are there to prove a language is NP-complete? I already know the reduction method, but are there more sophisticated/advanced methods to prove this?
|
For a deterministic finite automaton (DFA), some output tasks are easy when done in one direction, but difficult (or impossible?) when done in the reverse direction. Let's take a simple example of outputting a word lower-case, or upper-case, depending on a control sequence included in the input. So the task
l:aNNa sho... |
I am trying to come up with a formal definition for functional purity in a simple programming language (think JavaScript). What I've got so far is this:
DEFINITION: A statement is impure if
it is an assignment, unless it assigns to a local variable
OR, it evaluates a call to a function, unless that function is pure
O... |
How to simulate a non-deterministic PDA with a turing machine?
|
In a course of computer science it is common to study the hierarchy of formal languages, grammars, automata and Turing machines. I wonder what is the relationship of these objects with formal systems.
For example, lambda calculus is said to be a formal system. Would its grammar also be considered a formal system?
|
How should I go about showing that the following problem is decidable:
Given DFAs M1 and M2, is L(M1) ⊆ L(M2)?
What is the general strategy to prove that a problem is decidable or undecidable?
Thanks in advance.
|
It seems to me that the problem of $s$, $t$ connectivity in a DAG should still be NL-Complete.
I am aware that ST-CON without the DAG restriction is complete for NL, so obviously the DAG restriction is still in NL, but I believe hardness follows as well:
For a turing machine that runs in space $s(n)$, its configuration... |
Given a Turing machine, how can I identify the language it accepts and write a set notation for L(M)?
|
In safety games there are these mathematical notation about greatest fix points and least fix points but I don't get it. How would we describe them plain English without mathematical symbols.
|
In literature, is there an algoritm to convert a monoid into an atomaton?
I am looking for references/applications.
|
What we know is that π is infinite and quite likely it contains every possible finite string of digits (disjunctive sequence).
I've seen recently some prototype of πfs which assume that every file you've created (or anybody else) or you will create, it's already there so it's a matter of extracting it. There is also pi... |
I'm working on an exam question that asks me to run the Double-Tree Heuristic algorithm on the following graph:
This algorithm starts by finding a minimum cost spanning tree.
My solution:
Minimum spanning tree contains edges ec, cb, dc, da
Doubling these edges to find an Euler tour: a, d, c, b, c, e, c, d, a
Removin... |
I have read that from Fourier transform we obtain magnitude and phase spectrum. The magnitude spectrum tells you how strong are the harmonics in a image and the phase spectrum tells where this harmonic lies in space.
I have used Matlab to compute the magnitude and phase spectrum of the 2 grayscale images of babies usin... |
I'm new to regular expressions and I'm currently working on some exercises on converting DFA's and NFA's into their equivalent regular expressions.
I have the following NFA:
I'm using the state elimination method to obtain the regular expression for the NFA. So I first introduced two new states, $q_{start}$ (the new s... |
So, you see in the image the question and its answer (proof below the black line).
I get the entire proof until the last formula. It basically says that if length of a string is larger than number of states then one or more states need to be re-visited (at least one more times).
Formula for the L makes also perfect se... |
Under what operations are linear context-free languages closed? Suppose $L_1, L_2$ are two linear context free languages. Are there any guarantees about $L_1 \cup L_2$, $L_1 \cap L_2$, $\overline{L_1}$, $L_1 . L_2$, etc.?
|
I start to work in the field of computer vision and read a paper in which the author states "When suitable correspondences between salient image structures have been established, the 3D uncerntainty of these structures mainly depends on the triangulation angle between the oberservations and the 3D structures". So what ... |
I am currently studying probabilistic algorithms and came across three major complexity classes:
BPP: worst-case polynomial time, two-sided error
RP: worst-case polynomial time, one-sided error
ZPP: average-case polynomial time, no error
At first I couldn't understand why one would use an algorithm that could err. I ... |
If $a,b,c,y$ are all scalar doubles, then $y = a\cdot b$ would result in 16 bytes from loading $a,b$ and 8 bytes for storing $y$, a total of 24 bytes transferred. Likewise, $y = a\cdot b + c$ results in 24 bytes from loading $a,b,c$ and 8 for storing $y$ hence 32 total bytes transferred. Now let $\boldsymbol{X},\boldsy... |
I'm a business informatics student so I am taking introduction to computer science and computer programming, and so far I hate everything that has to do with this major aside from these 2 courses which I am really enjoying so far, so I am considering changing to a computer science and engineering major, but I want to m... |
Are there real-world applications of the Steiner Tree Problem (STP)?
I understand that VSLI chip design is a good application of the STP. Are there any other examples of real world problems that people can suggest of that could be formulated in terms of the STP?
Background: I am beginning my PhD research and I am look... |
Consider the following problem: given a Turing Machine $M$ and an input string $w$, does $M$ enter each of its states during its computation on input $w$?
How to prove that the problem is undecidable?
I was trying to prove undecidability by Rice's theorem which states that languages having non-trivial property are unde... |
I'm wondering if there is a polynomial algorithm for "2-SAT with XOR-relations". Both 2-SAT and XOR-SAT are in P, but is its combination?
Example Input:
2-SAT part: (a or !b) and (b or c) and (b or d)
XOR part : (a xor b xor c xor 1) and (b xor c xor d)
In other words, the input is the following boolean formula:
$$(a... |
So based on the Chandy/Misra section in this Wikipedia article we've got 5 philosophers numbered P1-P5.
Based on this quote:
For every pair of philosophers contending for a resource, create a fork and give it to the philosopher with the lower ID (n for agent Pn). Each fork can either be dirty or clean. Initially, all ... |
I have googled a lot to find the answer and found some links like this, this and this and even in a book Understanding Computers Today and Tomorrow (13th edition) couple of paragraphs are written as given below:
Some input and output devices are exceedingly slow, compared to today’s CPUs. If the CPU had to wait for th... |
In the paper, Paxos Made Simple, a proposer asks an acceptor to respond to a prepare request with:
A promise never to again accept a proposal numbered less than n, and the proposal with the highest number less than n that it has accepted.
Therefore:
[An acceptor] can receive two kinds of requests from proposers: pre... |
I'm sorry if this question seems too naive.
I've read the Shor's algorithm of factoring big number using quantum computer on Wikipedia. It says,the key step is to find the cycle of the function defined on positive integers:f(x)=a^x mod N, where a and N are positive integer,and N is very large.
What I would like to do ... |
How many instructions as a function of the input size N?
int count=0;
for (int i=0; i<N; i++)
for(int j=i+1; j<N; j++)
if(a[i] + a[j] ==0)
count++;
# of "less than" compare instructions = 1/2(N+1)(N+2) Can someone pl. explain why there is 1/2 multiplier?
# of "equal to" compare instructions = 1/2 * N ... |
There's a problem which I had on a number of unrelated occasions which I usually work around in some way or another. Deep inside, though, it bothers me that I haven't ever found a “proper” solution to this:
Given an n-tuple of integers, how do I derive a stateless pseudorandom number / hash value in the half-open inte... |
We know that the "subset product problem" is NP-complete, as Gary and Johnson mentioned in their book, and the proof is by reduction from X3C.
I wonder if we can prove that this problem, i.e., the subset product problem is NP-complete even where all the given numbers are distinct powers of 2?
It seems to me it has to ... |
Since reading Ken Thompson's Reflections on Trusting Trust I am trying to formalize the idea of a program which mutates its own behaviour; specifically, a program that would be self-reproducing except that it would reproduce itself with a mutation. With this definition I wish to differentiate this kind of program from ... |
By $c$ character I mean the numbers $0,\dots,c-1$ and the blank symbol $b$, and by $n$ states I mean $n$ non-accepting states, reject and accept.
We can assume every $n$-state Turing machine has $(c+1)n$ transitions going to either another non-accepting state, reject, or accept, that is that it has a transition for eve... |
Modern SAT solvers use the notion of "watched literals": when a value is chosen for a literal $l$, the solver only checks whether that falsifies clauses with $l$ in them if $l$ is one of the watched literals in the clause. This prevents checking every clause for every newly assigned literal.
The correctness of the sche... |
This is probably a stupid question, but I just don't understand. In another question they came up with Schaefer's dichotomy theorem. To me it looks like it proves that every CSP problem is either in P or in NP-complete, but not in between. Since every NP problem can be transformed in Polynomial time into CSP (because C... |
It is always claimed that Cook and Levin gives the very first NP-complete problem and proof of it.
But when I look at the actual proof I think what Cook and Levin did was reduced (or transformed) SAT to "P-bound NTM acceptance" problem.
Formally, we define
A P-bound NTM is a non-deterministic Turing machine that was g... |
I've been thinking about conversion from CNF to DNF. Assume a "worst case" CNF formula with $k$ disjunctions, each containing exactly $l$ elements and no variable is used twice. Example with $k=3$ and $l=2$:
$(a \lor b) \land (c \lor d) \land (e \lor f)$
Obviously, this will result in a DNF of length $k^l$, as all poss... |
I heard that it's possible to model a bounded-memory RAM as a Finite State Machine.
I'm curious about the method of how we would do that.
How would you model a bounded-memory RAM as a Finite State Machine?
Thanks in advance
|
I suppose this is both easy and false.
Let $\phi$ be propositional boolean formula on variables
$x_1 \ldots x_n$.
Suppose in all satisfying assignments of $\phi$,
all pairs of variables $(x_i,x_j),i \ne j$ can take all possible
values, i.e. any of $\{(F,F),(F,T),(T,F),(T,T)\}$.
Is $\phi$ tautology?
In case the answer... |
It seems to me that any problem whose solution requires finite memory can be emulated on a Finite State Machine . This would make those problems that can't be solved by a Finite State Machine to require infinite memory ( like general multiplication of integers ).
My question is what "infinite memory" really means if ... |
This is based off of my question here, where I was helped to find the number of Turing machines with restricted states and characters which is $(3(c+1)(n+2))^{(c+1)n}$. Now I'm wondering how many of those are unique, when I asked on IRC it was suggested that most of them are duplicates. Unique and valid in this case me... |
My teacher asked me to convert the regular expression $(a | b)^*$ to an NFA using Thompson's algorithm – well, I'm well aware of how this algorithm works, but since I'm not good at memorising details, I produced a slightly different NFA, and the teacher said it was wrong. Yeah, I know that it's not what the algorithm p... |
A friend and I have been discussing turning a $O(n^2)$ graph problem's algorithm into $O(n\log n)$, or at least less than $O(n^2)$. And no - this is not a homework question. We've narrowed it down to the following subproblem:
Let $A,B,P,$ and $Q$ be a group of 4 nodes, with coordinates $(x_A,y_A),(x_B,y_B)$,etc... such... |
My instructor asked me to prove that strongly connected component of a DAG is also a DAG. I don't get it. How can a graph be DAG and strongly connected at the same time?
Consider a graph on two vertices "u" and "v" and assume that it is strongly connected as well as a DAG. A path from u to v exists as well as a path f... |
Can anyone give an example of two non-regular languages $A, B \subseteq \{0, 1\}^∗$ for which the language $AB$ is regular?
|
I was reading Alan Turing's paper "On Computable Numbers with an Application to the Entscheidungsproblem".
I was reading well until I encountered "4. Abbreviated Tables", page 235-236, where Turing uses a new way of writing a computation table for a machine. I am totally lost here. I don not understand the examples he ... |
Would it be possible to build a progress bar that estimates progress using entropy?
Consider a web browser that is downloading a large file (for instance), which displays a progress bar indicating the amount of progress in the download. Let $X$ denote the value of the complete file; it is not known until the download ... |
I'm a total beginner in Coq and I'm trying to implement some category theory stuff as an exercise.
I surfed a little among git repos of the many avaible such implementations (HoTT, Awodey's Coq companion, etc.) it seems that every single project implements something like that
Record Category : Type :=
mkCategory{
... |
what is the worst case of insertion sort ?
|
I'm trying to implement a Inventory Routing Problem with Branch-and-Cut. But I'm facing with an issue regarding subtour elimination. (http://www.danflash.com/files/irp.pdf)
The paper describes the constraint like this:
$$\sum_{i \in S} \sum_{j \in S, j<i} y^t_{ij} \le \sum_{i \in S} z_{it} -z_{kt} \quad S \subseteq M \... |
I want to convert below NFA into DFA:
I prepared below tables and finally the NFA:
NFA
However I feel I am wrong here, since original NFA does not have any transitions defined for state C and my final DFA does not have any dead state. However I dont understand where I am going wrong.
|
I'm trying to understand Ogden's lemma, and I know there are 4 cases, but in the next example I can only find 3:
Assume A = {$0^n1^m0^k$ | k = $max${n, m}} is CF:
Choose z = $0^k1^k0^k ∈ A$, z = xuvwy (with uw containing at least one 1):
u or w contains one 1 and one 0, so $xu^2vw^2y ∉ A$
if w = ε, then u = $1^n$ so ... |
In the paper, Paxos Made Simple, Lamport describes a round of Paxos as two phases: a $prepare$ phase, and an $accept$ phase. An instance of Paxos can have multiple rounds. Can a round have multiple proposers make proposals, or is it strictly one proposal per round?
In addition, I found a number of sources which indicat... |
There is a network with $n$ nodes. Each node can contact only the neighbouring nodes (the degree of each node is bounded, if that matters).
One of the nodes, say $s$, wants to know $n$. How can it do this?
Each node has $O(\log n)$ memory bits, so it can hold a counter, but not a list of all nodes.
If the network is a... |
To my understanding,
a dedicated system is a computer system capable of performing 1 specific task
an embedded system is a computer system within a larger system that performs a specific task
Is there a difference that i'm missing or is dedicated system just a more generic term for referring to things like 'file server... |
I need an algorithm to search for substrings. I checked different resources, and it seems that the most known algorithms are the Boyer–Moore and the Knuth–Morris–Pratt.
However, as far as I understand, these operate on "regular" strings, but what I need is a substring search on a circular string.
A circular string as a... |
I am learning about unsupervised machine learning, and am a bit confused regarding different algorithms to update weights. So, I understand that both Oja's Rule and BCM can be used.
In Oja's rule:
dw/dt = k*x*y - w*y^2
Where x is the value at the input neuron, y is the value at the output neuron and w is the connectio... |
I'm not certain I can accurately describe the problem using my knowledge of discrete math, so pardon any inaccuracies. Happy to clarify any part of the question which is unclear.
Given the following constraints:
Two sets, each with 'n' elements: 'donors' and 'recipients'. $|D| = |R| = n $
Each donor has a maximal nu... |
I'm trying to wrap my head around HoTT and can't figure out the intuitive meaning and validity of the univalence axiom. IIUC this axiom says:
UA: ∀ A,B:Type . (A = B) ≃ (A ≃ B)
where X ≃ Y is a shorthand for (X → Y) ∧ (Y → X).
When I take A and B to be propositions, this makes a lot of sense: it basically gives my th... |
I read that visibly pushdown languages are supposed to model the typical simple formal languages like XML better than deterministic context free languages. The visibly pushdown languages can be recognized in LOGSPACE. I wonder whether the well-formed formulas in predicate logic for a given signature are a visibly pushd... |
My algorithm book states that any n-vertex binary tree T can be partitioned by just removing a single edge into two disconnected trees A and B where neither of them has more than 3/4 of the vertices.
It sounds like it should be simple to create such a tree, but I can't imagine one, my bisections are always better balan... |
For $\Sigma = \{a,b\}$, let $S_n = \{w\mid w \in \Sigma^{*} \land |w| = n\}$.
Let $C_n \subset \Sigma^{*}$ be the language of circular strings that contain as substrings all elements of $S_n$.
For instance, $bbaaaababaabbbba \in C_4$
I have formulated the problem of finding the subset of $C_n$, formed by the circular ... |
If I understand right then ESP tree is defined as : given any string $x$ of finite length over an alphabet one can construct "an" ESP tree corresponding to it say $T_x$ such that each leaf of the tree is an element of $x$
Now the above immediately implies that every node in $T_x$ corresponds to some substring of $x$.
... |
In the bounded Integer Knapsack problem, we are given N items of sizes S1 through SN, having values V1 through VN. The problem requires us to find the maximum value that can be attained for a given capacity C, provided we cannot use an already used item twice.
In their book, Introduction to Algorithms, the authors have... |
Say that a language $L$ is a $f$-approximation of a language $L'$ if, for all input lengths $n$, $L$ and $L'$ agree on at least a fraction $f$ of the inputs.
It is known that there are problems in $TIME(n^{3})$ that are not in $TIME(n^2)$. But is it possible that, for every language $L \in TIME(n^{3})$, there is a $.9... |
I'm doing the exercises from the first chapter of the book "Temporal Verification of Reactive Systems Safety" by Manna and Pnueli.
However I find very difficult to solve the point c of problem 0.2.
At point a of problem 0.2 they introduce the program $ANY{-}NAT$. This program has the following propoerties:
All its com... |
I am taking a course on Automaton where I faced the algebraic laws of regular expressions.
First two were ok:
$\emptyset + L = L + \emptyset = L$: Union of a language $L$ with empty language gives the language $L$ itself.
$\epsilon L = L\epsilon = L$: Concatenation of empty string with strings belonging to certain l... |
What is the terminology used for speaking about complexity, when we don't study it asympotically (but exactly) ?
Thank you
|
it is possible to implement insertion sort for sorting linked lists ? will it have the same O(n^2) efficiency as the array version ?
|
Its known that a polynomial time Approximation Algorithm that satisfies 3MaxSAT in 7/8+e clauses implies P=NP. If given that the given 3MaxSAT is satisfiable, it is still difficult to find a 7/8+e clause satisfiability in Polynomial Time.
After learning quiet a few Max3SAT Approximation Algorithms I am still very unsu... |
I have a task where i need to find a problem in which mergesort has to have a runtime of $O(n^2 \log n)$. In our lecture we said that the runtime is $O(n \log n)$ assuming that every comparison is $O(1)$. I think that I have to work with comparison-complexity but I dont know how to create a runtime of $O(n^2 \log n)$ s... |
According to both Wikipedia and my professor (see question 5.1), fractional cascading has to be done on arrays with related data.
The specific question:
A fellow student wants to compactly store A1 and A2 to support efficient range reporting queries on both arrays using a single binary search. He suggest using fractio... |
This question was cross-posted to cstheory.SE here.
Imagine you're a very successful travelling salesman with clients all over the country. To speed up shipping, you've developed a fleet of disposable delivery drones, each with an effective range of 50 kilometers. With this innovation, instead of travelling to each c... |
Using Dijkstra algorithm, how can I find the next shortest path in a directed weighted graph? (When saying next, I mean that the next path must be heavier than the lightest path and not equal). The two paths can have some shared edges.
I thought about storing for each vertex two fathers, and trying to build the second ... |
Given the language $L=\{\alpha \mid M_{\alpha}(x)=x^3$ for all $x\in\{0,1\}^*\}$. Prove using Rice's theorem that $L$ is undecidable.
Rice's theorem: Let $P$ be a set of all computable functions $f:\{0,1\}^*\rightarrow \{0,1\}^*$(i.e all functions which have a corresponding turing machine $M$, such that $M(x)=f(x)$). ... |
After third form normalization, extra tables shall be created. And the functional determinant are used as primary key in the new table, as foreign key in the modified old table. My question is that following this strategy, the referential integrity enforces that when attributes have to be added to the new table before ... |
Knapsack problems, Assignment problems can all be expressed as (MILP) mixed integer linear programs. MILP is NP-complete. But Knapsack problem is solvable in pseudo-polynomial time using dynamic programming and 0-1 assignment problem can be solved using Hungarian algorithm in polynomial time. So what makes a MILP probl... |
I feel like my knowledge of computer science is being hindered by this one concept. I understand the concepts of transistors and how a flow of electricity can turn a transistor on or off, and with the power of logic gates, this can form the foundation of programming. What I do not understand is how these microscopic t... |
Is this a CFL?
$$\{a^n b^m c^k\; : \;k>m \; \; k>n\}$$
When on seeing $a$'s and $b$'s I push them onto stack and as I see $ c$ as input if $ TOS$ is $b$ ,I pop them ,again if $TOS$ is a,I pop them so when my
$TOS$ of stack is empty and input is$ c $,I do not make any changes in the stack and that clearly implies that ... |
The (complexity zoo) description of $NC^1$ says that it is contained in $L$, i.e. $NC^1\subset L$. The description of $SAC^1$ says that it is equal to $LOGCFL$$/poly$, i.e. $SAC^1=LOGCFL/poly$.
The wikipedia article on $LOGCFL$ says that it is situated between $NL$ and $AC^1$. I read this as $NL\subset LOGCFL\subset L... |
If a grammar is of the following form (i.e. all its productions are), is its language regular?
$B → a$ - where $B$ is a non-terminal in $N$ and a is a terminal in $Σ$
$B → aC$ - where $B$ and $C$ are in $N$ and $a$ is in $Σ$
$B → ε$ - where $B$ is in $N$ and $ε$ denotes the empty string, i.e. the string of length 0.
$... |
I am reading Elements of Statistical Learning and read the following claim from the text (page 93, Chapter 3.7):
Least squares fitting is usually done via the Cholesky decomposition of the matrix $\mathbf{X}^T\mathbf{X}$ or a QR Decomposition of $\mathbf{X}$. With $N$ obserations and $p$ features, the Cholesky decompo... |
Doesn't the receiver have to send back an acknowledgement frame?
So how can it send back a frame, since a simplex channel only allows transmission in one direction?
|
Given two strings $x$ and $y$ over the alphabet $\Sigma$ one defines the edit-distance $\text{ed}(x,y)$ as the minimum number of substitutions, insertions and deletions of characters required to transform $x$ into $y$.
If $m = \max ( \text{len}(x),\text{len}(y) )$ then padding with appropriate zeroes on the smaller st... |
I have an unweighted undirected graph with every node connected with an average of two hundred other nodes (nodes are people from social network). What will be the fastest algorithm to find the shortest path from one node to another?
|
The Mandelbrot set is a beautiful creature in Mathematics.
There are a lot of beautiful images of this set created with high precision, so obviously this set is "computable" in some sense.
However, what concerns me is the fact that it is not even recursively enumerable - simply because the set is uncountable. This coul... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.