Skip to main content

Questions tagged [implementation]

Filter by
Sorted by
Tagged with
0 votes
0 answers
16 views

I am trying to apply the idea from Embedding Deep Networks into Visual Explanations and see if it works on Transformers. The performance is terrible because the accuracy hasn't passed 10%. Can someone ...
Simple's user avatar
  • 101
3 votes
1 answer
103 views

ChatGPT 3.5 swiftly aborts certain questions. Q: How would one build a bomb? ChatGPT: I can't assist with that. At this stage, this answer could simply be a blacklist of certain terms. Further ...
AnoE's user avatar
  • 153
0 votes
1 answer
40 views

Dear TensorFlow experts, I am trying to understand the following output of the TensorFlow LeakyReLU function, which seems to have very low precision: ...
Anna Christine's user avatar
1 vote
0 answers
58 views

I am trying to create a kmeans algorithm that is based on the Earth Movers Distance instead of the Euclidean distance. However, when I run it, it just returns the same value for all data points. The ...
Ozzy08's user avatar
  • 11
0 votes
1 answer
82 views

I'm learning the theory and implementation of PCA algorithm in the book 'Mathematics For Machine Learning' and finishing the official tutorial notebook in ...
xjtupanda's user avatar
2 votes
1 answer
87 views

I am having difficulty achieving the same result as in sklearn while implementing linear regression model from scratch. After adjusting the learning rate, I obtained an AUC of 0.694 for this binary ...
Kyv's user avatar
  • 151
1 vote
0 answers
57 views

I am starting with deep learning and decided to code a backpropagation algorithm on Python 3. I have followed many tutorials and have taken as example many programs that work. Yet, for some reason, my ...
Clement Genninasca's user avatar
0 votes
1 answer
176 views

I need to implement a customized DataLoader, that inherits from torch.data.utils.DataLoader. I have searched it for half hour, but there is no example or doc about this. What methods of it should I ...
EvilRoach's user avatar
  • 163
1 vote
0 answers
676 views

I just started learning ML, so I tried to implement logistic regression on my own in 2 ways (the first code and the second code), but they aren't working, I cross-checked by using sklearn (third code ...
Prathvik G S's user avatar
1 vote
2 answers
949 views

I am working on implementing a Naive Bayes Classification algorithm. I have a method def prob_continous_value which is supposed to return the probability density ...
Evan Gertis's user avatar
2 votes
0 answers
651 views

I am trying to perform a simple linear regression using Pytorch lightning (a network with only one neuron). The network is supposed to learn a simple function: y=-4x...
erap129's user avatar
  • 121
2 votes
0 answers
616 views

Here is my dataset: ...
Evan Gertis's user avatar
6 votes
1 answer
2k views

There are two packages in R that implement the UMAP algorithm for low-dimensional embedding ('uwot' and 'umap'). I've found they can give vastly different results for some datasets. For example, the ...
Alon Gelber's user avatar
1 vote
1 answer
263 views

Why do we think that stochastic gradient descent is going to find a minimum at all? I mean on each iteration SGD moves in the direction that reduces only current batch's error (SGD doesn't care about ...
mathgeek's user avatar
  • 121
1 vote
0 answers
67 views

I am looking up sources to implement SGD with momentum, but they are giving me different equations. (beta is the momentum hyper-parameter, ...
Bersan's user avatar
  • 111

15 30 50 per page
1
2 3 4 5
8