For questions about machine learning modelling, architectures and design choices, as well as traditional models (AlexNet, VGGNet, Inception, ResNet, etc).
Questions tagged [machine-learning-model]
131 questions
1
vote
0 answers
API choice: `inversePredict(mod,Xnew)` vs `predict(mod,Xnew;inv=true)`?
For a ML library, which would be the arguments in favour to use a new specific function name for the inverse prediction for a model (e.g. a zero-mean/unit variance scaler), something like inversePrediction(mod,Xnew), and which arguments would be in…

Antonello
- 6,092
- 3
- 31
- 56
1
vote
2 answers
Object not found while trying to write a pickle file
I am trying to do cancer detection using Random Vector Forest. I am trying to make a pickle file by using the command pickle.dump(forest,open("model.pkl","wb") .But I am getting a name error
NameError Traceback (most…

Devika
- 135
- 1
- 11
1
vote
0 answers
How to deploy the Deep learning model(computer vision ) in aws using lambda
I have trained in background removal with my custom images and I am new to deploying computer vision models. please, anyone, share the blog how to deploy the Pytorch deep learning model(computer vision) using lambda.
I have written some lambda…

marton mar suri
- 109
- 2
- 14
1
vote
0 answers
The warning: STOP: TOTAL NO. of ITERATIONS REACHED LIMIT. Increase the number of iterations (max_iter) or scale the data as shown in:
I am stuck with my Data Science project. When I perform my code:
log_clf = LogisticRegression(max_iter=10000, C=2)
svm_clf = OneVsRestClassifier(LinearSVC(C=0.01,loss = "hinge", random_state = 42))
voting_clf = VotingClassifier(estimators=[('lr',…

andsemenov
- 51
- 8
1
vote
1 answer
Tensorflow object detection API overfitting
I am creating tree detector using Tensoflow Object Detection API with the help of following tutorial : https://www.youtube.com/watch?v=a1br6gW-8Ss
My problem is that the model is overfitting the training set. How can I avoid it ?
My training set is…

Goga Kakabadze
- 31
- 1
- 5
1
vote
0 answers
Using early stopping with SVR and grid search
I am trying to use a grid search with my SVR model, and as it takes too much time to fit I wonder if I could use the early stopping, but I don't know how to do so.
Instead, I used max_iter, but still not sure of my best parameters. Any suggestion?…

Ibtissam
- 71
- 7
1
vote
2 answers
Cyclic transformation of dates
I would like to use the day of the year in a machine learning model. As the day of the year is not continuous (day 365 of 2019 is followed by day 1 in 2020), I think of performing cyclic (sine or cosine) transformation, following this link.
However,…

Ahmed El-Gabbas
- 398
- 3
- 10
1
vote
1 answer
Performance of ML model after StandardScaler transform on TEST data
Overview : I'm new to ML and learning sklearn preprocessing. I figured out that mean will not be 0 and std will not be 1 when we use sklearn preprocessing transform on TEST data (reason being we are using TRAIN data mean/std to standardize the test…

Veens
- 43
- 7
1
vote
1 answer
Identify time-series forecasting algorithm
I'm trying to build an algorithm in C# based on these videos (CLICK!) My question is not related to the coding part of these tasks.
I'm trying to gain a deeper understanding of this algorithm since it is perfect for my assignment. However, the…

Wizard-of-Koz
- 1,217
- 1
- 10
- 13
1
vote
0 answers
How to Implement Vectorized Backprop in Numpy
I'm working on a school project and am stuck on how to implement backpropagation in Numpy with the current forward prop structure I have. The aim of this script is to make a simple dynamic (meaning any number of layers and nodes) fully connected…

yupthatsme
- 47
- 7
1
vote
0 answers
How to classify multi-class data at different probability cutoff in Weka
Weka set default cutoff (i.e. 50%) to discriminate its data of two class and can easily classify on different cutoff by using SelectThreshold classifier in Weka interface. Now in a three class data, Weka choose the highest probability, say from…

Ravi Saini
- 11
- 3
1
vote
1 answer
What is the highest loss amount with keras model training?
Im training my model with Keras and I'm trying to read the evaluation statistics. I know what the loss function is for but what is that highest value possible? The closer to zero the better but I dont know if 0.2 is good.
I can see the loss is going…

thomas dees
- 47
- 4
1
vote
2 answers
Is a linear stack of layers equal to multilinear regression?
So for an application I'm making I'm using tf.keras.models.Sequential. I know that there are linear and multilinear regression models for machine learning. In the documentation of Sequential is said that the model is a linear stack of layers. Is…

thomas dees
- 47
- 4
1
vote
2 answers
Publishing images without their source
I have more than a million images those I will like to use as training data. How do I make this data available freely without compromising security?
I want the users to be able to use it quickly for training purpose, without giving hackers a chance…

shantanuo
- 31,689
- 78
- 245
- 403
1
vote
1 answer
Text Analysis in R: How to add variables to my machine learning classifier in addition to the tokens?
how to consider additional variables
I am working on a classification task using quanteda in R and I want to include some variables to be considered by my models apart from the bag of words.
for instance, I computed dictionary based sentiment…

Carbo
- 906
- 5
- 23