# Data Science Notebooks

Demand intelligence is a new and evolving field. We’ve created a number of Data Science Jupyter Notebooks to help you get started with PredictHQ’s intelligent event data. You’ll find guides to using our API with common Data Science tools, libraries in Python, and code samples.

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-cover data-type="files"></th><th data-hidden></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Forecasts API Notebook</strong></td><td>Use our new Forecasts API to train a model in a few simple steps and focus on making use of the forecast results. Our API uses the same underlying XGBoost-based algorithm as the following notebook.</td><td><a href="https://2312509647-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNhzHETmXsrWeVBndqqJ%2Fuploads%2F2Bn6bcSd538wj11n8yxj%2Fforecasts-api-time-series-chart.png?alt=media&#x26;token=dc1e2298-53f3-487b-a3ee-16a291c01cbf">forecasts-api-time-series-chart.png</a></td><td></td><td><a href="https://github.com/predicthq/phq-data-science-docs/blob/master/forecasts-api/demand_forecasting_with_phq_forecasts_api.ipynb">https://github.com/predicthq/phq-data-science-docs/blob/master/forecasts-api/demand_forecasting_with_phq_forecasts_api.ipynb</a></td></tr><tr><td><strong>Beam Notebooks</strong></td><td>Designed to provide you with the context you need to get started with the Beam API to find relevant events and use it effectively.</td><td><a href="https://2312509647-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNhzHETmXsrWeVBndqqJ%2Fuploads%2FMnjQjhClAWad6LPusEPb%2Fbeam-notebook.png?alt=media&#x26;token=e36f6f6a-f72c-4fab-9735-6de4c5c041b9">beam-notebook.png</a></td><td></td><td><a href="guides/beam-guides">beam-guides</a></td></tr><tr><td><strong>Features API Notebook</strong></td><td>A how-to guide with details on how to retrieve machine learning features using Features API.</td><td><a href="https://2312509647-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNhzHETmXsrWeVBndqqJ%2Fuploads%2FvdWikVQrymlVMeostnoF%2Ffeatures-api-notebook.jpg?alt=media&#x26;token=b73a3e1b-c91a-4e72-9d0f-68db7d6c7e36">features-api-notebook.jpg</a></td><td></td><td><a href="guides/features-api-guides/feature-engineering-guide">feature-engineering-guide</a></td></tr><tr><td><strong>Demand Forecasting Notebook</strong></td><td>Step-by-step guide on how to use PredictHQ event features in your existing demand forecasting models.</td><td><a href="https://2312509647-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNhzHETmXsrWeVBndqqJ%2Fuploads%2FIeoR1L9WEkRzAMIIHskc%2Fdemand-forecasting-notebook.jpg?alt=media&#x26;token=99db1aab-a319-42f0-bd04-2a41d81ec9f4">demand-forecasting-notebook.jpg</a></td><td></td><td><a href="guides/features-api-guides/demand-forecasting-data-science-guides">demand-forecasting-data-science-guides</a></td></tr><tr><td><strong>Attendance-Based Events Notebooks</strong></td><td>Attended Events are scheduled to occur at a specific location and usually depend on attendance, such as conferences, expos, concerts, festivals, performing-arts, sports and community.</td><td><a href="https://2312509647-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNhzHETmXsrWeVBndqqJ%2Fuploads%2FKvhnaa03xXgpC9qVXfmg%2Fattended-events-notebook.jpg?alt=media&#x26;token=a890e5ad-ce6e-46ec-8639-2df69cad406b">attended-events-notebook.jpg</a></td><td></td><td><a href="guides/events-api-guides/attendance-based-events-data-science-guides">attendance-based-events-data-science-guides</a></td></tr><tr><td><strong>Non-Attendance-Based Events Notebooks</strong></td><td>Non-Attendance-Based Events are events with a start and end date, but are more fluid and distributed in impact, such as observances or school holidays.</td><td><a href="https://2312509647-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNhzHETmXsrWeVBndqqJ%2Fuploads%2Flqpvf20s3uthGGErss1j%2Fnon-attended-events-notebook.jpg?alt=media&#x26;token=f1838896-ee0a-4bb1-aa70-2360b1af70fa">non-attended-events-notebook.jpg</a></td><td></td><td><a href="guides/events-api-guides/non-attendance-based-events-data-science-guides">non-attendance-based-events-data-science-guides</a></td></tr><tr><td><strong>Severe Weather Event Notebooks</strong></td><td>Severe weather is any dangerous meteorological phenomenon with the potential to cause damage, serious social disruption, or loss of human life.</td><td><a href="https://2312509647-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNhzHETmXsrWeVBndqqJ%2Fuploads%2Fw3vownu3PLOY1CDA1N9S%2Fsevere-weather-notebook.png?alt=media&#x26;token=bdce1d89-d83d-46e9-b9a5-11cf021deb55">severe-weather-notebook.png</a></td><td></td><td><a href="guides/events-api-guides/severe-weather-events-data-science-guides">severe-weather-events-data-science-guides</a></td></tr><tr><td><strong>Academic Events Notebooks</strong></td><td>Academic Events are captured from an individual higher education institute’s academic calendar. They outline the general undergraduate activities, for example instruction period, break, exams, graduation, social, etc.</td><td><a href="https://2312509647-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNhzHETmXsrWeVBndqqJ%2Fuploads%2FZUZ3WSlbtkdmlURNaDdo%2Facademic-events-notebook.jpg?alt=media&#x26;token=22cb4f93-6d72-4a81-ad4a-df7e370e9299">academic-events-notebook.jpg</a></td><td></td><td><a href="guides/events-api-guides/academic-events-data-science-guides">academic-events-data-science-guides</a></td></tr><tr><td><strong>Live TV Events Notebooks</strong></td><td>Live TV Events covers live broadcast sports games with a large number of people watching at a particular time across different counties across the United States.</td><td><a href="https://2312509647-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNhzHETmXsrWeVBndqqJ%2Fuploads%2FXtopgKTtGmy1yth1NtTN%2Flive-tv-events-notebook.jpg?alt=media&#x26;token=cd50b74b-80d0-47a5-865a-30094ff3a71a">live-tv-events-notebook.jpg</a></td><td></td><td><a href="guides/live-tv-event-guides/live-tv-events-data-science-guides">live-tv-events-data-science-guides</a></td></tr><tr><td><strong>Working with Venues Notebook</strong></td><td>Guide to exploring PredictHQ’s venue information.</td><td><a href="https://2312509647-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtNhzHETmXsrWeVBndqqJ%2Fuploads%2FAuU5qcwSHRntQEBgKDZt%2Fvenues-notebook.png?alt=media&#x26;token=5afa9740-4ea5-4b7c-9e38-83b14445d0c9">venues-notebook.png</a></td><td></td><td><a href="guides/events-api-guides/working-with-venues">working-with-venues</a></td></tr></tbody></table>

All our Data Science Notebooks can be found in our [GitHub repo](https://github.com/predicthq/phq-data-science-docs/tree/master).
