All Questions

Filter by
Sorted by
Tagged with
0 votes
0 answers
2 views

Obtaining canonical example sentences from an embedding

How do I obtain the best representative sentence for a single sentence embedding vector? I have a corpus of 30k articles, for which I have use the OpenAI API to find embeddings using ...
Thomas Browne's user avatar
0 votes
0 answers
3 views

Advice on Handling Variable Input Sizes in a Neural Network Model for Predicting Football Match Outcomes

I am developing a machine learning model aimed at predicting football match outcomes based on past team performances. The model incorporates data from the last 10 home games for the home team and the ...
Drk's user avatar
  • 1
0 votes
0 answers
6 views

Fuse Feature Vector in image classification?

Currently, i'm processing a image classification problem about facial emotional classification. I am using 2 extract methods: HOG and Facial Landmark. My idea is using HOG to find the gradient ...
Phan Phước's user avatar
1 vote
1 answer
13 views

What do we mean AI is correlated

"Causal AI is a technique in artificial intelligence that builds a causal model and can thereby make inferences using causality rather than just correlation. One practical use for causal AI is ...
quanity's user avatar
  • 111
0 votes
0 answers
4 views

How To Resolve This Error

I have a cell here in google colab: And here is the error message: I don't really understand how to resolve this error. Could someone help me understand how to fix this? Any help is greatly ...
zed's user avatar
  • 1
0 votes
0 answers
4 views

Soft Actor Critic policy update depending on q function in discrete action space

Reference: https://spinningup.openai.com/en/latest/algorithms/sac.html In the psuedo-code of the algorithm, line 14, the actor update is written as to maximize the q-function. Theoretically, this ...
moe asal's user avatar
  • 133
0 votes
0 answers
9 views

Best way to classify chess pieces on a chessboard (on a square) [more details in the post]?

Ok, so I am working on a project which classifies chess pieces. The input is just a chess piece from a specific chess set on a white / black square on the chessboard. So it's just an image of a chess ...
vct12345's user avatar
0 votes
0 answers
14 views

How can I improve these reinforcement learning reward functions?

I am working for the very first time to a RL problem. More in details, I am working with a 3DOF model of a buisness jet aircraft. The environement is made up by the aircraft model + the two PID ...
leo95nf's user avatar
0 votes
0 answers
4 views

How does BERT know how to where to add segment embeddings (i.e. to differentiate between two sentences packed in a single token sequence)

In addition to using a special [SEP] token to distinguish between two sentences, I understand that BERT also adds special learned embeddings to each sentence: "we add a learned embedding to every ...
shan's user avatar
  • 1
0 votes
1 answer
12 views

How does the Clustering algorithm comes up with the name for each cluster?

Currently I'm studying different types of of machine learning and I came across the subject Clustering....As I understand clustering identifies similarities between observations based on their ...
Brandon Michael Hunter's user avatar
0 votes
0 answers
8 views

Incredibly High CrossEntropyLoss in Sequence-to-Sequence Generation

I'm trying to do SMILES chemical representation prediction from a large dataset (Around 5M Samples) to teach it do predict another downstream task. The model's part responsible for generating the data ...
Vivek Joshy's user avatar
0 votes
1 answer
16 views

What is $z|y$ in Conditional Adversarial Nets?

I am currently going through Conditional Adversarial Nets (CGANs) and the modified objective function of the two-player minimax game is stated as follows: $$\min_G \max_D V(D, G)=\mathbb E_{x\sim p_{...
insipidintegrator's user avatar
0 votes
0 answers
2 views

How to choose segment in Grouped AUC metric?

Background In Binary Classification, AUC is a common metric. However, Group-AUC performs better in some scenario, such as we use AUC grouped by user in recommendation systems. In the below examples, I ...
Travis's user avatar
  • 101
0 votes
0 answers
19 views

How is the complexity of the chunked attention computation in "Self Attention Does Not Need O(n2) Memory" independent from the query chunks size?

In Self-attention Does Not Need O(n{2}) Memory the authors present a say to have a constant memory complexity attention algorithm that is sequential in nature and also present an implementation that ...
Daviiid's user avatar
  • 575
0 votes
1 answer
18 views

How would I approach finding the source code for the paper that is being discussed in this article?

I have read a news article relating to recent research into graph theory-based fraud detection using machine learning, but cannot find the source code for the paper discussed. The paper can be found ...
Rasai Stewart's user avatar
-2 votes
0 answers
19 views

Advantage of Monte Carlo Tree Search over Rollout

Why should the action chosen by Monte Carlo Tree Search tend to be better than the action the underlying rollout policy would choose?
DSPinfinity's user avatar
0 votes
1 answer
29 views

Why Tokenization Algorithm replace space with underscore "_"?

I have recently read an article for Byte-Pair Encoding (BPE), in which they have replaced space with an underscore(_), or we can say, adding underscore after each word/token. I did not understand the ...
Aamod Thakur's user avatar
0 votes
0 answers
12 views

NLP based JSON generator - Part 3 [closed]

a newbie here. Here's the problem statement: Generate a JSON based rule for a given text. The JSON being generated is not a random JSON but based on a tool that accepts well defined JSON based grammar....
SQLProfiler's user avatar
0 votes
0 answers
15 views

NLP based JSON generator - Part 2

a newbie here. Here's the problem statement: Generate a JSON based rule for a given text. The JSON being generated is not a random JSON but based on a tool that accepts well defined JSON based grammar....
SQLProfiler's user avatar
0 votes
0 answers
12 views

Good material suggestion for self-study of Monte Carlo Tree Search

Monte Carlo Tree Search is poorly explained and details are not given in Chapter 8 of Sutton-Barto (page 185). I would be happy for suggestion of good material for self-learning of this subject (...
DSPinfinity's user avatar
1 vote
0 answers
20 views

How a MLP learns from images and boundaries of its capabilities

(Sorry, I'm not very experienced with ML and I apologize if these questions are vague, naive, or not written well. I also moved this from CV to here.) I think I understand that a MLP learns (via ...
riley's user avatar
  • 11
0 votes
0 answers
15 views

Single text embedding vs. bool[] for feature(s)?

I am creating a recommendation engine to recommend events (similar to meetup.com). Each event has 1 Interest and 0..N Tags (the tags are similar to SO tags). Should I enter these as a single text ...
David Thielen's user avatar
0 votes
0 answers
28 views

Model for NLP based JSON generator

a newbie here. Here's the problem statement: Generate a JSON based rule for a given text. The JSON being generated is not a random JSON but based on a tool that accepts well defined JSON based grammar....
SQLProfiler's user avatar
0 votes
0 answers
16 views

What is a suitable measure to determine whether a superimposed line is on a grid line?

I have an image of a rotated grid. This grid has slightly darker pixels which I'm trying to detect. Due to the nature of the problem, my solution is to superimpose a grid onto the image which I can ...
MCE_Dia's user avatar
1 vote
2 answers
39 views

tic-tac-toe - tabular q-learning - what is the formula to calculate the number of entries in the q-table

i implemented the tabular q-learning algorithm for 3x3 tictactoe multiple times and everytime the number of entries in the q-table is 16,167. I wanna know how to calculate the number of 16,167. what ...
Hans123's user avatar
  • 23
0 votes
0 answers
13 views

Why is the Cosine Similarity Low in My Semantic Engine Using Cohere?

I want to create a semantic engine. I'm using cohere in this way, but it seems to me that the cosine_similarity is too low in this example: ...
Pietro Putelli's user avatar
0 votes
0 answers
13 views

Proof that Temporal-Difference TD(1) is Equivalent to Widrow-Hoff

I'm reading Sutton's "Learning to Predict by the Methods of Temporal Differences" and I'm getting hung up on a derivation (p. 14). We are considering (observation-sequence, outcome) pairs. $[...
Matheo Xenakis's user avatar
0 votes
1 answer
31 views

How do neural-network chess engines select moves?

After the network is trained, how is a move selected in various neural-network chess engines? I have seen several options like, go through every possible move and pick the one scored highest by the ...
Manu's user avatar
  • 101
0 votes
0 answers
24 views

Segment a spectrogram into a series of images by (constant) beats per minute to train a Deep Neural Network

I have a .csv file with information about a soundtrack and it is divided into beats (per minute), which are ordered by row. As in: the index corresponds to each beat, and the columns have info about ...
Johnathan Smitherton's user avatar
0 votes
0 answers
43 views

AI capable of mathematical creation? (reference request)

I was studying philosophy of AI when a question came to my mind. I'd like to write an essay (both informative and argumentative) about the state of the art in Artificial Intelligence advancing the ...
Amanda Wealth's user avatar
-1 votes
1 answer
26 views

Creating a replacement for backpropagation through evolution

Can we create a learning algorithm that solves all the problems of backpropagation through evolution?
Display name's user avatar
0 votes
0 answers
30 views

What are the update equations for Double Expected Sarsa with an $\epsilon$-greedy target policy?

This is question 6.13 in Sutton-Barto,page 136. What are the update equations for Double Expected Sarsa with an $\epsilon$-greedy target policy? The answer is given as follows: Let $Q_1$ and $Q_2$ ...
DSPinfinity's user avatar
0 votes
2 answers
22 views

Can't the loss function be used as a fitness function?

Can't the loss function used in backpropagation be used as a fitness function in an evolutionary algorithm?
Display name's user avatar
0 votes
0 answers
23 views

GPT Vision vs OCR & GPT text [closed]

I’m using GPT4 to create calendar events from a screenshot of a conversation. What’s better: Use GPT with vision and prompt Use OCR to pull out all text and then use a GPT text model
DD.'s user avatar
  • 101
-1 votes
0 answers
8 views

Data presentation graduality and presentation graduality (pages) speed of depth (how fast the data in pages is presented) [closed]

I would like to ask, how does artificial intelligence navigate knowledge, to determine the most suitable, presentation, and presentation gradualità, of data. In books, normally, diagram present a ...
Joselin Jocklingson's user avatar
-2 votes
0 answers
13 views

Eliminating images from AI responses in ChatGPT [closed]

I am using chatgpt to reason and memorize. However, as of lately it seems to be forcing me to use a chat with images. However, images, means I must immerse myself in the symbolic content of the image, ...
Joselin Jocklingson's user avatar
0 votes
0 answers
7 views

Why people always use l2 loss in Neural Tangent Kernel and other neural network theory?

What if we use l1 loss? I attempt to use NTK to get the convergence rate of a NN. Here is the original l2 loss version: https://rajatvd.github.io/NTK/. When I relpace it to l1 loss, I find the ...
orbin Lee's user avatar
0 votes
0 answers
15 views

How are experienced and learned situations being stored?

Memorized events or experienced situations can really vary. The fact is that computer memory is a shadow of human intelligence. Therefore, humans could not disclosure human-beings' brain completely, ...
cell's user avatar
  • 1
-1 votes
1 answer
64 views

Violation of Markov property

Consider the following cases: a-) In solving an episodic problem we observe that all trajectories from the start state to the goal state pass through a particular state exactly twice. b-) In solving ...
DSPinfinity's user avatar
0 votes
1 answer
39 views

Confusing statement in Sutton-Barto on trajectory sampling

Suuton-Barto, page 176: experiment to assess the effect empirically. To isolate the e↵ect of the update distribution, we used entirely one-step expected tabular updates, as defined by (8.1). In the ...
DSPinfinity's user avatar
0 votes
0 answers
24 views

Structure and parameters of modern AI-baed chess engines

I understand some recent chess engines (like alphazero or muzero) are based on neural networks. This question is not specific to chess, any other game (e.g. go) would do, but I keep chess for ...
Manu's user avatar
  • 101
3 votes
1 answer
148 views

Can we implement a memory in a REINFORCE algorithm for RL?

In Q-learning with function approximators such as Neural Networks, we typically implement a memory so that at the end of each episode we also train on past experiences. This is typically fine because ...
FluidMechanics Potential Flows's user avatar
1 vote
1 answer
43 views

Why do we need complex neural network designs?

If we have a sufficient number of columns (features) and a sufficient number of rows (length or volume) in a dataset that can describe a system without redundancy, we can even train a simple MLP ...
user366312's user avatar
0 votes
0 answers
26 views

Confusing statement in Sutton-Barto on expected versus sample updates

Sutton-Barto, page 174. b successor states are equally likely and in which the error in the initial estimate is 1. The values at the next states are assumed correct, so the expected update reduces ...
DSPinfinity's user avatar
-1 votes
1 answer
49 views

Can anyone please explain the Recurrent Neural Network calculation shown in the picture?

As you can see, this is a recurrent neural network. I want to understand how the calculations are being made. Please, be as detailed as possible no matter how simple or self-explanatory the ...
Syed_Hamza_Akbar_Ali's user avatar
0 votes
0 answers
13 views

What is the main way of using ns3-ai to develop DQN algorithms? How does python interact with NS3 in this case?

0 I am currently researching the topic of using ML algorithms for Rate Adaptation (RAA) in wireless networks, specifically 802.11ax. My research objective is to demonstrate the capability and ...
Husain's user avatar
  • 1
0 votes
0 answers
23 views

Are there LLMs that are allowed time to contemplate freely?

We can call it "time to think", or "free contemplation", or whatever. Maybe a term already exists in the field? What I mean is - with so many LLMs being "trained" on ...
Mentalist's user avatar
  • 101
0 votes
0 answers
14 views

How Does AI-Generated Content Differ From Human-Written Content?

How Can I Determine if a Piece of Content Has Been Generated by AI?
Micky E.'s user avatar
0 votes
0 answers
8 views

Is it Possible to fit a sklearn model using a excel spreadsheet

hi i am new to this community, but i came up with this curiosity as i am having an embedded board to train a sklearn i have nvidia jetson tx2 with 256 nvidia cuda cores so inorder to take less load in ...
Ashok's user avatar
  • 1
0 votes
0 answers
11 views

Reinforcement Learning Gymnasium ValueError

I am testing out reinforcement learning for the first time with gymnasium. I am following a youtube tutorial. I am getting the following error when I run the training loop: ValueError: setting an ...
Sheila's user avatar
  • 1

15 30 50 per page
1
2 3 4 5
252