Questions tagged as 'machine-learning'

0
answers

Image manipulation for prediction in tensorflowjs

I'm developing a project where an app should send an image (base64) to the server and do the recognition of the number entered. I'm using MNIST data for training and Tensorflow.js on NodeJS, but I'm having difficulty pre-processing the image bef...
asked by 06.10.2018 / 21:06
1
answer

Error X has 2 features per sample; expecting 3147

I'm trying to work with predictions, Machine Learning, but I've been having predicament problems from the saved workout, according to the following error: predict(file_name) File "C:/Python/categoriesTest/CategoriaTestFunctions.py", line...
asked by 18.09.2018 / 13:59
0
answers

Why does my phrase embeddings function define one of the output vectors with 0?

I'm trying to apply the embeddings algorithm in sentences to a dataset , but I only have 0 in a single column of the outputs. This is done in the context of the reproduction of this text understanding tutorial . I have a data set of questions...
asked by 14.08.2018 / 11:02
0
answers

How to accelerate an encoder function?

I try to apply a method of embedding sentences, [InferSent] [1], which provides semantic representations of sentences. It is trained in natural language inference data and generalizes well in many different tasks. The process looks like this:...
asked by 09.08.2018 / 15:18
1
answer

Keras: ValueError: Dimension 0 in both shapes must be equal (VGGNets)

I'm following a tutorial and loaded modelo VGGNet16 pre-trained using Keras vgg16_model = keras.applications.vgg16.VGG16() model = Sequential() for layer in vgg16_model.layers: model.add(layer) model.layers.pop() for layer...
asked by 15.04.2018 / 21:02
0
answers

Probability string grouping:

I am studying about Machine learning and how to use with chatbots, however I came across a problem: How to group the possibilities of a numeric representation of a string, eg: 1 1 5 1 2 1 I'm trying to convert this to something like:...
asked by 19.03.2018 / 02:07
1
answer

Error with PREDICT in Scikit-learn

I recently started learning a bit about Machine Learning and sorting, through a course at Alura. Well, I tried to perform the first exercise, but I could not because of a mistake I can not tell what it is. Here is the code I have and the Error d...
asked by 03.11.2017 / 12:21
1
answer

Text Mining with Scikit-learn

I'm doing some research in the area of feelings analysis, so I'm doing some testing on a text database to get results. I was looking for tutorials among other forms of information on the internet and I came to the conclusion that the scikit libr...
asked by 30.07.2017 / 13:20
0
answers

How to group numerical sequences?

Friends, I have a csv file with 5k lines which lists shopping transactions. There is an id for each purchase, it happens that for a lot where several purchase transactions are performed there is an id that always starts with the same numerical s...
asked by 10.06.2017 / 00:24
1
answer

Identifying members of the same family [closed]

I would like to know what I can use in machine learning or another type of tool for the following problem: I have a list of full names and I would like to identify among them the relatives by the similarity of the surname. What can I use?     
asked by 19.11.2017 / 20:46