Questions tagged [python]

For questions related to AI implementation in the Python language

Filter by
Sorted by
Tagged with
51
votes
8answers
29k 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 ...
5
votes
4answers
327 views

What are examples of reference books to start with AI?

Can anyone suggest reference books to start with AI? Preferably, I am looking for books that provide source code in Java or Python.
12
votes
3answers
16k views

How do I compute the structural similarity between sentences?

I am working on a problem where I need to determine whether two sentences are similar or not. I implemented a solution using BM25 algorithm and wordnet synsets for determining syntactic & ...
6
votes
6answers
422 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.
2
votes
2answers
161 views

Can anyone suggest a small application based on an Artificial Intelligence which can be done by a beginner in AI?

Any small application based on real world application of AI which can be done easily at home for a beginner who is trying to make use of his basic programming skills into AI at the beginning level.
2
votes
1answer
98 views

How to find the category of a technical text on a surface-semantic-level

There are some predefined categories( Overview, Data Architecture,Technical Details, Applications etc). The requirement is to classify the input text of paragraphs into their resp. category. I cant ...
1
vote
1answer
219 views

Choice of inputs features for Snake game

I am designing a neural network using Deep Q-Learning, which teaches an agent how to play Snake (The classic Nokia game from the 90'ies). The goal of the game is to navigate the snake on a playing ...
1
vote
1answer
223 views

Reinforcement learning to play snake - network seems to not get trained at all

I am trying to build a network able to play snake game. This is my very first attempt to do such stuff. Unfortunately, I've stuck and even have no idea how to reason about the problem. I use ...
1
vote
1answer
82 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
42 views

Understanding log probabilities of actions in PPO objective

I'm trying to implement Proximal Policy Optimization algorithm (code here) but am confused about certain concepts:- 1) What is the correct way to implement log probability of a policy (denoted by ...