нейронные-сети

Neural network in C++ multiplication of matrices of different sizes

There was a problem I want to write a simple neural network in C++, but I ran into one problem, I need to multiply the mat ... "output: " + str(output)) return activation_function(output) == 1 print("result:" + str(predict(vodka, rain, friend)))

Practical application of the clique?

In graph theory, a clique of an undirected graph is a subset of its vertices, such that any two vertices of the subset are co ... puter network, another network, or even something that can be represented as a graph the need to search for this very clique?

How to make a regression neural network in Python?

How can I implement a regression neural network in Python? I recently started studying neural networks, and I ran into a prob ... t the direction of movement of the snake, for example, 0-to the left, 1-to the right. Accordingly, also for the Y coordinate.

Why does the Sigmoid activation function work, but ReLU does not?

There is such a code: from keras.models import Sequential from keras.layers import Dense import numpy from numpy import exp, ... (should be: 0, 1): For ReLU: accuracy: 50.00% [[0.9953842]] [[0]] For Sigmoid: accuracy: 100.00% [[0.13338517]] [[1]]

L1 and L2 regularization, L1 and L2 norm

What do these concepts have in common and how do they differ? Do I understand correctly that with L1 regularization, some o ... not "fade" because of one feature? And L1 and L2 are the norm, are they just different options for calculating the distance?

Are there any public services available/sites/programs/libraries that allow you to describe a picture in words?

The same Google has a neural network that can describe what is happening on it in the form of a phrase based on a photo. Question: are there any public services available/sites/programs/libraries that allow you to do this?

Why do activation functions in neural networks take on such small values?

After all, even if the values of the activation function were in the values from -10 to 10, this would make the network more ... ble, as it seems to me. After all, the problem can't just be the lack of a suitable formula. Please explain what I'm missing.

Input data for a convolutional neural network

I can't figure out how to convert images to the input of the convolutional network. For example, I want to recognize circles ... rk is trained on 100x100 pxs data: At the output, I want to recognize all the circles: The drawings are approximate.

Neural networks in Python for the "teapot" [closed]

Closed. It is impossible to give an objective answer to this question . Answers to it are not accepted at the moment. ... re simple examples in Python for "blonde with a teapot in her hands"? In general, I would be grateful to anyone who can help.

Dependencies between inputs and outputs of a neural network

Is it possible to determine the dependencies between the inputs and outputs of a neural network in the form of some formula o ... possible in any way to simplify the calculations by defining the dependencies, to bring all this to the dependency equations?

Video card error, python

I am writing my first GAN neural network in pytorch. During training, the error CUDA error: an illegal memory access was enco ... och: {epoch} Loss D.: {loss_discriminator}\n" + f"Epoch: {epoch} Loss G.: {generator_loss}")

Neural network with multiple output layers in Python

You need to write a neural network in Python for multi-label classification without using third-party modules to create neural networks. I ask for any example, I did not find anything on the Internet myself. Thanks.

Neural networks. Sigmoid for a large sum

I ran into the following problem: when multiplying the input layer by the weights, I get a huge number(about 400 (2500 inputs ... actically equal to 0, and in the used yap is generally equal to 0, hence 1/1+0 == 1). A mistake? Where? Thank you in advance.

LSTM keras: how to predict the value on multiple features with time series?

I need to predict the value of the column Close (stock price) with 3 inputs: Close, Open and Volume. Example of a dataset: ... 1)) predictions = model.predict(x_test) print(predictions) print('rmse:', np.sqrt(np.mean(((predictions - y_test) ** 2))))

Search for images containing paper with text

There are several photos available. It is necessary to find among them those photos on which a sheet of paper with text is ca ... ava/Python, then it will be very useful. Here are 2 examples of the desired images and 1 example of an unsuitable image.

Which recognition method is relevant for recognizing handwritten letters (Cyrillic)?

If the task is to recognize handwritten letters, which method/algorithm of machine learning is most relevant and gives more a ... s of the Russian alphabet. We need help in choosing the most optimal algorithm/method for recognizing handwritten characters.

Text classifier by speech style

Hello. The task is to develop a text classifier based on the style of speech (artistic, journalistic, etc.). It is necessary ... ate the source text into a vector of characteristics that the classifier will eventually work with. How can this be done?

Examples of convolutional neural networks

Where can I find full-fledged examples of convolutional neural networks for C# without using third-party libraries?

How do I submit my own text to the input of a neural network?

There is a neural network that recognizes a good review of a movie or a bad one. How do I submit my own text to the network i ... ['accuracy']) hist = model.fit(x_train_tfidf,y_train1,validation_data = (x_test_tfidf,y_test ),epochs = 5,batch_size = 64)

Help me understand the example of using php-ml

I spent a couple of hours trying to figure out the example for php-ml. I don't understand what is happening in this example. ... to the example itself php-ml-examples/classification/languageDetection.php And the library https://github.com/php-ai/php-ml