Questions tagged [machine-learning]

For questions related to machine learning (ML), which is a set of methods that can automatically detect patterns in data, and then use the uncovered patterns to predict future data, or to perform other kinds of decision making under uncertainty (such as planning how to collect more data). ML is usually divided into supervised, unsupervised and reinforcement learning. Deep learning is a subfield of ML that uses deep artificial neural networks.

Filter by
Sorted by
Tagged with
-1
votes
0answers
9 views

Find the distance between two objects from a 45 degree tilted camera images taken from a drone with a specific elevation from the ground

I have a project where i'm supposed to find the distance and the height of a specific object in an image taken by a drone using one camera. I have looked into perspective transformation/correction but ...
1
vote
0answers
28 views

Generating fake faces containing specific features with GANs

I'm trying to understand how DeepFakes are generated and so far I understood that they're mostly generated through the usage of GANs and autoencoders. The autoencoders part is understandable, but what ...
0
votes
0answers
23 views

Which models can I use for supervised learning with images?

I have to do a project that detects fabric surface errors and I will use machine learning methods to deal with it. I have a dataset that includes around six thousand fabric surface images with the ...
1
vote
0answers
29 views

How to use unmodified input in neural network?

My question may be a bit hard to explain... My neural network learns a categorical distribution, which serves as an index. This index will look up the value (= action_mean) in Input 2. From this ...
-1
votes
0answers
24 views

World map country capital location finder with images [closed]

Is it possible using AI, Machine learning algorithms, image recognition & computer vision technologies to trace the capital of the country given the dataset input of world map images with ...
0
votes
0answers
13 views

Utilizing continuous variables in concept learning algorithms

Suppose I'm using the Spambase dataset, with 57 real continuous variables and one binary label, and I'd like to implement the Find-S or LGG or similar algorithms. How do I represent the dataset for ...
-1
votes
0answers
19 views

Impact of normalisation vs standardisation on classification methods results [closed]

I am currently comparing 6 classification methods. I am trying to figure the impact of normalisation of the data on the test results. I am puzzled by the fact that some methods produce the same ...
0
votes
0answers
31 views

Can anyone recommend me a very good pre-trained model for face or head detection? [closed]

I really need to know the best pre-trained models to detect faces and/or peoples' head. Not a face recognition model, but only to classify whether an object is a person's head/face or not. I'm ...
0
votes
1answer
17 views

Which machine learning technique can I use to match one set of data points to another?

I have two measuring devices. Both measure the same thing. One is accurate, the other is not, but does correlate with a non-fixed offset, some outliers, and some noise. I won't always be using the ...
1
vote
1answer
26 views

How to compute dominant colors in an image?

I was trying Google Cloud's Vision API, and how the dominant colors part shows. I uploaded a sample image, and here is the results for the dominant colors. I realized it doesn't simply count pixel ...
0
votes
0answers
20 views

Find repeating patterns in sequence data

I have database of sequential events for multiple animals. The events are represented by integers so it looks something like: ...
0
votes
1answer
30 views

Difference between Neural Compute Stick 2 and Google Coral USB for edge computing [closed]

I am trying understand machine learning inferece, and i would like to know what exactly is the difference between Google Coral USB and Movidius Intel Neural Compute Stick 2. From what i could gather ...
-2
votes
0answers
16 views

What is Machine Learning. Provide a layman analogy too if possible [duplicate]

The way I see it Normally, when we program a computer, we tell it what to do with our data. It's like telling a kid to do as instructed but in this case, we give the computer data along with the ...
1
vote
0answers
28 views

Which ML approach could determine that a number greater than 5 is not prime, knowing that a number is not prime if it ends with an even digit or 5?

I have started studying ML just a short while ago, so that my questions will be very elementary. That being so, if they are not welcome, just tell me and I'll stop asking them. I gave myself a ...
4
votes
1answer
85 views

Can models get 100% accuracy on solved games?

I had a question today that I feel it must have an answer already, so I'm shopping around. If we ask a model to learn the binary OR function, we get perfect accuracy with every model (as far as I know)...
1
vote
0answers
38 views

Where can I find pre-trained agents able to play games with multiple stages like exploration, dialog, combat?

My goal is to create an ML model to be able to classify different game stages, e.g., dialog with a non-player character, exploration, combat with enemy, in-game menu etc. In order to do that, I am ...
1
vote
1answer
48 views

Can most of the basic machine learning models be easily represented as simple neural network architectures?

I am currently studying the textbook Neural Networks and Deep Learning by Charu C. Aggarwal. In chapter 1.2.1 Single Computational Layer: The Perceptron, the author says the following: Different ...
0
votes
0answers
6 views

Convert tensorflow model into a matrix [migrated]

Suppose we have trained a neural network with Tensorflow. I know that deep learning is like finding the best matrix of weights. So is there anyway to convert the trained model into the matrix (lets ...
1
vote
0answers
18 views

Is case-based-reasoning a machine learning technique?

A few years ago when I was in university, I had implemented (for my final year project) an Itinerary Planning System, which incorporates an AI technique called "case-based reasoning". Is ...
0
votes
0answers
41 views

End to End Reinforcement Learning without Reward

I have the following scenario: Agent: ANN outputs a binary vector $A_t= [a_1, a_2, ..a_n]$ Environment: Outputs States and Rewards, in which: Each state $S$ is derived from the rewarding function. ...
0
votes
0answers
14 views

Is there a way to import custom Reinforcement Learning Models into Unity? [migrated]

Unity provides two RL algorithms to train agents: PPO and SAC. I have been searching for weeks now on how to write my own algorithms and only found a mention of a gym-unity wrapper that wraps Unity ...
1
vote
0answers
40 views

How to design my Neural Network for Game AI

For my school project, I have to develop an agent to play my game. The base I have is a 'GameManager' which call 2 AIs, each taking a random move to do. To make my AI perform, I decided to make a ...
1
vote
0answers
36 views

How am I supposed to code equation 4.57 from the book “Machine Learning: An Algorithmic Perspective”?

Consider the equation 4.57 (p. 108) from section 4.6 of the Book Machine Learning: An Algorithmic Perspective, where the derivative of the softmax function is explained $$\delta_o(\kappa) = (y_\kappa -...
-1
votes
0answers
26 views

Which specific machine learning techniques are used in healthcare and medicine research?

As I know, machine learning is used in healthcare and medicine research, but which specific ML techniques are used in those fields? Please, provide a link to a research paper (or a reliable article) ...
1
vote
1answer
41 views

Should we also shuffle the test dataset when training with SGD?

When training machine learning models (e.g. neural networks) with stochastic gradient descent, it is common practice to (uniformly) shuffle the training data into batches/sets of different samples ...
1
vote
0answers
21 views

Can any area of math come into play in Machine Learning Research?

As I read online following areas in mathematics comes into play in ML research Linear Algebra Calculus Differential Equations Probability Statistics Discrete Mathematics Optimization Analytic ...
1
vote
0answers
28 views

Can XGBoost solve XOR problem?

I've read that decision trees are able to solve XOR operation so I conclude that XGBoost algorithm can solve it as well. But my tests on the datasets (datasets that should be highly "xor-ish"...
0
votes
0answers
13 views

How would named recognition and entity linking interface with subsequent machine learning model?

I have a database containing summary of the movie, the price of the movie, location, language. I would like to make a prediction on 'like' based on previous like of a user. I am wonder how the output ...
0
votes
0answers
33 views

Is the “mlpconv” layer in the “Network in Network” paper computing $1 \times 1$ convolutions or not?

I am reading the Network in Network paper. This is the equation they introduce for their mlpconv layer (equation 2 in the paper, page 3): $$ \begin{aligned} f_{i, j,...
0
votes
1answer
30 views

How to manually draw a $k$-NN decision boundary with $k=1$ given the dataset and labels?

How to manually draw a $k$-NN decision boundary with $k=1$ knowing the dataset the labels are and the euclidean distance between two points is defined as
0
votes
1answer
45 views

Are there any rules for choosing batch size? [duplicate]

I am training a CNN with a batch size of 128, but I have some fluctuations in the validation loss, which are greater than one. I want to increase my batch size to 150 or 200, but, in the code examples ...
1
vote
0answers
26 views

How do I derive the gradient of the log-likelihood of an RBM?

In a Restricted Boltzmann Machine (RBM), the likelihood function is: $$p(\mathbf{v};\mathbf{\theta}) = \frac{1}{Z} \sum_{\mathbf{h}} e^{-E(\mathbf{v},\mathbf{h};\mathbf{\theta})}$$ Where $E$ is the ...
1
vote
1answer
81 views

Applications of Information Theory in Machine Learning

How is information theory applied to machine learning, and in particular to deep learning, in practice? I'm more interested in concepts that yielded concrete innovations in ML, rather than theoretical ...
1
vote
1answer
40 views

What is the reason for taking tuples as vectors rather than points?

Across the literature of artificial intelligence, especially machine learning, it is normal to treat the tuples of datasets as vectors. Although there is a convention to treat them as data points. ...
2
votes
1answer
25 views

Support Vector Machine Convert optimisation problem from argmax to argmin

I'm new to the AI Stackexchange and wasn't certain if this should go here or to Maths instead but thought the context with ML may be useful to understand my problem. I hope posting this question here ...
-1
votes
0answers
20 views

What would be a suitable loss function to solve the problem of partitioning an array into sub-arrays?

I have a long segment/array (e.g. 100000 samples) as input. Regardless of the method, I need to output a partition of this segment into $k$ sub-segments, which do not overlap, and whose union can but ...
0
votes
0answers
25 views

Transforming neural network target values before training

Consider the scenario in which I am measuring certain $f(a,x)$, which i want to be the target value for some related input $g(a,x)$. In other words, I am trying to map $$g(a,x)\Rightarrow f(a,x)$$ I ...
1
vote
1answer
160 views

Why are there two versions of softmax cross entropy? Which one to use in what situation?

I have seen 2 forms of softmax cross-entropy loss and are confused by the two. Which one is the right one? For example in this Quora answer, there are 2 answers: $L(\mathbf{w})=\frac{1}{N} \sum_{n=1}^...
0
votes
0answers
37 views

How can I determine the k-NN's hyper-parameters and their range that significantly influence the outcome of classification?

Algorithm: Classification by k-nearest neighbors with Euclidean distance (neighbors.KNeighborsClassifier). Determine the important hyperparameters (2 maximum) that can significantly influence ...
2
votes
1answer
35 views

Is there an equivalent model to the Hidden Markov Model for continuous hidden variables?

I understand that Hidden Markov Models are used to learn about hidden variables $z_i$ with the help of observable variables $\xi_i$. On Wikipedia, I read that while the $\xi_i$'s can be continuous (...
0
votes
0answers
14 views

Extracting specific information from an Invoice images

Tried to extract only specific information from the images but Couldn't, We have to automate this process using this as the format of the Images keeps on changing. LinkSample data What I have Tried: <...
1
vote
1answer
14 views

How do LSTMs work if the following two matrices are not able to be multiplied?

In the above diagram, the shape of some of the matrices can be seen in the yellow highlight. For instance: The hidden state at timestep t-1 ($h_{t-1}$) has shape $(na, m)$ The input data at timestep t ...
2
votes
0answers
21 views

how to handle highly imbalanced multilabel classification?

I am working on a multilabel classification in which I am having 206 labels. When I saw the percentage of the number of 1's in each label they are way less than 0.1% for each label. The maximum ...
1
vote
1answer
66 views

Why does the training time of SVMs dramatically decrease after applying dimensionality reduction to the features?

Training an SVM with an RBF kernel model with c = 5.5 and gamma = 1.06, for a 5-class classification problem on the NSL-KDD ...
2
votes
1answer
67 views

What is the difference between neural networks and other ways of curve fitting?

For simplicity, let's assume we want to solve a regression problem, where we have one independent variable and one dependent variable, which we want to predict. Let's also assume that there is a ...
1
vote
1answer
39 views

Should the range and initial values of weights and biases be adjusted to fit input and output data?

As a routine (in typical everyday tasks) of a data scientist, should they usually decide about weights and biases range and initial values as a function of which data they are planning to insert as ...
0
votes
0answers
30 views

Bigger models get higher losses

I'm training a model with the transformer encoder architecture on a given fixed set of data. The task I'm solving has a trivial approximation which consists in copying part of the input to the output, ...
0
votes
1answer
33 views

Computer vision - Can you put more weight on a specific part of the object?

Let's say I'm looking for any item that has a certain shape (outline) in a photo. but I can further classify it only according to particular features, that most of them are expected to be shown only ...
1
vote
1answer
52 views

How does back-propagation through time work for optimizing the weights of a bidirectional RNN?

I am aware that back-propagation through time is used for training the recurrent neural network. But I am not able to understand how this happens for the bi-directional versions of the recurrent ...
2
votes
0answers
18 views

What is the difference between text-based image retrieval and natural language object retrieval?

I'm working on creating a model that locates the object in the scene (2D image or 3D scene) using a natural language query. I came across this paper on natural language object retrieval, which ...

1
2 3 4 5
35