Questions tagged [ann]
22 questions
1
vote
1 answer
Understanding outputs from ANN and how to improve validation loss
I apologise if this is a bit long winded, but it was suggested by another user that I post.
I will start by saying that I am very new to the world of machine learning and deep learning. As such, the most important thing I am after is the…
Dean
- 125
- 4
1
vote
1 answer
MLP sequential fitting
I am fitting a Keras model, using SGD
Input dataset X_train has 55000 entries.
Can anyone explain the yellow highlighted values?
For me, when each epoch is done, this should correspond to 55000/55000.
model =…
sidhom slim
- 13
- 3
1
vote
2 answers
How can ANN handle varied sized inputs?
I have a dataset with a message (string) and an associated mood. I am trying to use an ANN to predict one of the 6 moods using the encoded inputs.
This is how my X_train looks like:
array([list([1, 60, 2]),
list([1, 6278, 14, 9137, 334, 9137,…
ChaoS Adm
- 141
- 2
1
vote
1 answer
How to properly train your Self-Organized Map?
I recently stumbled upon the Self-Organized Map - an ANN architecture used to cluster high dimensional data - while simultaneously imposing a neighborhood structure on it. It is trained through a competitive learning approach where neurons compete…
Steve
- 41
- 3
1
vote
1 answer
ANN Classifier for extracted discrete image features
I have a features extraction algorithm that works well to extract features from images. I want to develop an ANN to classify those images based on those features. I have extracted features in a csv file as columns and rows.
I know we can use CNN to…
DevLoverUmar
- 121
- 6
1
vote
0 answers
ANN return many result differents
I made an application that uses neural networks, its function is to classify the type of user that is, it can be legitimate or intrusive, the data was saved in the database, when I give it in the classify button it returns several results that vary…
information
- 141
- 4
1
vote
1 answer
Does derivative of an activation function refer to process of back-propogation in ANN?
I am confused that in ANN, we use Gradient Descent to find the curve of the optimal points of predicted values.
Let's say we use MSE (Mean Squared Error) and the lost function is 1/2m * (y-y')^2
And the cost function is sum of lost function…
Mystheman
- 13
- 3
1
vote
1 answer
Understand the reason of embedding and the size inside it in Pytorch
I'm very new to pytorch - taking a course in udemy.
There is something I find hard to understand and would like to get explaination about, in a bit simpler words than what I can find in the documentation.
one of the lessons is about solving…
Reut
- 349
- 2
- 13
1
vote
0 answers
Near duplicate detection algorithms for a near real time system
I'm looking for near-duplicate detection algorithms or techniques for a near-real-time system with large document volumes. I know LSH is the most popular industry-standard algorithm for syntactical use cases but I'm trying to find better…
Murali Mopuru
- 61
- 3
1
vote
0 answers
Some models are over fitting and some are under fitting, please help me where I am doing wrong
I am getting 100% accuracy for the below models. can you please advise me where I am doing wrong? If it is due to overfitting then why other models like below do not over-fit the model.
Attached same code for random forest
from sklearn.ensemble…
Deep
- 11
- 3
1
vote
1 answer
Combine multiple vector fields for approximate nearest neighbor search
I have multiple vector fields in one collection. My use-case is to find similar sentences in similar contexts. The sentences and contexts are encoded to float vectors. Therefore, I have one vector for the sentence and another vector for the context…
roemchine
- 11
- 1
0
votes
0 answers
Create a pipeline for recursive eliminartion using artifical neural nets
I am trying to use RFE with Artificial neural nets but I am getting the error that "'Sequential' object has no attribute '_get_tags'" . Here is my code snippet. Any help would be appreciated.
model_2 = Sequential([
Dense(9, activation='linear'),…
Kanan H Patel
- 1
- 2
0
votes
1 answer
In neural networks model, which number of hidden units to select?
In the neural networks model, how many numbers of hidden units need to keep to get an optimal result, as per Cybenko theorem which demonstrates that only one hidden layer is sufficient to solve any regression/classification problem but the selection…
coding_ninza
- 129
- 1
- 2
- 8
0
votes
1 answer
model.evaluate gives low results?
i have an image dataset and there are 6300 images with 5 classes . The features extracted and dataset reduced to 256 features. This dataset gives good results(%99) when tested ANN with Backpropagation(tensorflow). I'm working on ANN weights…
0
votes
0 answers
Can I use faiss as retrieve on recommendation system?
I'm planning on using faiss to generate candidates and then lightgbm to rank the candidates.
I think about using E-commerce data, as most of the examples I see using faiss are textual data.
Is using faiss for this a good approach?
Marcos Mota
- 1
- 1