artificial-intelligence

comparing images programmatically - lib or class [closed]

老子叫甜甜 提交于 2019-12-06 03:33:40
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 6 years ago . My objective is to supply 2 image files, and get a true/false response as to whether these 2 files could be the same (within an

AI library framework in Ada

谁说我不能喝 提交于 2019-12-06 03:33:20
I'm looking for an Ada constructed framework for AI. I think Ada would be perfect for implementing temporal and stochastic paradigms due to its tasking and real-time mechanisms, but did not find anyone who tried to make such a libraries. Actually I did not find strong implementations on other languages too. For C# I found http://www.c-sharpcorner.com/1/56/ , and for C++ I found http://mind.sourceforge.net/cpp.html but both did not get much popularity. Maybe java has good AI libraries too, but I do not know. So, do you know an Ada implementation? Would it be useful for more anyone? If you know

How Many Epochs Should a Neural Net Need to Learn to Square? (Testing Results Included)

不羁的心 提交于 2019-12-06 03:25:53
Okay, let me preface this by saying that I am well aware that this depends on MANY factors, I'm looking for some general guidelines from people with experience. My goal is not to make a Neural Net that can compute squares of numbers for me, but I thought it would be a good experiment to see if I implemented the Backpropagation algorithm correctly. Does this seem like a good idea? Anyways, I am worried that I have not implemented the learning algorithm (fully) correctly. My Testing (Results): Training Data : 500 randomly generated numbers between .001 and .999 using Java's Random Network

Python or Ruby for webbased Artificial Intelligence?

我怕爱的太早我们不能终老 提交于 2019-12-06 02:40:46
问题 A new web application may require adding Artificial Intelligence (AI) in the future, e.g. using ProLog. I know it can be done from a Java environment, but I am wondering about the opportunities with modern web languages like Ruby or Python. The latter is considered to be "more scientific" (at least used in that environment), but using Google there seems to be a preliminary ProLog implementation for both. Any suggestions on modern (open source) web languages (like Python or Ruby) in

A.I. that can navigate a randomly generated 2D city

荒凉一梦 提交于 2019-12-06 02:12:35
问题 I'm writing an iOS game (Using UIView), which has a randomly generated 2D city. I need attacking A.I., that will take an intelligent path to find the player (without colliding with buildings). Can someone point me in the right direction as to what kind of algorithms I would use to achieve this? Edit: I've decided to use A*. I will create a grid on the map, test every grid intersection point, if that point is inside a building, I'll invalidate the point. The attacking A.I. player will then

How to identify revisiting users without login info

二次信任 提交于 2019-12-06 02:07:17
I want to create a recommendation engine for my website. Suppose a user comes to my website. I want to recommend him what other products he can view. I can create a recommendation engine. But, how to find patterns? What I have thought is, if by any means I can know which products were browsed by an user, I can find a pattern in that and suggest to another user. But, is this information tracking possible without making the user login? Tracking IP address may be one way, but IP may be dynamic. I have heard about cookies. Please help me. Are there any APIs for this? Davide Aversa Setting cookies

How do I use Drools Planner?

纵然是瞬间 提交于 2019-12-06 01:00:00
问题 I have a scheduling problem where each student expresses his preferences for a lecture and a course timetable is generated for all of the students at the same time (in a batch mode if I may). From what I read around and understand, Drools Planner is very well suited to solve this type of problem. I installed Drools and GEF into my Eclipse IDE. Everything loads just fine. Unfortunately, I can not figure out how to build a simple project. I looked online for references and found Drools Planner

How to get response from .clp(CLIPS) file?

回眸只為那壹抹淺笑 提交于 2019-12-06 00:58:45
I am trying to load .clp file in my iPhone application. For that I am using below code NSString *filePath = [[NSBundle mainBundle] pathForResource:@"autodemo" ofType:@"clp"]; environment = CreateEnvironment(); char *clipsFileChar = (char *)[filePath cStringUsingEncoding:NSASCIIStringEncoding]; Load(clipsFileChar); Reset(); Run(-1); NSString *evalS = [NSString stringWithFormat:@"(find-all-facts ((?f state-list)) TRUE)"]; char * evalStr = (char *)evalS; DATA_OBJECT obj;// = {0,-1}; // obj.type = STRING; // obj.value = evalStr; int i = Eval(evalStr, &obj); NSLog(@"%d",i); now when I run this code

How do you implement a program to find the shortest path in a 2d plane?

假如想象 提交于 2019-12-06 00:52:01
If on a 2d plane there are a no. of obstacles of all possible 2d shapes(circles, quadrilaterals, triangles, irregular shapes...) then how do you implement a mechanism to find the shortest path around the obstacles? I'm considering visual c++, as it provides many graphical classes to draw such figures. I have come quite far 1) Firstly i'll be using A* search(A-star) to find the path with least cost 2) The path with the least displacement from the straight path will be considered for best path. (not really sure though) 3) The shortest path to get around a figure, for eg from the start, is a line

Minimax/ Alpha beta pruning Move Ordering?

青春壹個敷衍的年華 提交于 2019-12-06 00:11:03
I've read (for example, http://radagast.se/othello/Help/order.html ) that searching on the best moves at each level first (which can be found using iterative deepening) makes the search go much faster. How would one go about searching on the best moves possible without using too much additional memory and cpu time? There are basically two strategies: Static move ordering Dynamic move ordering Dynamic move ordering uses information from previous searches, either because you transpose into the same position again, or you have already reached the position in a previous less thorough search. That