Artificial Intelligence - Machine Learning

If you are like me, you are fascinated with Artificial Intelligence and Machine learning. But beyond fascination there are already practical uses. Imagine that your bubble application could use image and speech recognition or feed the AI dragon some energy (data) and produce incredible results.

Has anyone thought of, or is in the process of building an AI-Bubble plugin? For example to the Google CLOUD MACHINE LEARNING ENGINE or other AI APIs? Or some how integrating with Google TensorFlow?

I am willing to consider venturing with others into this area. As an freelancer I have to watch my time but my interest will be a driving force.

Any thoughts?

2 Likes

I could chip in for this.

I could help too. I am actually working on the other end of the spectrum and already have trained models in Microsoft and Google. I just need help in figuring out how to connect it with Bubble and we are good to go.

3 Likes

What are you using to train data sets?

I guess there are two ways to go about this:

  1. Setting > API

or

  1. Create a plugin

I am just talking access the Google AI API. From what I understand, to train a data set, you need to use something like TensorFlow with something like Python.

I am going to try #1with a simple REST to the Google API and get back with you.

Bubble people, can you offer any guidance.

Please correct any misconception on my part.

Dabbling with Amazonā€™s platform it is fairly easy to train an algorithm by pushing your Bubble data to csv into Amazon S3. I have not yet used their API, but it also seems straight forward to call your algorithm with formatted user data to return the result. Charges were reasonable if you have a revenue generating app.

1 Like

@mente12
Here is a suggestion: ā€˜Lets aim for creating an image recognition bubble app that can detect patters?ā€™

What you do - Go to Microsoft Cognitive Services or Google Vision API and you already get access to trained set of data that can detect objects etc.

Challenge for me: I am more of a DB/Core Java/Design kinda guy, and their-in lies my strength and I have no idea how to call the APIā€™s they use from Bubble. There is a API for credential and another one for uploading images and finally one for running the algorithm and getting the 5% correlation back.

If you can tell me how to do the above to Bubble (and we should collaborate on this) - I already have a trained data set on Microsoft which can detect patterns with >80% accuracy and we can test it out.

Correction:

The Settings>API is to allow 3rd party have access to your Bubble App and data.

What you need to use to connect to other API is the API Connector PLUGIN

Hi,
Using the Blockspring plugin gives you a lot of options. Iā€™m currently using the Monkey Learn integration for text classification and sentiment analysis.

Blockspring also has other integrations for image analysis (Clarafai if I remember correctly).

Also, I played around with Api.ai awhile ago for NLP, but it didnā€™t have a Blocksping integration yet and I couldnā€™t get it to play nicely with Bubbleā€™s connector.

Nathan

what exactly are you guys looking to do? I might be able to build a plugin for the tasks your looking for.

Jarrad,
If you want to keep it general and widely applicable, Feeding in a series of data points (with the first set containing the ā€œanswerā€) and training a model. Then feeding in new data (w/o the answer) and receiving a prediction.

An example would be predicting the temperature on a given day, using day of the year, yesterdayā€™s temperature and location latitude. First, feed last yearā€™s data into the model for training, and expose the resulting algorithm for use. This format should work for many problems.

I assume linear & logistic regression / decision trees / Naive Bayes would cover most peopleā€™s use cases. Perhaps Cluster models would be nice as well.

If youā€™re looking to integrate with a platform like MonkeyLearn with ready-to-use models, I recorded a quick explainer video showing how I use them:

8 Likes

Excellent video, exactly the information I was looking for and reason for opening this topic (get the conversation started and sharing).

I wonder how you can use your Bubble data to train a data set instead of using an existing one.

Thanks for the video!

1 Like

mente - Iā€™d consider using BigML to do the training outside of bubble, then utilize the API connector to make/retrieve your prediction. Alternatively, you can both make and retrieve the model via the API if your use case demanded it, but the above way is much quicker to implement.

PS: (There is also a connector through BlockSpring, but that does not appear to have the ability to make predictions)

1 Like

Thanks for the suggestion. BTW: The other day I attempted to use BigML using the BlockSpring connector, however I believe for this to work, I need to be in a paying account at BigML.
I am guessing since I was getting an error although I have green checkmarks on all the authentication values.

Not sure about it being on the BigML side as I do not have a BigML account and was able to successfully use the API Connector to POST a prediction request for an Iris dataset that I created. I believe BigML is free for models up to 16MB in both prod and dev environments.

Might be a BlockSpring error you ran into instead.

Great thread - what different kids of AI software can you create within Bubbleā€™s capabilities? Iā€™m trying to advise my clients how far they can ā€œdreamā€ without wasting their time.

Any examples of AI business models that Bubble can handle are greatly appreciated (and may lead to future hiring opportunities of either you as a developer or your template). Thanks!

One way could be:

You can make calls to existing AI APIs. For example pass a string of characters and let the Google pre-trained set like Cloud Translate do itā€™s magic. Cloud Translate is a ā€˜deep learningā€™ process that has learned how to translate text to other languages a more natural (supernatural I should say) way.

2 Likes

I use Bubble with API.ai (now called DialogFlow) and am putting up a tutorial on how I do it, soon.

8 Likes

Great feedback on both counts, @mente12 and @pier2design! Looking forward to learning more.

1 Like

This is so exciting! canā€™t wait to test this out.