Import required modules
Load a dataset
Load data from a table into a dataframe (df), e.g. support tickets on which we want to apply sentiment analysis.Using Streamlit to build an app
We use the Streamlit module (st), built into Peliqan.io, to build a UI and show data.Data Pre-processing
Let’s start with cleaning the text by removing punctuations and repeating common words (these are called stop words in NLP) to make it ready for future use.Model Training & Evaluation
Next Steps
- Using Peliqan you can create an app for business users to consume the model you have created in a simple and intuitive UI. Learn more about creating apps for users to consume your model.
- You can make predictions on real-time incoming data using the saved model. Learn more about making real-time predictions on new incoming data.
- You can make real-time predictions on new incoming data and send alerts to Slack if the model makes a prediction above a certain threshold.
