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