DEV Community

Cover image for ๐Ÿ“ˆ Data-driven strategy automation w/ LIDA
adriens
adriens

Posted on

๐Ÿ“ˆ Data-driven strategy automation w/ LIDA

๐Ÿคฏ Teaser

Ever wanted to get a complete analysis of a situation so you can take data-driven decisions for any domain and achieve data-analysis...within a few seconds ?

๐Ÿซต Well...I have good news for you, this short post is all about that.

๐Ÿฟ For the inpatients

โ” Inception

Everything started with the following tweet:

... talking about a

"Systems that support users in the automatic creation of visualizations, [...] understand the semantics of data, enumerate relevant visualization goals and generate visualization specifications."

I was just wondering how far and how good this could be so I wanted to give it a try on:

๐Ÿ“œ The analysis workflow

The analysis workflow is pretty straightforward and can be splitted into two main phasis: preparation then get insights:

  1. ๐Ÿ—‚๏ธ Pick a dataset on which your business depends
  2. ๐Ÿง Design a persona (ie. to modelize the business case)
  3. ๐ŸŽฏ Ask for a number of goals
  4. ๐ŸŽฏ Get goals ideas (and detailed explanations) from AI
  5. ๐Ÿ“Š Get dataviz from AI
  6. ๐Ÿง  Analyze : interact with LIDA in a continuous improvement loop (aka. use your own brain to tune persona, dataset,... ๐Ÿ˜)

๐Ÿฆฅ Enjoy goals... as data

It's as simple as setting a number of goals and the target persona:

goals = lida.goals(summary,
                   n=5,# Let's get 5 goals
                   persona="Neo4J community manager who
needs to manage its worldwide community to get the best
community engagement.")
Enter fullscreen mode Exit fullscreen mode

Then within less than a second you get the goals (eventually as a pandas dataframe so you can also share goals as a spreadsheet):

Image description

๐Ÿฅณ Finally you just have to ask for some dataviz for any goal:

Image description

๐Ÿ“‘ Resources

Top comments (2)

Collapse
 
adriens profile image
adriens

Collapse
 
adriens profile image
adriens