artificial-intelligence

Alpha-beta pruning for Minimax

可紊 提交于 2019-11-30 08:47:29
I have spent a whole day trying to implement minimax without really understanding it. Now, , I think I understand how minimax works, but not alpha-beta pruning. This is my understanding of minimax: Generate a list of all possible moves, up until the depth limit. Evaluate how favorable a game field is for every node on the bottom. For every node, (starting from the bottom), the score of that node is the highest score of it's children if the layer is max. If the layer is min, the score of that node is the lowest score of it's children. Perform the move that has the highest score if you are

an error “No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, VALID_ARCHS=armv7 armv7s).”?

南笙酒味 提交于 2019-11-30 08:38:55
问题 I have Xcode 4.6. I downloaded this project When run it i receive a message No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, VALID_ARCHS=armv7 armv7s). Where and what i have to change? I have no idea what should i do? Thanx 回答1: If you are in Xcode 5.0 , this may arise if you select a 64 bit (simulator for iPhone 5S) simulator instead of 32 bit simulator. This happened to me. It may help some one, because I didn't find any answer to solve this till I found it myself.

8-Puzzle Solution executes infinitely

荒凉一梦 提交于 2019-11-30 07:52:49
问题 This question was migrated from Software Engineering Stack Exchange because it can be answered on Stack Overflow. Migrated 7 years ago . I am looking for a solution to 8-puzzle problem using the A* Algorithm . I found this project on the internet. Please see the files - proj1 and EightPuzzle . The proj1 contains the entry point for the program(the main() function) and EightPuzzle describes a particular state of the puzzle. Each state is an object of the 8-puzzle. I feel that there is nothing

'Similarity' in Data Mining

安稳与你 提交于 2019-11-30 07:09:15
In the field of Data Mining, is there a specific sub-discipline called 'Similarity'? If yes, what does it deal with. Any examples, links, references will be helpful. Also, being new to the field, I would like the community opinion on how closely related Data Mining and Artificial Intelligence are. Are they synonyms, is one the subset of the other? Thanks in advance for sharing your knowledge. Yin Zhu In the field of Data Mining, is there a specific sub-discipline called 'Similarity'? Yes. There is a specific subfield in data mining and machine learning called metric learning, which aims to

Time Series Prediction via Neural Networks

倾然丶 夕夏残阳落幕 提交于 2019-11-30 06:18:48
问题 I have been working on Neural Networks for various purposes lately. I have had great success in digit recognition, XOR, and various other easy/hello world'ish applications. I would like to tackle the domain of time series estimation. I do not have a University account at the moment to read all the IEEE/ACM papers on the topic (for free), nor can I find many resources detailing using ANN for time series forcasting. I would like to know if anyone has any suggestions or can recommend any

Where to start: Natural language processing and AI using Python

纵然是瞬间 提交于 2019-11-30 05:29:05
My goal is to write a program capable of extracting tone, personality, and intent from human language inquiries (e.g. I type: How are you doing today? And the AI system responds with something like: Fine. How are you?) I'm aware this is a non-trivial problem, so what deep-learning topics should I start becoming familiar with and what Python modules are most useful? I've already started looking at NLTK. Thanks. The canonical AI book would be Stuart Russell and Peter Norvig's Artifical Intelligence and the accompanying course: https://www.udacity.com/course/intro-to-artificial-intelligence-

Algorithm to determine the winner of a Texas Hold'em Hand

人走茶凉 提交于 2019-11-30 05:25:53
Ok, so I am making a Texas Hold'em AI for my senior project. I've created the gui and betting/dealing procedures, but I have reached the part where I need to determine who won the hand, and I do not know the best way to approach this. I am using python btw. ATM i have 2 lists, one for the 7 player cards, one for the 7 computer cards. Currently all cards are stored as a struct in the list as {'Number': XX, 'Suit': x}, where number is 2-14, suit is 1-4. The way I was going to approach this, is make a function for each hand type, starting with the highest. Eg. self.CheckRoyal(playerCards), and

What's differential evolution and how does it compare to a genetic algorithm?

旧时模样 提交于 2019-11-30 05:05:12
From what I've read so far they seem very similar. Differential evolution uses floating point numbers instead, and the solutions are called vectors? I'm not quite sure what that means. If someone could provide an overview with a little bit about the advantages and disadvantages of both. Well, both genetic algorithms and differential evolution are examples of evolutionary computation. Genetic algorithms keep pretty closely to the metaphor of genetic reproduction. Even the language is mostly the same-- both talk of chromosomes, both talk of genes, the genes are distinct alphabets, both talk of

Why is a bias neuron necessary for a backpropagating neural network that recognizes the XOR operator?

不羁岁月 提交于 2019-11-30 05:02:51
问题 I posted a question yesterday regarding issues that I was having with my backpropagating neural network for the XOR operator. I did a little more work and realized that it may have to do with not having a bias neuron. My question is, what is the role of the bias neuron in general, and what is its role in a backpropagating neural network that recognizes the XOR operator? Is it possible to create one without a bias neuron? 回答1: It's possible to create a neural network without a bias neuron...

Interesting NLP/machine-learning style project — analyzing privacy policies

廉价感情. 提交于 2019-11-30 04:46:05
问题 I wanted some input on an interesting problem I've been assigned. The task is to analyze hundreds, and eventually thousands, of privacy policies and identify core characteristics of them. For example, do they take the user's location?, do they share/sell with third parties?, etc. I've talked to a few people, read a lot about privacy policies, and thought about this myself. Here is my current plan of attack: First, read a lot of privacy and find the major "cues" or indicators that a certain