Questions tagged [python]

For questions related to AI implementation in the Python language

Filter by
Sorted by
Tagged with
1
vote
0answers
14 views

How do to be stronger and faster Reversi AI like Alpha Zero?

At the beginning My English possible strange because I'm not a native speaker. So, don't mind such mistakes。 The real beginning from here I made AI for othello AKA reversi(8×8) like Alpha Zero ...
3
votes
2answers
25 views

Using a neural network to identify a stable region within a set of data?

I am working on a problem in which I am attempting to find a stable region in a spiral galaxy. The PI I'm working with asked me to use machine learning as a tool to solve the problem. I have created ...
48
votes
8answers
26k views

Why is Python such a popular language in the AI field?

First of all, I'm a beginner studying AI and this is not an opinion oriented question or one to compare programming languages. I'm not implying that Python is the best language. But the fact is that ...
0
votes
0answers
27 views

How could I locate certain words or numbers in a financial statement?

I would like to code a script that could locate a specific word or number in a financial statement. Financial statements roughly contain the same information, they are however not identical and ...
2
votes
0answers
22 views

Which machine learning algorithms can be used to build a recommendation system?

I am working on building a recommendation engine. I need to build a model that recommends similar items. Currently, I am using the Nearest Neighbor algorithm present in ...
0
votes
0answers
27 views

Fully-Configured Deep Learning VM in Python (VirtualBox or VMware)

Often when we start working on any new technology, the most common challenge that we face is "How can I not waste time setting up my environment but directly working on the technology?" If you aren’t ...
1
vote
1answer
61 views

How to Extract Information from the png Image

I'm trying to extract some particular information from the image(png). I tried to extract the text using the below code ...
0
votes
0answers
16 views

Why does my neural netowrk output the same wrong output for a XOR gate? [closed]

It is as the title states. I have tried to debug my program for a while now but I have failed to find the problem. I used the library scikit-cuda in order to multiply numpy matrices. The program has ...
1
vote
1answer
42 views

Can A.I/Deep Learning use one image as content for another image?

Is it possible for A.I to redraw an image in a new context? More specifically, suppose I take a photo of a notebook. I get the angle, lighting and perspective perfect. Now I copy an image I found ...
0
votes
1answer
26 views

how to identify which weights in the output belong to which class in Neural network? [closed]

I have a Multi-layer perceptron. My target variable contains 8 unique values i.e I will have 8 Neurons in the Output Layer. If I want to get weights for a specific class how do I know which neuron ...
2
votes
0answers
51 views

Is there a simple and understandable implementation of BERT?

I am not new to NLP, but, for some reason, I am unable to use BERT. I have seen a ton of blogs, Github repositories, but none could clarify BERT usage to me. It would be helpful if you could provide ...
1
vote
1answer
17 views

Is a VGG-based CNN model sometimes better for image classfication than a modern architecture?

I have an image classification task to solve, but based on quite simple/good terms: There are only two classes (either good or not good) The images always show the same kind of piece (either with or ...
1
vote
0answers
29 views

Deploy notebook in IBM Watson

I have a python notebook in IBM Watson Studio for a time series forecasting purpose. it takes two input data MAX MIN and it returns two lists of data having 10 steps ahead prediction of both ...
2
votes
0answers
7 views

How to learn using DDPG in python solely using a timeseries datasets

I have a lengthy timeseries datasets which contains several variables (from sensors etc) to be classified as actions or states. Providing they are successfully done, I want to learn a control policy ...
4
votes
1answer
216 views

How to implement a neural network for Flappy Bird in Python?

I am new in the field of AI. I am working to create the flappy bird using Genetic Algorithm. After reading and seeing some examples, I saw that most implementations use a Neural Network + Genetic ...
2
votes
1answer
34 views

when should I create a custom loss function?

Hi I'm using neural network to solve a multi regression problem. I'm trying to predict continuous values, to be more specific I'm making a tracking algorithm to track the position of an Object, I'm ...
2
votes
0answers
135 views

Why the loss keep increasing during training?

I'm trying to use TensorFlow and this how I compute the loss ...
1
vote
0answers
30 views

Did I understand deep Q leaning right? (Implementation)

Gday guys, so I tried to implement my own enviroment and agent in order to fully understand DQNs. The enviroment is a dungeon with five states. actionspace = 2 statespace = 5 !!!Action a0 is ...
-1
votes
3answers
2k views

How do I start learning AI with Python? [closed]

Can anybody suggest how to get started with Artificial Intelligence specifically with Python? I am looking for: Reliable resources I can use Basic test problems to solve Online tutorials and ...
-3
votes
1answer
51 views

Which Carrer path to Choose AI Or Game Developmen [closed]

I am An Second Year B.Tech Student. I have Basic Idea Of Unity,C# For Game development and I Recently starting Learning AI in Python So I Am Confused Which to Choose as Career.
3
votes
0answers
78 views

Deep Q-Network (DQN) to learn the game 2048

I am trying to build a Deep Q-Network (DQN) agent that can learn to play the game 2048. I am orientating myself on other programs and articles that are based on the game snake and it worked well (...
-2
votes
1answer
113 views

Python ERROR: No matching distribution found for tensorflow [closed]

Now as I understand that kind of technical questions is out of scope for the ai.stackexchange.com I will use stackexchange.com for such technical questions. Thank you for you all for your ...
1
vote
2answers
63 views

Running 2 NEAT nets on the same observations

So i have been playing around with neat-python. I made a program, applying neat, to play pinball on the Atari 2600. The code for that can be found in the file ...
0
votes
0answers
19 views

Ideas on how to train an AI to play Mario Kart with the DeSmuME Emulator

Gday guys, i have this idea in my mind for quite a while. I want to teach an AI to play Mario Kart on the NDS, which can hopefully beat me and my friends one day. Iam familiar with the theoretical ...
1
vote
1answer
149 views

How do I integrate Tensorflow with EV3DEV?

I've got a Lego Mindstorms EV3 with EV3DEV and EV3-Python installed. I wanted to try out artificial intelligence with the robot, and my first project is going to be to get the robot to try and ...
2
votes
0answers
15 views

How to choose the suitable Neural Network Architecture for Regression Tasks

so I'm working on a Project where I want to predict the Vehicle Position from the Vehicle Data like speed, acceleration etc.. now the data that I have comes also with a timestamp for each sample ( I ...
0
votes
0answers
24 views

How to calculate covariance matrix of the mini-batch in the k-th layer using Python?

I am a beginner in Python. I want to calculate the covariance matrix of a mini-batch in a given hidden layer.
2
votes
0answers
31 views

How to control the switches of a railway track with Artificial Intelligence?

Usually, it's very complicated to program a real time strategy game from scratch. Notable examples like Lemmings or Starcraft are software projects with a large amount of codelines. A much easier ...
13
votes
5answers
20k views

Why does C++ seem less widely used in AI?

I just want to know why do Machine Learning engineers and AI programmers use languages like python to perform AI task and not C++ even though C++ is technically a more powerful language than python.
3
votes
1answer
34 views

Why is batch gradient descent performing worse than stochastic and minibatch gradient descent?

I have implemented a neural network from scratch (only using numpy) and I am having problems understanding why the results are so different between stochastic/minibatch gradient descent and batch ...
4
votes
1answer
97 views

What are the ways to calculate the error rate of a deep Convolutional Neural Network, when the network produces different results using the same data?

I am new to the object recognition community. Here I am asking about the broadly accepted ways to calculate the error rate of a deep CNN when the network produces different results using the same data....
2
votes
0answers
27 views

how to use Softmax action selection algorithm in atari-like game

I'm currently writing a program using keras (python 3) to play a game similar to Atari games, only in this one there are objects moving in the screen in different angles and directions (in most of ...
6
votes
6answers
394 views

AI beginners books for coding

Does anyone know a good book to buy for beginners to coding for artificial intelligence? I have done some coding in Java and a little with Python, but I would be willing to learn a new language too.
4
votes
1answer
38 views

How Machine Learning Studies Correlation?

This is my problem: I have 10 variables that I intend to evaluate two by two (in pairs). I want to know which variables have the strongest relationships with each other. And I'm only interested in ...
0
votes
0answers
25 views

Matterport MRCNN and multiclass classification

I want to create a model which solve a multiclass classification problem. The main concept is: every picture contain only one object the background is very simple all object is coming from the same ...
1
vote
0answers
28 views

I am trying to create a network with dynamic connections for every different training example

I have developed a new algorithm which has dynamic connections. it is based off of the following paper: https://www.researchgate.net/publication/...
0
votes
1answer
414 views

'numpy.ndarray' object is not callable error [closed]

I want to find optimize minimum value but it shows 'numpy.ndarray' object is not callable error. This is my code in python ...
3
votes
1answer
696 views

How do you handle multiple categorical values in a single column for wide_deep model in tensorflow?

To start, let me just say that I am very new to tensorflow and Machine Learning in general. But, as part of my learning project I am trying to adapt the tensorflow wide and deep model to generate ...
0
votes
1answer
54 views

How to train a LSTM model with multi dimensional data

I am trying to train my model using LTSM layer in Keras (python). I have some problems regarding the data representation and feeding it into the model. My data is 184 XY coodinates encoded as a numpy ...
1
vote
1answer
31 views

Can ConvLSTMs outuput images?

I am working on an image to image regression task which requires me to develop a deep learning model that takes in a sequence of 5 images and return another image. The sequence of 5 images and the ...
2
votes
0answers
43 views

Image to image regression in tensorflow

I am working on an image to image regression task which requires me to develop a deep learning model that takes in a sequence of 5 images and return another image. The sequence of 5 images and the ...
1
vote
0answers
40 views

How can construct python programming environment? [closed]

Now, I don't have full experiences with python using anaconda, so help me. In anaconda how can I use python in the field of object tracking.
0
votes
0answers
19 views

Suggestions for Deep Learning for regression on huge 3D volumes

I have a dataset of 3D images (volumes) with dimensions 400x250x400. For each input image I have an output of the same dimensions. I would like to train a machine learning (or deep learning) model on ...
4
votes
2answers
109 views

Is it possible to teach an AI to edit video content?

Every week I will get a lot of videos from a game that I play, outside the game where you throw wooden skittle bats at skittles, and then I will cut videos, so that, at the end. there is video only ...
0
votes
0answers
12 views

How to use FSICFR (or CFRM) trained result in real dice game playing

I trained a Liar Dice game (similar rule please refer to https://www.wikihow.com/Play-Liar%27s-Dice , and i am using 2 player + 1 dice vs 1 dice) with FSICFR algorithm and got an information set with ...
30
votes
8answers
13k views

Is a switch from R to Python worth it?

I just finished a 1-year Data Science master's program where we were taught R. I found that Python is more popular and has a larger community in AI. Is it worth for someone in my position to switch ...
1
vote
1answer
75 views

Deep Q Learning Algorithm for Simple Python Game makes player stuck

I made a simple Python game. A screenshot is below: Basically, a paddle moves left and right catching particles. Some make you lose points while others make you gains points. This is my first Deep Q ...
1
vote
0answers
10 views

Extracting Descriptors and feature points for 3d mesh

I'm programming my work with python, and I have a mesh and I want to extract 3d descriptors and feature points from it( trying to work on multi-scale strategy) , to visualize them later on the mesh, ...
2
votes
0answers
40 views

Grouped Text classification

I have thousands groups of paragraphs and I need to classify these paragraphs. The problem is that I need to classify each paragraph based on other paragraphs in the group! For example, a paragraph ...
0
votes
0answers
39 views

Understanding policy update in PPO2

I have a question regarding the functionality of the PPO2 algorithm together with the Stable Baselines implementation: From the original paper I know that the policy parameters $\theta$ are updated K-...