Reader small image

You're reading from  Hands-On Artificial Intelligence with Java for Beginners

Product typeBook
Published inAug 2018
Reading LevelIntermediate
PublisherPackt
ISBN-139781789537550
Edition1st Edition
Languages
Right arrow
Author (1)
Nisheeth Joshi
Nisheeth Joshi
author image
Nisheeth Joshi

Nisheeth Joshi is an associate professor and a researcher at Banasthali University. He has also done a PhD in Natural Language Processing. He is an expert with the TDIL Program, Department of IT, Government of India, the premier organization overseeing language technology funding and research in India. He has several publications to his name in various journals and conferences, and also serves on the program committees and editorial boards of several conferences and journals.
Read more about Nisheeth Joshi

Right arrow

Preface

Artificial intelligence, which is becoming increasingly relevant in the modern world, where everything is driven by technology and data, is the process of automating any system or process to carry out complex tasks and functions automatically in order to achieve optimal productivity.

Hands-On Artificial Intelligence with Java for Beginners explains the basics of AI using popular Java-based libraries and frameworks to build your smart applications.

Who this book is for

Hands-On Artificial Intelligence with Java for Beginners is for Java developers who want to learn the fundamentals of artificial intelligence and extend their programming knowledge to build smarter applications.

What this book covers

Chapter 1, Introduction to Artificial Intelligence and Java, introduces artificial intelligence. It gives a very brief introduction to artificial intelligence, and how we can install and work with Java.

Chapter 2, Exploring Search Algorithms, will introduces two basic search techniques—Dijkstra's algorithm and the A* algorithm.

Chapter 3, AI Games and Rule-Based System, discusses game playing, how game playing works, how we can implement game playing in Java, what rule-based systems are, how we can implement a rule-based system, and how we can perform interfacing with rule-based systems in Java. We'll implement a rule-based system in Prolog and we'll perform the interfacing of Prolog with Java.

Chapter 4, Interfacing with Weka, discusses how to interact with Weka and how to perform interfacing with Weka, so the chapter covers how to download Weka and how to work with datasets.

Chapter 5, Handling Attributes, explains how to handle attributes while developing different kinds of classifiers and clusters. We'll also learn about different techniques for filtering attributes.

Chapter 6, Supervised Learning, shows how supervised models are trained, how we can develop a classifier, how we can perform evaluation on a classifier, and how we can make predictions on a classifier.

Chapter 7, Semi-Supervised and Unsupervised Learning, explains the differences between a supervised learning model and a semi-supervised learning model, and we'll implement a semi-supervised model.

To get the most out of this book

The prerequisites for this book are that you should have an understanding of AI, you should have taken a course on AI, and you should have a working knowledge of Java.

This book has the following software requirements:

  • NetBeans 8.2
  • Weka 3.8
  • SWI-Prolog 7.2-7.6

This course has been tested on the following system configurations:

  • OS: Windows 7, Windows 10, macOS, Ubuntu Linux 16.04 LTS
  • Processor: Dual core 3.0 GHz
  • Memory: 4 GB
  • Hard disk space: 200 MB

Download the example code files

You can download the example code files for this book from your account at www.packtpub.com. If you purchased this book elsewhere, you can visit www.packtpub.com/support and register to have the files emailed directly to you.

You can download the code files by following these steps:

  1. Log in or register at www.packtpub.com.
  2. Select the SUPPORT tab.
  3. Click on Code Downloads & Errata.
  4. Enter the name of the book in the Search box and follow the onscreen instructions.

Once the file is downloaded, please make sure that you unzip or extract the folder using the latest version of:

  • WinRAR/7-Zip for Windows
  • Zipeg/iZip/UnRarX for Mac
  • 7-Zip/PeaZip for Linux

The code bundle for the book is also hosted on GitHub at https://github.com/PacktPublishing/Hands-On-Artificial-Intelligence-with-Java-for-Beginners. In case there's an update to the code, it will be updated on the existing GitHub repository.

We also have other code bundles from our rich catalog of books and videos available at https://github.com/PacktPublishing/. Check them out!

Conventions used

There are a number of text conventions used throughout this book.

CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "The filter that we will apply will be an unsupervised filter from the unsupervised.attribute package."

A block of code is set as follows:

Remove rmv = new Remove();
rmv.setOptions(op);

Any command-line input or output is written as follows:

?- grandfather(X, Y).

Bold: Indicates a new term, an important word, or words that you see onscreen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "Go to Libraries | Add JAR/Folder and provide the location of the junit.jar file."

 

 

Note

Warnings or important notes appear like this.

Note

Tips and tricks appear like this.

Get in touch

Feedback from our readers is always welcome.

General feedback: Email feedback@packtpub.com and mention the book title in the subject of your message. If you have questions about any aspect of this book, please email us at questions@packtpub.com.

Errata: Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you have found a mistake in this book, we would be grateful if you would report this to us. Please visit www.packtpub.com/submit-errata, selecting your book, clicking on the Errata Submission Form link, and entering the details.

Piracy: If you come across any illegal copies of our works in any form on the Internet, we would be grateful if you would provide us with the location address or website name. Please contact us at copyright@packtpub.com with a link to the material.

If you are interested in becoming an author: If there is a topic that you have expertise in and you are interested in either writing or contributing to a book, please visit authors.packtpub.com.

Reviews

Please leave a review. Once you have read and used this book, why not leave a review on the site that you purchased it from? Potential readers can then see and use your unbiased opinion to make purchase decisions, we at Packt can understand what you think about our products, and our authors can see your feedback on their book. Thank you!

For more information about Packt, please visit packtpub.com.

lock icon
The rest of the chapter is locked
You have been reading a chapter from
Hands-On Artificial Intelligence with Java for Beginners
Published in: Aug 2018Publisher: PacktISBN-13: 9781789537550
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
undefined
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime

Author (1)

author image
Nisheeth Joshi

Nisheeth Joshi is an associate professor and a researcher at Banasthali University. He has also done a PhD in Natural Language Processing. He is an expert with the TDIL Program, Department of IT, Government of India, the premier organization overseeing language technology funding and research in India. He has several publications to his name in various journals and conferences, and also serves on the program committees and editorial boards of several conferences and journals.
Read more about Nisheeth Joshi