Tabu search examples - artificial-intelligence

Do you know a good and most important detailed Tabu search example.
Something not to hard, as I am in the way to understand this cool algorithm.
I have found this tutorial and this with a SAT problem, but it is not very detailed

I learned it from Wikipedia years ago, but this book is much better. For code examples, take a look at OptaPlanner's source code.

I wrote a blog about tabu search and how it's used to solve the TSP,
along with the java implementation. I hope it's of help.

Clever Algorithms by Jason Brownlee PhD describes Tabu Search and also includes sample Ruby code.

Related

Topic Modeling tool multilingual

In the past few days I have been trying to work with the tool understanding topic modeling for multiple languages. This is the tool I have been trying to understand.
https://code.google.com/p/topic-modeling-tool/
Well my first question is to know whether it works for other languages like Hindi, Spanish,French and many others.
If it works with other languages then Can anyone explain the input procedure for languages like Hindi, Spanish, etc. ? I know that it works for English really well. Please help me out. Thanking everyone in advance.
According to the discussion here, people have been using it for French and Russian
You may like this other open-source project:
https://github.com/ArtificiAI/Multilingual-Latent-Dirichlet-Allocation-LDA
Here is a tutorial on how to use it for many languages and with explanations on what it does:
https://github.com/ArtificiAI/Multilingual-Latent-Dirichlet-Allocation-LDA/blob/master/Multilingual-LDA-Pipeline-Tutorial.ipynb

Graph Databases' Implementation

I am having trouble visualizing a Graph Database.
Visualizing an RDBMS is really very simple and I was able to understand from the first tutorial itself when I started learning it some 4-5 years ago.
But I am not able to understand Graph Databases.
I am also unable to get any good links on this topic, hence posting this question here.
Specifically, I am looking for the following:
Some really simple book/link on Graph Dbs
Atleast some knowledge on the implementation details of a Graph DB (I hope all Graph DBs would be having atleast a few basic things in common).
Thanks a lot in advance guys,
Protoge is your best bet to get started understanding ontologies.
IsaVis is a pretty common tool for visualizing you db.
Jena and Sesame are you best bets for implementations (both in java) but for prototyping python rocks and rdflib is the must use tool there.
There are plenty of others out there but those are my suggested entry vehicles. YMMV
Neo4j did a quite good job for me explaining the concept. Also starting with it to test is quite easy to do. You could start here:
http://neo4j.org/learn/

Guide to scala.io and simple IO for Scala 2.9?

Does anybody have a guide to this, containing code samples, tips and an outline of the different IO approaches?
I have checked out the the API documentation. There are also some basic examples with scala.io.Source in Programming in Scala.
There are some pretty basic questions already answered here on SO.
I'm looking for something more in depth.
Alternatively, any tips on exactly which bits of the API documentation to focus on and which Java libraries? I'm familiar with System.IO in .NET land, but not so much Java.
Scala's standard library is currently pretty limited for I/O, so you'll probably want to dig into Java's libraries. Oracle's Basic I/O tutorial, covering java.nio, looks like a reasonable starting point.
A while ago there was some discussion about a community driven redesign of Scala I/O called scala-io, but I'm not sure the official status. The mailing list hasn't seen much recent activity, but the code in Github is being actively developed (incubator mailing list and Github project). In his answer, hishadow gave a link to scala-io documentation.
My tip is to look also at tools Path,File and Directory.
They have little sugar (that everyone has in their little utils library) like:
val writer = File("/my/file").bufferedWriter
File.closeQuietly(writer)
Directory("myDir").walk
Then have a look at Process like here
There is an in-development IO library with documentation available at http://jesseeichar.github.com/scala-io/. Included are examples for different usages.
The source repository is at https://github.com/jesseeichar/scala-io.
I recommend looking at java.nio.
Due to technical limitations of the underlying Java platform implementing IO in Scala wasn't a good idea.
This has changed with Java 7, which provides good Java APIs for everything related to file management.
There are some thoughts about an IO library for Scala, but no decision about that yet.
The author of scala-IO, Jesse Eichar, has recently began a series of articles about using Scala-IO on his blog: here's the 'getting started' entry.

A B+tree simple implementation in C

I'm working on a fun project where I need a simple key/value store that uses B+Trees. I studied them some years ago, and to be honest, I don't want to reinvent the wheel, so I'm looking for a simple implementation in C of b+tree that I can just include in my project.
I know of sqlite's, dbm's and tokyocabinet's ones but they're a little too "complicated" for my needs. Is there any (even pedagogical) work on this you can refer me to? Do you have some code to share?
Thanks a lot!
There's one listed in the wikipedia article:
Interactive B+ Tree Implementation in C
Perhaps you can edit out the "interactive" parts?
I think there are many links where you can read and implement for yourself(which is the best way since it helps you learn).
But if you dont have time you can see one forum here.
You can customize it to your needs
http://www.codeguru.com/forum/showthread.php?t=453150

Learning C: video course recommendation

I'm required to learn C to help a professor of mine with some lab work. I've got only about 2 weeks to get ready. Anyone can recommend a good course/book, but preferably a video course that's thick and decent (like the MIT open courses style), but anything else that you've had good experience with is welcome too.
Thank you all
The Stanford video lectures are interesting.
You can find them here:
http://www.youtube.com/view_play_list?p=BD4CAF263B15E5E4&search_query=stanford+program+in+c
EDITED: Sorry, but the above link is about Java. For C, see the following videos: http://www.youtube.com/watch?v=kMzH3tfP6f8&videos=9CyTscpFk5M&playnext_from=TL&playnext=1

Resources