Questions tagged [machine-learning]

Questions about computer algorithms that automatically discover patterns in data and make good decisions based on them.

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

Sckit regression on power set of data [closed]

How do I run linear regression on every subset of dataframe in a loop with Linear Regression of scikit-learn? ...
0
votes
0answers
9 views

How does the BERT model (in Tensorflow or Paddle-paddle frameworks) relate to nodes of the underlying neural-net that's being trained?

The BERT model in frameworks like TensorFlow/Paddle-paddle shows various kinds of computation nodes (like subtract, accumulate, add, mult etc) in a graph like form in 12 layers. But this graph doesn'...
3
votes
2answers
74 views

Being stuck and frustrated with my masters project

I'm doing a masters in CS that requires me to implement from scratch most of the neural network models and because python libraries aren't applicable to what i want. The problem is that i don't feel ...
1
vote
0answers
13 views

Clustering customer with string data

I'm looking for a customer clustering solution. I have done a lot of research on the machine learning level to find algorithms that could fit my needs but I can't find much information when the data ...
0
votes
0answers
14 views

Exploding gradients problem in gradient descent in multi-output ridge regression setting [closed]

Multi-output ridge regression: $W^{*}=\underset{W}{\arg \min } \frac{1}{\mathcal{N}}\|Y-WX\|_{F}^{2}+\lambda\|W\|_{F}^{2}$ There are $Q$ outputs, $N$ samples, and $P$ covariates (features). $\hat{Y}...
1
vote
1answer
28 views

Asymptotic analysis for machine learning algorithms

I wanted to know if it would practical and useful to analyse machine learning algorithms in terms of asymptotic computational complexity. I have noticed this is very uncommon. However, I believe it ...
0
votes
0answers
14 views

Weights vs Training ML

The weights of Machine Learning models are learned during the training process. Why is said that the higher values of weights leads to the overfitting of the model? Why is it necessary to have low ...
2
votes
0answers
14 views

Energy consumption off CNN models

I want to calculate/estimate the energy consumption for the different convolutional neural networks. Is there any possibility to measure the energy consumed by AlexNet for example with a tool or with ...
0
votes
0answers
19 views

Why does my EM algorithm not converge?

Any ideas why my likelihood probability for this EM algorithm doesn't converge (have slope of 0) to "find" the three clusters? I've tried increasing the iterations, which makes the slope nearly ...
1
vote
0answers
14 views

Which machine learning should I choose for a one->list relation

I'm trying to write machine learning software that will predict a list of 3 values from a given number input (reverse grayscale). There is a function determining values of the list to the grayscale, ...
3
votes
1answer
151 views

Measures of performance in machine learning

I'm new to machine learning and struggle to interpret the results I get from different measures of performance. If for several prediction models I have e.g. accuracy, precision, recall, F1, FPR, and ...
1
vote
1answer
31 views

What kind of bigram probability smoothing is this?

I hope it isn't off topic but I need to understand this example. Given the corpus 12 1 13 12 15 234 2526 and smoothing factor of ...
0
votes
1answer
12 views

Confused on Variational AutoEncoder

I'm a bit confused on how Variational Autoencoders are trained. In particular I'm confused on how the latent variable is generated for each input. My questions are as follows: When running ...
0
votes
0answers
11 views

Relationship between keystroke pattern and emotion

There are API provided by Google and Microsoft that takes as input the image of a person and output a probability distribution of the person's mood. I'm wondering if there an API that can take as ...
0
votes
0answers
14 views

What is the main concept of using lexical,linguistic, semantic or syntactic approach in NLP for cyberbullying

Am really in need of some explanation, am working on a nlp cyberbullying detection tool which i will deploy to the web using django framework, however, am stuck on some idea, can someone explain to me....
0
votes
1answer
18 views

Using a point as an input for a perceptron

Can a point be used as the input for a perceptron/neural net? The relationship between the two numbers that make up a 2D point does not affect the output, but does this not matter when the ...
1
vote
0answers
39 views

Can anyone think of applications of a 3 way (k-way) dot product in computer science or data mining

I have developed a locality sensitive hashing algorithm for the 3-way or k-way dot product. When I say 3-way dot product I mean the following. Suppose we have $x,y,z \in [-1,1]^{S}$ for $S \in \...
0
votes
0answers
20 views

Image classification with zero data

Given an image of a biology diagram, I would like to classify the diagram into these 4 categories: Plant Animal Cell Anatomy However, I don't have any training data. I would like to avoid the ...
0
votes
1answer
18 views

Mapping categorical data in K-nearest neighbour

I have a data set which contains categorical data, for example: ...
0
votes
0answers
16 views

Propositional setting VS relational setting

I came across "propositional setting" and "relational setting" in this paper. I don't know what the author means. What's the difference between "propositional setting" and "relational setting" in ...
0
votes
0answers
78 views

vc dimension of binary decision trees of depth d?

how do i find the vc dimension of the hypothesis space H ,of the binary decision trees of depth d-2? will the hypothesis space H consist of{0,1} and the vc dimension is the number of ways in which we ...
0
votes
0answers
11 views

How to set width and depth of an attractor in hopfield network?

As far as I know hopfield network stores patterns as it's attractor states. But the width and depth of basins of attraction is not determined by user. Is it possible to make hopfield network to set ...
0
votes
0answers
16 views

Training a model from self-play

Say I'd like to build a Go AI. The Go AI takes in the board state and then predicts who's more likely to win from that state. When I want to make a move, I just test every next board state I could ...
0
votes
0answers
21 views

Using The Output Of Semantic Segmentation In Autonomous Driving

I have read a couple of papers on semantic segmentation and ran this github code (which was trained on Cityscapes) against a KITTI sample image and it did pretty well (as seen below). I get that ...
1
vote
1answer
33 views

Text detection in computer vision

I'm curious about the way text recognition works in machine learning(or more generally, the question of object vs not object) in computer vision. How are systems trained when the not-object data set ...
0
votes
0answers
14 views

Path planning agent in a grid with compulsory states to visit with Reinforcement Learning

Is it possible to make a Reinforcement Learning agent for path planning in a 2D grid where visiting certain intermediate states is mandatory? Please give an insight if it is indeed possible as to ...
0
votes
2answers
43 views

Interpolation: How to generate 3D objects from 2D cross-sections?

Consider a sphere sitting on an $xy$-plane, and take 2D slices parallel to the $xy$-plane at various heights of z. Suppose we take 10 slices, evenly spaced along the $z$-axis, and now have 10 images ...
2
votes
0answers
28 views

How to use machine learning algorithm for different input data? [closed]

Yes, You heard it right. My title is "How to use a machine learning algorithm for different input data?", For example, we have an algorithm called "Email spams detector". Okay, so how to apply the ...
0
votes
0answers
9 views

In Markov Decision Processes, why does R0 get skipped?

I'm in the process of learning the MDP, and a pretty small thing is bugging me. Everywhere I look, I see the order of things go in this order: $S_{0}, A_{0}, R_{1}, S_{1}, A_{1}, R_{2}, \ldots, A_{t},...
1
vote
0answers
16 views

Interpretability of feature weights from Gaussian process classifier [closed]

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 ...
2
votes
1answer
29 views

Why do we need to take the derivative of the activation function in backwards propagation?

I was reading this article here: https://towardsdatascience.com/how-does-back-propagation-in-artificial-neural-networks-work-c7cad873ea7. When he gets to the part where he calculates the loss at ...
0
votes
1answer
117 views

How can I represent a set of graphs for learning purposes?

I have a network of labelled digraphs and a I need to perform a unsupervised learning algorithm on this data. I am interested in embedding a network of description logic documents in a vector space ...
0
votes
0answers
6 views

Linking data statistics to machine learning performance: available research

I got a general question: Deploying machine learning algorithms that perform well in practice is often highly dependent on the dataset under investigation. This is formally known as ‘The No Free ...
0
votes
1answer
38 views

Classification accuracy based on top 3 most likely classifications

My goal is to recommend jobs to job seekers based on their skill set. Currently I'm using an SVM for this, which is outputting one prediction, e.g. "software engineer at Microsoft". However, consider ...
1
vote
1answer
34 views

What are the basics of CS i should know,before I start my journey into machine learning

I am myself a non-cs graduate and would love to be a machine learning engineer. I have learned to code and know the basics of <...
1
vote
0answers
20 views

How can I understand the multi-class version of “shattering” intuitively? [closed]

I'm learning machine learning. VC dimension is a good way to measure the complexity of hypothesis class for binary classifier and has a very good intuitive explanation from shattering. When we ...
1
vote
0answers
21 views

Covering numbers to show that H is agnostically PAC-learnable

Suppose $X=[0,1]$ and $Y=[0,1]$, and we use the squared loss Let's define the hypothesis class $H = {h(x) = (x-a)^2 : a \in [0,1]}$. Question: How can covering numbers be used to show that this ...
0
votes
1answer
44 views

How do you prove the Natarajan's Lemma intuitively?

Let $H$ be a hypothesis class of multiclass predictors; namely, each $h\in H$ is a function from $X$ to $[k]$. Denote the Natarajan dimension of $H$ by $Ndim(H)$. Hope you can give me an intuitive ...
0
votes
0answers
21 views

Parameter Adjustment based only on tagged predictions

not sure that this is the best place to post this but if not, please let me know if there is a better stack community. I have an anomaly detection method which has some parameters. I have some data ...
0
votes
0answers
24 views

Use ML to create a graph

I'm currently looking for literature/papers on machine learning techniques to create structures. In detail, I want to generate finite automata (NFA, DFA), which are useful for student-exercises. So I ...
1
vote
0answers
39 views

Did anyone successfully implemented Gödel machine? Is it practically possible to implement?

For reference - Gödel machine is a hypothetical self-improving computer program that solves problems. It uses a recursive self-improvement protocol in which it rewrites its own code when it can prove ...
1
vote
1answer
26 views

How to handle missing attribute's value with ID3 algorithm?

i am working with ID3 algorithm, and i know that classic ID3 basically can handle missing data. But i am trying to code this algorithm, so what should i do if there is missing attribute's value in ...
0
votes
0answers
15 views

Can one pose an optimization problem as a problem in machine learning?

There seems to be an increasing trend towards posing problems in the realms of classical optimization theory as machine learning problems. Can you explain when one would resort to using machine ...
0
votes
1answer
27 views

How does image reconstruction take place in neural network?

I am reading through and thinking about how neural network works and have been reading about convolutional neural networks (CNN). I am particularly interested in image filtering (or enhancing) using ...
0
votes
1answer
10 views

Stepwise regression

I think that both forward selection and backward selection should give the same results if the evaluation model is deterministic and using the same variables gives the same results. Is this true? If ...
0
votes
0answers
39 views

Machine Learning on Unclassified Data

So I am currently thinking about a problem with a friend that deals with classifying a huge list of statements (I cannot give more information for privacy reasons). My friend ran a K-means clustering ...
0
votes
0answers
19 views

How can I store the bit pattern in the register with value

How can i write instruction in Main memory with using Machine language? I have a problem with righting instruction to store the bit pattern in the register R with value XY. Can anybody solve it?
2
votes
1answer
50 views

What are Surnames' dataset usages?

I have found a dataset which involves surnames dispersion around the world that sorted by population which I use it for a name recommender system. Its readme page caught my attention because it has ...
0
votes
0answers
13 views

machine learning model for message classification

this is a question about building a model for text classifications. The problem is to classify messages on Reddit posts. We are given 70000 messages and their categories, and we need to build a model ...
0
votes
0answers
19 views

Survey of Graph Algorithms with applications to data/ML?

I'm a new Computer Science student in a masters program, switching from Applied Math. I'm really new and lacking some background, but I am interested on what literature is out there on graph ...

1 2 3 4 5 20