Most voted "machine-learning" questions
Machine learning is a sub-field of artificial intelligence where there is the development of algorithms that in several areas allow the computer to learn something.
Learn more…136 questions
Sort by count of
-
0
votes2
answers501
viewsI cannot install Tensorflow-GPU
I started learning about tensorflow recently and decide to trade for the GPU version, for being much faster, but I can’t, always gives the same error. Specs: I5-8400 GTX 1060 6GB Windows 10 Home 64x…
-
0
votes1
answer126
viewsHow to create a CNN model correctly in Keras?
I want to make a convolutional neural network model using Keras. Input is a set of images of size 360,640,3 and the exit shall be 720,1280,3. So I made the following model : w,h,c=x_train[0].shape…
-
0
votes2
answers106
viewsHow to discover relevant properties of a basis for a Python classification algorithm?
I have a database (excel spreadsheet) about the health of the elderly with about 112 columns and I would like to know the best algorithm to extract some of these columns, maintaining the variability…
-
0
votes1
answer169
viewsTake the probability of belonging to each class
I have a theoretical problem where a store owner wants to know the chance of a particular phrase generating a sale, I have in hand a dictionary with 20 random words and 10 phrases formed by exactly…
-
0
votes0
answers52
viewsCalculate the weight of each class of an unbalanced multi-label dataset
I would like to calculate the weight of each class of a dataset multi-label to pass to fit_generator of Keras the parameter class_weight. In the case of a dataset single label, as my output is…
-
0
votes1
answer110
viewsNeural network output returning Null
I’m making a neural net with brain.js, to learn the alphabet. the code is as follows:: const alfabeto = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R",…
javascript artificial-intelligence machine-learning machine-learningasked 5 years, 11 months ago David Fernando 115 -
0
votes1
answer110
viewsNeural network output returning Null
I’m making a neural net with brain.js, to learn the alphabet. the code is as follows:: const alfabeto = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R",…
javascript artificial-intelligence machine-learning machine-learningasked 5 years, 11 months ago David Fernando 115 -
0
votes1
answer61
viewsDoubt in models Predict
I think it’s a simple question, but in all the courses I’m taking the instructor teaches you to separate training and test data from a csv or some base. But I want to test with the user input…
-
0
votes1
answer112
viewsHow do I delete lines by cell specific content in pandas
I am preprocessing my data using the Python pandas library. This is a project to train an algorithm to predict "roles" This is the result I get when I run. print(vagas.role_name.value_counts())…
-
0
votes1
answer635
viewsHow to get n working day of the month?
I’m creating a data model for Machine Learning to get a transaction amount forecast per year/month/day/hour. But I am needing to map the 5th and 10th working day of the month so that my algorithm…
-
0
votes1
answer139
viewsError running Keras.models.Sequential() with tensorflow
I imported Keras.models as specified in the documentation Importing: from keras.models import Sequential When creating the model I try to run Sequential returns an error: Execution: model =…
-
0
votes1
answer78
viewsIs there a way to use Natural Language Processing (NLP) to transform strings into integers?
I saw some examples of codes to transform strings such as "four" into an integer 4, but it was always quite manual. Have some more automatic way to do this using NLP? One thing I noticed when I did…
-
0
votes1
answer67
viewsHow to display different scope subplots in the same figure?
1 - Summary of the problem I’m trying to implement the Binary Backpack Problem, using Python and a simple genetic algorithm. Follows the repository on Github. I wrote functions for plotting the…
-
0
votes1
answer2767
viewsValueerror: Input contains Nan, Infinity or a value Too large for dtype('float64') ( I did the check and none of these proceed)
I’m working on a python linear regression project, but there’s been a problem with the.fit() model. the following errors occur: in the code I put here: Valueerror: Input contains Nan, Infinity or a…
-
0
votes1
answer81
viewsHow to use a collection as an element of a Python array?
I am developing a project using scikit-Learn (and pandas to handle the data) to predict the results of football matches based on previous results. As a project methodology, for each row of the…
-
0
votes1
answer26
viewsBest way to delete a sample from a Dataframe at the same time save it in a variable
Hello, I’m starting in supervised learning and want to separate one sample random of my dataframe for testing leaving the rest for training. I got the result I was hoping for, but I’m uncertain if…
-
0
votes3
answers1128
viewsModulenotfounderror: No module named 'sklearn.externals.Six'
I cannot run the script, because it is accusing that there is no module 'sklearn.externals.six'. I’ve looked for solutions, I’ve remade the venv and not the right one. Has this module become…
-
0
votes0
answers22
viewsPlotting of graphics in Iteration
Good afternoon, Contextualizing, This is a study of control charts from the Tennessee Eastman Process dataset. The IDV below is corresponding to n° of the fault I wish to plot. Without the iteration…
-
0
votes0
answers48
viewsHow to set the columns in Sklearn’s Onehotencoder?
I’m having a small problem making an ML code for sorting set when using Onehotencoder to perform categorization. I am following a course that used the resource in the following way: dados =…
-
0
votes1
answer75
viewsNLP Text sorting using Python
I think my problem is text sorting, where I get a string as input, so I need to combine that string with the right choice. I need an accuracy greater than 98.3%. What kind of algorithm do I need to…
-
0
votes0
answers11
viewsForecast error using the forecast package in R
I’m trying to create a time series forecast in the test data, but when I try to make the prediction it gives an error that I can’t understand and I can’t find anything like it on the internet that…
-
0
votes0
answers17
viewsIsolation Forest with Cross Validation
how can I use a One Class classifier, such as Isolation Forest, with Cross Validation? I’m trying to do it this way: columns = data.columns.tolist() columns = [c for c in columns if c not in…
-
-1
votes1
answer82
viewsIdentifying members of the same family
would like to know what I can use in machine Learning or other type of tool for the following problem: I have a list of full names and I would like to identify among them which are related by the…
-
-1
votes1
answer40
viewsChatbot without internet access
Good night! I would like to ask a question, there is the possibility to create Chatbot using Watson Assistant or Microsoft technologies to be accessed from a local server without internet access?…
-
-1
votes2
answers85
viewssklearn library accuracy_score error
from sklearn.svm import LinearSVC from sklearn.metrics import accuracy_score # retorna 1 se houver mais de 1 número 1 treino_x = [[1,0,1],[1,1,0],[0,0,1],[0,1,1]] teste_x…
-
-1
votes1
answer40
viewsOutput layer neural nets?
Guys, in building a neural network for image classification in my output layer the amount of neurons should match the amount of classes in my data set?
-
-1
votes0
answers9
viewsData preprocessing for clustering algorithms
Hey guys, I have a question for my TCC. I have a database of customer information and loans, which indicates whether or not the customer has paid a requested loan, containing various customer…
machine-learningasked 3 years, 7 months ago Renato Sousa 1 -
-1
votes1
answer52
viewsLinear split #python random_state Seed recognition failed
If random_state is not working, whenever I run into jupyter, it comes with a different precision.. Can anyone tell me the error? thanks in advance :D # estimador de aprovaçao baseado nas notas das…
-
-1
votes1
answer141
viewsSklearn - Difference between preprocessing.Scale() and preprocessing.Standardscaler()
Hello! I’m a beginner in Data Science and Machine Learning, I’m sorry if the doubt is kind of "beast". I understand the importance of standardization/normalization of Features and in my studies, I…
-
-1
votes1
answer37
viewsvarImp does not recognize gradient boosting model produced by Ret when I apply weights to target
I produced a gradient boosting model with the package caret and applied weights to the target variable. When I call the function varImp in the model it returns the error: Error in…
-
-1
votes1
answer56
viewsUse drop or iloc in Machine Learning modeling in Pandas?
I’m learning Machine Learning for Data Science through Pandas. I made a few algorithms and performed the division of my predictive variables and class as follows: dados = pd.read_csv(...) (...)…
-
-2
votes1
answer184
viewsRecommendation system based on previously registered data
I’m a machine-learning layman I started a course at Alura about classification system using Pip but it does not solve my problem, I would like a library for a recommendation system, i would collect…
machine-learningasked 7 years, 3 months ago Leonardo Bonetti 5,313 -
-2
votes1
answer65
viewsWhat’s wrong with my K-Earest Neighbor code on R?
Good afternoon, Why does my KNN code in R produce "predictions" that are equal to the Test Base responses themselves? That is, if we change the responses of the test base the "forecast" changes…
-
-3
votes0
answers36
viewsMachine Learning Usage Tip to Rank Small Phrases
I have a script that gives me 3 short sentences (about 20 words) in English to sort. I’ve never done it before, but I thought a machine learning algorithm could learn how to classify these 3…
python algorithm machine-learning artificial-intelligence machine-learningasked 3 years, 7 months ago thecuriousironman 1 -
-3
votes0
answers36
viewsMachine Learning Usage Tip to Rank Small Phrases
I have a script that gives me 3 short sentences (about 20 words) in English to sort. I’ve never done it before, but I thought a machine learning algorithm could learn how to classify these 3…
python algorithm machine-learning artificial-intelligence machine-learningasked 3 years, 7 months ago thecuriousironman 1 -
-4
votes1
answer54
viewsCustomer Propensity Analysis - Scheduling Service - Variavel_target
I’m starting to take the first steps in machine-learning and would like to apply a prospecting analysis to each client according to their scheduling service. I have a client portfolio that has one…