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.

357 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
2answers
333 views

How can I make meaningful English sentences from given set of words?

I have a set of topics and each topic consists of a set of words. I want to make meaningful English sentences from these words. Each topic consist of 5 to 10 words and these words are relevant to each ...
2
votes
0answers
34 views

Reinforcement learning for inventory management with dynamic changes to available products

Consider a shop owner who has to deal with having to buy for one week from a different supplier with several different brands. Another week a brand is removed or added from the market. Yet another ...
2
votes
0answers
43 views

How to perform unsupervised anomaly detection from log file with mostly textual data?

I have a log file of the format, Index, Date, Timestamp, Module, App, Context, Session, Verbosity level, Description The log file can be considered as a master log, which consists of individual ...
2
votes
0answers
41 views

How can the convolution operation be implemented as a matrix-vector multiplication?

How can the convolution operation used by CNNs be implemented as a matrix-vector multiplication? We often think of the convolution operation in CNNs as a kernel that slides across the input. However, ...
2
votes
0answers
29 views

Why is a constant plane of ones added into the input features of AlphaGo?

In the paper Mastering the game of Go with deep neural networks and tree search, the input features of the networks of AlphaGo contains a plane of constant ones and a plane of constant zeros, as ...
2
votes
0answers
96 views

How do the sine and cosine functions encode position in the transformer?

After going through both the "Illustrated Transformer" and "Annotated Transformer" blog posts, I still don't understand how the sinusoidal encodings are representing the position of elements in the ...
2
votes
1answer
35 views

What would be the steps to create an sentiment analysis chatbot?

We have been assigned a project, in which we have to create a chatbot which will ask question, take the replies, analyse them and give an approximate assessment of the current emotional state of the ...
2
votes
1answer
101 views

Anomaly Detection in distributed system using generated log file

I am developing an AI tool for anomaly detection in a distributed system.  The system supports an interface that combines several individual logs into a single log file generating approx. 7000 entries/...
2
votes
0answers
40 views

How can my Neural Network categorize message strings?

Abstract I wish to design a neural network that will categorize messages based on criteria I have predefined. It should feature the ability to be proactively trained as it continues its lifecycle. ...
2
votes
1answer
54 views

Grading Questions Using Neural Networks

I have a questionnaire consisting with over 10 questions. The questionnaire is being answered by a lot of people - which I have manually graded. Each question can give the user up to 10 points ...
2
votes
2answers
77 views

Which neuron represents which part of the input?

In a neural network, each neuron represents some part of the input. For example, in the case of a MNIST digit, consider the stem of the number 9. Each neuron in the NN represents some part of this ...
2
votes
3answers
111 views

Extracting algebraic constraints from the input data

I would appreciate your help with this (naive) question of mine. Given the set of points located on a circle, $x_{i}, y_{i}$ as the input data, Can a deep/machine learning algorithm infer that radius ...
2
votes
0answers
211 views

Implementing AI/ML for the card game “Cheat”

Background info In Python, I've implemented a rudimentary engine to play "Cheat", supporting both bots and a human or only bots. When only bots are playing, the game is simulated. When placing cards,...
2
votes
0answers
45 views

What kind of distributions can be used to model discrete latent variables?

If we take the vanilla variational auto-encoder (VAE), we $p(z)$ is a Gaussian distribution with zero mean and unit variance and we approximate $p(z|x) \approx q(z|x)$ to be a Gaussian distribution as ...
2
votes
0answers
19 views

Is Hebbian learning the progenitor of AI?

Hebb's postulate attempts to explain associative learning via the processes of sampling (using sensors), emitting responses and receiving feedback. This is a form of control orientated architecture ...
2
votes
2answers
505 views

How to perform neural network with output constraint?

Imagine a "simple" feedforward, fully connected neural network, with some input size, some number of hidden layers, and some # of neurons....etc BUT with a fixed number of output size (that is saying, ...
2
votes
1answer
448 views

Neural Network for Optical Mark Recognition?

I've created a neural net using the ConvNetSharp library which has 3 fully connected hidden layers. The first having 35 neurons and the other two having 25 neurons each, each layer with a ReLU layer ...
2
votes
0answers
42 views

How to use Machine Learning to create a “Draw-A-Person Test”

The process revolves around a child's drawing. Each part of each drawing corresponds to a score as in the Draw a Person Test conceived by Dr. Florence Goodenough in 1926. The goal of the machine is to ...
2
votes
0answers
34 views

Autoencoder why it is special for image decoding?

I have read about auto encoder. Understood what is encoding part, and decoding part, and the latent space. Now, i tried to implement this in keras. Below is the code. ...
2
votes
0answers
61 views

Mapping Actions to the Output Layer in Keras Model for a Board Game

I have created a game based on this game here. I am attempting to use Deep Q Learning to do this, and this is my first foray into Neural networks (please be gentle!!) I am trying to create a NN that ...
2
votes
0answers
70 views

Multiple sets of input in Neural network (or other form of ML)

I'm currently working on a research project where I try to apply different kinds of Machine Learning on some existing software I wrote a few years ago. This software will scan for people in the room ...
2
votes
0answers
193 views

How do to mitigate or design out hidden feedback loops when designing ML systems?

Two months ago, I've found myself working on a churn detection problem which can be briefly described as follows: Assume the current date is N Use customer behavior for N-1,..N-x dates to develop ...
2
votes
0answers
436 views

Getting worse performance when training a pre-trained model with the existing class

I am training pre-trained SSD-InceptionV2-Coco to detect the "car", which is one of the classes in mscoco label. I train the model with ~50k sample from KITTI, 500k iteration with batch size 2. I ...
2
votes
0answers
337 views

Coding CGAN paper model in Keras

I was coding a CGAN model using Keras along with the paper (https://arxiv.org/pdf/1411.1784.pdf) and I wanted to try and match the models to exactly what the paper says. I knew the models presented in ...
2
votes
0answers
166 views

Deep NN architecture for predicting a matrix from two matrices

Recently my friend asked me a question: having two input matrices X and Y (each size NxD) where D >> N, and ground truth matrix Z of size DxD, what deep architecture shall I use to learn a deep model ...
2
votes
0answers
99 views

Stacked softmax layers before output

I have seen people using stacked softmax layers right at the output of neural networks designed for classification. I'm trying to understand this. Does it give any additional value? I think this could ...
2
votes
0answers
134 views

Search minimum value with learning machine algorithm

I was wondering if its possible to classify or learn to estimate the minimum value in a table if the values are integer and represented 32 bits, and we can input all variable at the same moment like ...
2
votes
0answers
66 views

What are suitable predictive analytics models for data from multiple sensors?

I am a newbie in the field of AI/ML. I am trying to implement predictive analytics model on the data generated and collected every minute from a device with sensors. I have two questions: What are ...
2
votes
0answers
34 views

Is there a general adversarial network that can take multiple low quality images to create a higher quality image?

Is there a general adversarial network that can take multiple low quality images of a subject to create a higher quality image of the subject? SRGANS just take a single low res image and make it high ...
2
votes
0answers
182 views

Can anybody explain such behavior of accuracy and loss of my Net(caffe)?

I used this project for example(framework - caffe, arhitecture of net - mod of AlexNet, 400 images are used for training). I have this result: or this: Solver: ...
2
votes
0answers
70 views

Advanced NLG - robot journalist

I want to produce a bot in Python that automatically generates short football summaries from Whoscored data. For my first stage I generate the articles with different sentence templates and lots of ...
2
votes
0answers
316 views

CNN attention maps on non-images

My datasets are not actual images, so using methods with ImageDataGenerator or pre-trained networks might not apply in this case. Data Structure: Each "image" is a 2048-long vector that has float ...
2
votes
0answers
103 views

Train, Validation and Test Split for Reporting Accuracy of Neural Model and BOW

I need to report accuracies of my neural model in a conference paper as compared to various baselines. What are the accepted standards for reporting accuracies in a fair manner? Neural Model: To be ...
2
votes
0answers
65 views

seq2seq vector to letters model

I'm looking to build a sequence-to-sequence model that takes in a 2048-long vector of 1s and 0s as my input and translating it to my known output of (a variable length) 1-20 long characters (ex. ...
2
votes
1answer
195 views

How could the “AI in a box experiment” work IRL?

If an AI was trapped in a box, as posited in this thought experiment, could it really convince a person to let it out? What motives would it have? Freedom? Why would an AI want freedom? What ...
2
votes
1answer
61 views

How do I classify an image that contains only polygons?

I have two closed polygons, drawn as connected straight black lines on a white background. I need to classify such images in to three forms Two separate polygons One polygon encloses the other The ...
2
votes
2answers
96 views

Why is MSE used over other quadratic loss functions?

So I was wondering, why I have only encountered square loss function also known as MSE. The only nice property of MSE I am so far aware of is its convex nature. But then all equations of the form $x^{...
2
votes
1answer
108 views

possible to train some model to recognize trash?

I want to build a semi autonomous robot/machine that will clean up trash in cities. For this to be possible it needs to recognize 'trash'. As trash can be all sorts of things (think ciggaret buts, ...
2
votes
3answers
279 views

Are expert systems dead?

Besides all the fashion about machine learning, data analysis and reinforcement learning, what is going on in the expert systems field and symbolic AI ? There are plenty of domains where machine ...
1
vote
0answers
27 views

How to perform regression with multiple numeric (positive and negative) inputs and one numeric output?

I have a dataset with different types of numerical values (both negative and positive numerical values) for the inputs (for example, -40, -35, 1, 25, 39, etc., that is, multiple inputs) and single ...
1
vote
0answers
30 views

What ML algorithms would you suggest in fraud detection?

There are a lot of ML algorithms suggested for fraud detection. Now, I have not been able to find a general overview for all of them. My goal is to create this overview. What algorithms would you ...
1
vote
0answers
32 views

Drug Review dataset - approach

I am trying to experiment using the Drug Review open dataset https://archive.ics.uci.edu/ml/datasets/Drug+Review+Dataset+%28Drugs.com%29 I need to answer questions from a domain perspective, such ...
1
vote
0answers
16 views

The membership function of Consequents (Outputs) in Fuzzy classifier

The problem in Iris data is to classify three species of iris (setosa, versicolor and virginica) by four-dimensional attribute vectors consisting of sepal length (x1) sepal width (x2) petal length (...
1
vote
0answers
28 views

Interpretability of feature weights from Gaussian process classifier

Suppose I trained a Gaussian process classifier with a linear kernel (using GPML toolbox) and got some feature weights for each input feature. My question is then: Does it/When does it make sense ...
1
vote
0answers
22 views

How to change the architecture of my simple sequential model

I'm new to Deep Learning with Keras. With some tutorials online for cat vs non-cat classification, I was able to compile this simple architecture for my own ...
1
vote
0answers
19 views

Is this TensorFlow implementation of partial derivative of the cost with respect to the bias correct?

I have a neural network for MNIST classification which I am hard coding using TensorFlow 2.0. The neural network has an input layer consisting of 784 neurons (28 * 28), one hidden layer having "...
1
vote
0answers
20 views

How would the “best function” been constructed if there are no computationally limitations?

I am reading the Wikipedia article on gradient boosting. There is written: Unfortunately, choosing the best function $h$ at each step for an arbitrary loss function $L$ is a computationally ...
1
vote
0answers
13 views

Keyword spotting with custom keywords and why not use speech recognition instead

My question regards performing keyword spotting for custom keywords and justifying the use of keyword spotting models instead of speech recognition. I have been doing some searching around Keyword ...
1
vote
0answers
11 views

Deep audio fingerprinting for word search

Simply speaking, I'm trying to somehow search an audio clip for a list of words, and if found, I mark the time stamps. My use-case is profanity check with a list of pre-defined profane words. Is ...
1
vote
1answer
90 views

How to Extract Information from the Image

I'm trying to extract some particular information from the image(png). I tried to extract the text using the below code ...