All Questions
61 questions
1
vote
0
answers
82
views
How to save and load TensorFlow Decision forest model for incremental learning?
I am developing TensorFlow decision forest regression model for incremental learning, So I have developed the model and have saved the model. When I retrain with new data the error is coming like &...
0
votes
1
answer
100
views
Tensorflow Keras ValueError: Unexpected result of `predict_function` (Empty batch_outputs)
I am trying to train some machine learning models to predict the price action for 4 chosen stocks from a list of NASDAQ-100 stocks.
I am very new to Python, so I've run into a few issues I have not ...
0
votes
0
answers
43
views
What is the difference between Sequential and Concatenate of keras while creating input for model?
What is the difference between Sequential and Concatenate of keras while creating input for model?
I have seen two way of creating layers with Sequential where we just define the shape of the input, ...
2
votes
0
answers
111
views
ValueError: Shapes (None,) and (None, 100, 6) are incompatible
I am trying to solve a classification problem using LSTM Sequential machine learning. My DataFrame structure is here:
feature1, feature2, feature3, category
features are accelerometer sensor data ...
2
votes
0
answers
114
views
Autokeras StructuredDataClassifier InvalidArgumentError: Graph execution error
I'm using Auokeras to choose a model for my dataset. I've tried using StructuredDataRegressor and everything went ok.
But now I'm trying to use StructuredDataClassifier and can't get it running:
df =
...
0
votes
1
answer
617
views
ValueError when fitting my model. (ValueError: could not broadcast input array from shape (224,224,3) into shape (224,224,3,3))
I am new to machine learning and I am using kaggle's notebook to code. I am making a classification model with multiple categories. I used efficientnet to make my model's architecture but the issue ...
0
votes
0
answers
274
views
How to weight input for a MultiLayer Perceptron Neural Network Classifier SKLearn Python 3
say I have a MLPClassifier from SK-Learn, I have some train data, X_train (n rows), y_train (n rows) and I have a weights vector ( length n)
How would I go about weighting the input to the Classifier ...
0
votes
1
answer
755
views
AttributeError: 'DataFrameIterator' object has no attribute 'classes'
My task is related to multi label classification, and data is imbalance.
Therefore, I would like use class_weight.compute_class_weight to address this issues.
However, when use it, it shows
...
1
vote
1
answer
845
views
Read images from sub-folders using keras flow_from_dataframe
How can I read the images arranged from subfolders using flow_from_dataframe function not flow_from_directory function in Keras? Here is the dataset directory structure arrangement of the dataset with ...
0
votes
1
answer
294
views
Why am I getting different results on a prediction using the same Keras model and input?
posting here is my last resort cause I can't find anything like it online. I trained a model to classify embeddings into categories (a simple three layer Dense neural network).
Now I want to use the ...
0
votes
1
answer
292
views
Delete duplicate datas from csv and training (Keras, python, pandas)
Let's say we have a dataset in csv. Let the data be representatively as follows. Let's assume that there are 1000 columns and 1000 rows in the csv that contains this data.
Let's say we use column A ...
0
votes
2
answers
368
views
Housing Machine Learning Error: "Supported target types are: ('binary', 'multiclass'). Got 'multilabel-indicator' instead"
So I'm trying to make a machine learning algorithm that tests the cross_val_score of some housing data to determine which algorithm is the most accurate at determining housing value. I'm using an ...
1
vote
1
answer
452
views
very low val_accuracy vs accuracy - text classification (multi class)
I've been working for a while now on a bug classification project.
My goal is to: "given a new bug, I'd like to predict which 'final owner group' it will be assigned to (6 labels as targets)"...
0
votes
1
answer
200
views
How can I load my dataset including the labels in jupyter notebook using anaconda? [closed]
can someone help me with load both datasets, the main dataset with the labeled dataset to be load on my Jupiter notebook.
3
votes
2
answers
5k
views
How to train machine learning with strings?
I have made input data for machine learning as csv file . The data are 2D arrays input and label
Example
[[55:32:1:23:41:243:255:11:182:192:231:201],"play"]
[[23:222:225],"talk"]
[[...