Skip to content

h2oai/wave-apps

Repository files navigation

Sample Wave Apps

H2O Wave allows you to build AI apps, faster. This directory houses sample applications that you can download and run locally, modify, and integrate into your own AI apps.

Installation

Follow the instructions here to download and run the latest Wave Server, a requirement for all sample apps. Then, choose an app from below for setup instructions.

Available Apps

Details: This app allows you to filter hotel reviews and compare the most common phrases from the subset to the overall most common phrases.

Details: This a game where the machine "thinks" of a number and the human has to guess, getting told higher or lower. This application has a leader board where different users can compete to see who can guess numbers in the fewest number of turns, on average. This application teaches the developer about different app states and could be fun for new users.

Details: This application allows a business user to review model predictions on whether or not someone will pay off their credit card - a model used to approve or deny credit card applications. Specifically, this app provides a list of predictions the model is not confident about (predictions in the 0.4 to 0.6 range) and allows the end user to mark someone as approved or not.

Details: This application builds a churn prediction model with H2O-3 and provides the likelihood to churn and actionable recommendations to prevent churn via nicely-presented top shapley values.

Details: This application allows a marketing anlayst to understand how their recommendation engine works. It allows them to add items to their cart and as they do a list of recommended products is updated.

Details: This application provides easy-to-use interface for exploring historical sales values and looking at future forecasts across store segments

Details: This application pulls tweets and uses the open source VaderSentiment to understand positive and negative tweets

Details: This is an example on how to add JWT-based authentication to a h2o wave app.

Details: These are a collection of self-contained applications that showcase the development of an Employee Churn application. Each application introduces additional components and progressively enhances the application with appropriate design patterns:

  • Debugging
  • Updating the content of cards without recreating them
  • Switching between multiple layouts using menu tabs

FAQs

While trying to run any of the apps particularly on Windows terminal, below are given some common errors and their fixes:

1. make (e=2): The system cannot find the file specified This is due to the os confusing between 'bin' and 'Scripts'. If you face this issue, open the Makefile present in the app folder using some Text Editor, and replace the word 'bin' with 'Scripts' in the virtual environment path of Setup and Run sections.

2. make command not found: This error comes when make is not installed on your OS. You can install make easily in Windows. More info on installing make is available on the Internet. You can also refer to their official website here: https://gnuwin32.sourceforge.net/packages/make.htm

3. Python not found: This error is probably if Windows is not able to recognise the path of Python, or if Python is not installed. In such case, install the latest version of Python from their official website https://www.python.org/downloads/ and add its path in the windows environment variables. Then restart windows. This will solve the issue.