artificial-intelligence

'Similarity' in Data Mining

非 Y 不嫁゛ 提交于 2019-11-29 09:05:32
问题 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. 回答1: In the field of Data Mining, is there a specific sub-discipline called 'Similarity'? Yes. There

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

我的未来我决定 提交于 2019-11-29 06:59:10
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 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. Go to Project Target > Build Settings > Architectures and make Build Active Architecture Only = NO The

8-Puzzle Solution executes infinitely

和自甴很熟 提交于 2019-11-29 05:22:20
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 wrong in the logic. But it loops forever for these two inputs that I have tried : {8,2,7,5,1,6,3,0,4} and {3,1,6,8,4,5,7,2,0} . Both of them are valid input states. What is wrong with the code? Note For better viewing copy the code in a

How to adaptively add and use face images collected while authentication to improve performance of face authentication?

时间秒杀一切 提交于 2019-11-29 05:19:30
My current project is to build a face authentication system. The constraint I have is: during enrollment, the user gives single image for training. However, I can add and use images given by the user while authentication. The reason I want to add more images into training is, the user environment is not restricted - different lighting conditions, different distance from camera, from different MP cameras. The only relief is the pose is almost frontal. I think, the above problem is similar to the face tagging app widely available. Can anyone suggest a method to use the available images

Where to start: Natural language processing and AI using Python

旧街凉风 提交于 2019-11-29 04:17:51
问题 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. 回答1: The canonical AI book would be Stuart Russell and Peter Norvig's Artifical

Randomness in Artificial Intelligence & Machine Learning

拜拜、爱过 提交于 2019-11-29 04:03:35
问题 This question came to my mind while working on 2 projects in AI and ML. What If I'm building a model (e.g. Classification Neural Network,K-NN, .. etc) and this model uses some function that includes randomness. If I don't fix the seed, then I'm going to get different accuracy results every time I run the algorithm on the same training data. However, If I fix it then some other setting might give better results. Is averaging a set of accuracies enough to say that the accuracy of this model is

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

十年热恋 提交于 2019-11-29 03:47:21
问题 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

Detecting circles and shots from paper target

混江龙づ霸主 提交于 2019-11-29 02:44:21
I'm making a small project where i have to detect points scored from a given image of paper target. Something similar to TargetScan app for iPhone. I'm using openCV for processing image and basically i have two parts for this, one is to detect circles from a target(which works pretty good with Hough Circle Transform) and the second part is to detect shots. I need some ideas how to detect those shots from a given image. Here is an example image with circle detection ON (green line for circles detected and red point for center). What algorithms from openCV can be used to detect those shoots?

Ranking Selection in Genetic Algorithm code

浪尽此生 提交于 2019-11-29 02:30:11
I need code for the ranking selection method on a genetic algorithm. I have create roulette and tournament selections method but now I need ranking and I am stuck. My roulette code is here (I am using atom struct for genetic atoms) : const int roulette (const atom *f) { int i; double sum, sumrnd; sum = 0; for (i = 0; i < N; i++) sum += f[i].fitness + OFFSET; sumrnd = rnd () * sum; sum = 0; for (i = 0; i < N; i++) { sum += f[i].fitness + OFFSET; if (sum > sumrnd) break; } return i; } Where atom : typedef struct atom { int geno[VARS]; double pheno[VARS]; double fitness; } atom; Rank selection is

Return bestMove in minimax algorithm for tictactoe

我们两清 提交于 2019-11-29 01:11:34
问题 I have tried to code the minimax algorithm for tic-tac-toe given in Russel Norvig's book on Artificial Intelligence. It had everything except that the way to return the bestMove to the user. I am trying hard to return the bestMove, but cannot decide when to choose the bestMove. Help, anyone? moveT MiniMax(stateT state) { moveT bestMove; max_move(state,bestMove); return bestMove; } int max_move(stateT state,int & bestMove) { int v = -10000; if(GameIsOver(state)) { return EvaluateStaticPosition