Questions tagged [machine-learning]

relates to algorithms that are "trained" by some data set.

Filter by
Sorted by
Tagged with
1
vote
1answer
36 views

Ideal architecture for ML training -> API service workflow, with multiple models/services? [closed]

I'm planning to construct a workflow/environment for training and serving NLP classifiers, that follows something like: The model training system takes in annotated documents from a subset of a ...
2
votes
1answer
32 views

Setup pipeline to analyze data stored in web app DB

Background: So there is a (Ruby) web app with a production Postgres DB (hosted in the cloud) I would like to run some machine learning algorithms in a Python setting on the production data and (...
-2
votes
1answer
113 views

Sphere parameter optimization: how would I approach it? [closed]

I am looking to construct a program that takes, as input, 576 [x, y, z] points as well as 576 corresponding distance values. I want to find the [x, y, z, radius] parameters of a sphere such that the ...
0
votes
0answers
35 views

Neural Networks object creation from OOP perspective [duplicate]

Let's say that I have a class representing the Neural Network. The neural network is composed of three bigger units: a subpart_1, subpart_2 and subpart_3, being called in such a way, that the output ...
1
vote
1answer
148 views

How does machine learning learn? [closed]

I'm new to Machine learning or Ai but I have been a developer for almost 10 years. I have a news aggregator application that grabs and save articles from news websites, And I have developed an ...
1
vote
2answers
60 views

Balancing function call overhead and testability in a code that is a part of the deep learning model training loop

I am currently implementing the transformer architecture for sequence to sequence problems. Key part of the model is the attention mechanism, which is basically a matrix multiplication, followed by a ...
1
vote
0answers
27 views

Solution architecture for storing machine learning data

I'm building a mobile application using Expo & React Native. As the user interacts with the mobile app I need to store their interactions in Google BigQuery, so they can later be used to train ...
1
vote
1answer
50 views

Compare two arrays by the number of occurances

I have the following dictionary: { "Drama": 8, "Adventure": 8, "Action": 4, "Comedy": 3, "Thriller": 1 } This dictionary is like a representation of a user's preferences in movies. (in the past he ...
1
vote
1answer
65 views

Predicting Diagnosis Codes

I am very new to Machine Learning. I've read about it and I successfully did a tutorial where we looked at the dimensions of Iris petals and predicted what other Iris petal sizes may be. This all made ...
1
vote
2answers
188 views

Distributed training of many small ML models

I have a data science application that involves training tens of thousands of small individual Gaussian models. By "small", I mean that any individual model can easily be trained on one of our worker ...
2
votes
3answers
65 views

Redesigning Procedural Decision Engine To Leverage Machine Learning (and Which)

I'm not sure if this is the right forum, but I'm really looking for an advice on this. We've a procedural decision engine, which is fairly rudimentary, to decide application routing. It's basically ...
0
votes
1answer
469 views

Battery level prediction model

I have the idea of develop a model that predicts the battery charge level of my system for now until the following 5 days. The battery is charged using a solar panel. I am writing my code in Python 2....
0
votes
1answer
120 views

Clustering Algorithm with max number of clusters

I'm looking for a clustering algorithm (ideally density based) that allows me to specify the maximum number of clusters (but not the exact number). All points must be assigned to a cluster, so I can't ...
-2
votes
1answer
72 views

How to physically test a machine learning model?

I am new to machine learning. I have implemented a machine learning model which detects sound (for example: horn, siren, hammer etc) and predicts the type of sound. I have to physically test the model ...
1
vote
0answers
20 views

Bernoulli naive bayes document model for multi-label classification

I want to ask about Bernoulli Naive Bayes document model. Can we use Bernoulli Naive Bayes document model for multi-label classification of documents?
3
votes
2answers
399 views

Is manually tagging content an ideal start for eventual machine learning?

I'm putting together a mobile app that would allow users to search, rate, and upload photos of dishes at restaurants. I have no machine learning experience (just FE/BE/Mobile) so for the time being I ...
-1
votes
1answer
1k views

Training data in unsupervised learning?

Unsupervised learning (USL) is about learning/constructing the algorithm to find the hidden data pattern based on training data without hard coded business rules like arithmetic sum, etc. Example of ...
0
votes
1answer
157 views

How do I check programmatically if two photos show the same drawing? [closed]

Imagine a simple drawing of let's say a duck. And you have an photo of it in your database. Now a user takes a second photo of the same drawing of the duck. What approaches exist to check if both ...
2
votes
1answer
799 views

Distinction between AI, ML, Neural Networks, Deep learning and Data mining

I have recently started exploring the field of machine learning (ML). I think I understand the difference between ML and AI at high level, but I wanted to understand more accurately the differences ...
2
votes
0answers
83 views

Software design strategy for a machine learning tool that outputs a subset of the text input (Information Extraction)?

Let's say I have thousands of pdfs that are each about 30k words written in conversational English. In each of the pdfs there is a name / names of a person/people who snowboard. There are also many ...
-2
votes
1answer
73 views

Licensing of classifier tool trained on open data [closed]

The broad question is: how are the licensing terms for a classifier that is trained with open annotated data (or manually annotated) data? I am trying to train a dependency parser for German text ...
1
vote
0answers
101 views

Can machine learning be used for non-numerical prediction?

I've started reading a machine learning book since a few days ago, and I've learned about how it can be used for classification/regression/etc. However, I am unsure if it will be able to handle the ...
1
vote
2answers
214 views

How to loosely couple chained algorithms

I have a search algorithm that is used in conjunction with a machine learning algorithm. I separated the two because I wanted to be able to swap out search algorithms on the fly. However, the coupling ...
16
votes
7answers
3k views

Machine learning applied to code development

My background is in mechanical engineering, so please forgive my ignorance to this area. I really enjoy programming and software development. Also, I recently took a free online Machine Learning (ML) ...
-6
votes
4answers
219 views

AI Language that doesn't release source code or can't be decompiled

I looked at using python for the AI in a security application for hobby-business but apparently you either release it as source code or it can be easily decompiled. Of the new machine learning ...
4
votes
2answers
288 views

What specific category / type of machine learning can be used to make better AI decisions in this board game?

I'm collaborating with a friend to, as a challenge, create a bot that can beat the best human players at a browser-based card / board game called Duelyst. It looks like this: It was my original plan ...
2
votes
1answer
156 views

Large Scale Machine Learning vs Traditional HPC Hardware

I've spent the last few days working with tensorflow for the first time as part of a natural language processing assignment for my degree. It's been interesting (fun isn't the right word) trying to ...
3
votes
1answer
469 views

Is Machine Learning a part of Data Science?

I am having trouble differentiating between Big Data vs Data Science. From what I've understood so far, both are buzzwords for the old statistics job. Where does machine learning fit into this?
-2
votes
1answer
1k views

Predicting financial transactions

I would like to build software to help folks with their personal finances. One area I would like to tackle is trying to predict future transactions based in past transactions. For instance you might ...
7
votes
2answers
1k views

Advanced Job Shop Scheduling Algorithm Question

I've looked into numerous solutions for the simple version of this problem, but I've found no solutions for advanced cases, short of sorting through all possible permutations. I don't know where to ...
1
vote
5answers
928 views

Machine learning without programming?

I am old to programming and very beginner to Machine Learning and what make me surprise is the defination as i typed in google i found this. Machine learning is a type of artificial intelligence (...
3
votes
2answers
3k views

Why do convolutional neural networks use so much memory?

I heard that one of the main problems applying neural style to high resolution images is the huge amount of memory that would use. Also I just configured a network using tiny-cnn This is my ...
1
vote
0answers
42 views

How do you feed sets of connected data elements to an artificial neural network?

I'm currently working on a neural network to try to predict movements of electricity prices in a big city with multiple power companies to choose from. I know from a friend in the industry that power ...
2
votes
1answer
485 views

Getting started with machine learning a zero sum game?

I have a simple zero sum, discrete, deterministic, complete information board game. I want to machine learn an evaluation function for an AI agent. Suppose each board state has ~20 identifiable ...
2
votes
0answers
669 views

Rotation logic for MNIST Handwritten Digit Dataset

I am currently applying some pre-processing to this dataset. Some of the digits are extremely rotated and I would like to know how others managed to get them 'upright'. I have implemented something ...
3
votes
1answer
3k views

Vector input for Artificial Neural Network?

My problem is fairly complex, so here is a similar, simplified example. Let's say you wanted to predict the Miles Per Gallon (fuel consumption) of a car, based on the following information: you have ...
2
votes
2answers
107 views

Create unique buckets for stream of entities based on constraints on the entity attributes

I have stream (magnitude 10s of millions) of entities, say Item which is modeled as below: class Item { String id; Double price; Double profitPercentage; Country originCountry; Country ...
1
vote
1answer
473 views

What type of “spam filter” algorithm will tokenize characters for non-exact matches?

I was having a look at a basic example of spam filtering using a logistic regression algorithm and an answer posted on this Stack Overflow question: https://stackoverflow.com/questions/29291263/mllib-...
1
vote
1answer
90 views

How supervised or unsupervised machine learning algorithms get better over new datasets

Using this Coursera's course about machine learning, I learned some things about supervised and unsupervised algorithms. And from Wikipedia I've read that machine learning is "to get better ...
8
votes
1answer
953 views

quantitatively comparing AST shapes

How could one compare the shape of abstract syntax trees of similar source code programs (C, C++, Go, or anything compiled with GCC...)? I guess that plagiarism detection on source code would use ...
2
votes
0answers
574 views

Predicting package delivery schedules

I'm trying to solve the following problem: A delivery man has N packages to deliver, already sorted. He starts the route at start_time, he works until end_time. I have historical data of his delivery ...
5
votes
1answer
213 views

Algorithm for predicting outcome based on parameters

I've never done anything with statistics, so I'm unsure of how to start with this problem that I need to solve for some software that I'm working on. Basically, there are three parameters An integer ...
3
votes
2answers
429 views

Clustering algorithm based on distance

So, I have a packaging center A. And I have n points scattered around A. Let's call them i1, i2 ... in. I have a maximum distance threshold, called D. My task is to break those n points into groups ...
3
votes
2answers
582 views

Dynamic gesture recognition with fingertip points

I have built a fairly robust program in c++ which tracks several points on a hand. It accurately quantifies the size of the palm, the center of the palm, and the fingertip locations among other hand ...
2
votes
1answer
92 views

To what values should you initialize the neurons and connection strengths in a neural network?

The values of all of the neurons in my neural network are initialized to 0 and the connection strengths between the neurons are set to randomly generated floats, between 0 and 1. I have seen other ...
3
votes
1answer
148 views

How can you write an activation function in a neural network to handle a layer architecture of arbitrary dimensions?

I am making a neural network in Clojure that can take an array of integers,and return a data structure representing the layers of a neural network: so (make-layers [1 4 5]) would evaluate to: [[0] ...
3
votes
1answer
165 views

Reward discounting in reinforcement learning

I've been reading the Sutton and Barto book and following David Silver's lectures on youtube. The basic principles make a lot of sense to me and I've been building a maze (an arbitrary grid where the ...
7
votes
1answer
12k views

What does it mean for an algorithm to converge?

I keep coming across this term when reading about reinforcement learning, for example in this sentence: If the problem is modelled with care, some Reinforcement Learning algorithms can converge to ...
0
votes
0answers
85 views

Will this data mining approach work? Is it a good idea?

I need to extract fields like the document number, date, and invoice amount from a bunch of .csv files, which I believe are referred to as "unstructured text." I have some labeled input files and will ...
6
votes
1answer
388 views

How to access large amounts of data for machine learning in a microservices architecture

Imagine you are building a product recommendation algorithm for an eccommerce application which is built as a microservices architecture, this architecture having separate services for users and ...