class: center, middle, inverse, title-slide .title[ # Next Word Prediction Shiny App ] .subtitle[ ## A Powerful Tool for Predictive Text Solutions ] .author[ ### Soufiane ElHasnaoui ] .date[ ### 2024-08-27 ] --- # Understanding the Predictive Model - **Data Input:** The model uses a dataset of n-grams (phrases) and their corresponding next words. - **Algorithm:** Given an input phrase, the model filters the dataset to find the top matches and predicts the most likely next words based on frequency. - **Efficiency:** The model is optimized to handle large datasets while maintaining fast response times. --- # Performance Metrics - **Accuracy:** The model achieves an average accuracy of **80%** based on a validation set. - **Response Time:** Predictions are delivered within an average of **15 milliseconds**. - **Top Predictions:** The model can provide up to 4 possible next words, increasing user options and flexibility. --- # Live Demo of the App ## App in Action 1. **Step 1:** User inputs a phrase. 2. **Step 2:** The app predicts the next word(s) and displays them instantly. <img src="Capture.png" width="100%" /> --- # Why It’s Awesome - **Innovative:** Utilizes cutting-edge predictive modeling for real-time applications. - **Scalable:** Easily adaptable to different languages and larger datasets. - **Practical:** Applicable in various industries like mobile typing, customer service, and content creation.