Giter Site home page Giter Site logo

nhsdigital / sde_example_analysis Goto Github PK

View Code? Open in Web Editor NEW
2.0 4.0 0.0 85 KB

Example of what you can do in Databricks in the Secure Data Environment (SDE) using Python, SQL, and R.

Home Page: https://digital.nhs.uk/services/secure-data-environment-service/secure-data-environment/user-guides

License: MIT License

Python 63.69% R 36.31%
data-analysis data-science databricks-notebooks machine-learning mlflow

sde_example_analysis's Introduction

Secure Data Environment (SDE) example analysis

Reproducible and flexible example notebooks that may be used by researchers using Databricks within the NHS England SDE.

Contact

This repository is maintained by NHS England Data Wranglers team.

To contact us raise an issue on Github or via email.

See our (and our colleagues') other work here:

Description

The NHS England SDE is a data and research analysis platform, which is built to uphold the highest standards of privacy and security of NHS health and social care data when used for research and analysis.

Within the SDE, users have access to Databricks. Some users may be new to Databricks, so we provide example notebooks and useful functions for what they can do with Databricks inside the SDE. In addition, the analysis explores machine learning (ML) capabilities in the SDE.

Available analysis

๐Ÿ python

pyspark_code_example: PySpark is the Python API for Aparche Spark - it can handle Big Data better than pandas.

โœจ machine_learning_big_data

Usually, if a dataframe has more than one million rows, it is big data. However, a dataset may have less rows than this and still be classed as "big" due to complexity.

This folder contains notebooks exploring the machine learning capabilities of PySpark in the SDE. Examples include:

  • decision_tree_regressor
  • random_forest_classifier
๐Ÿผ machine_learning_small_data

This folder contains analysis for smaller data sets, using libraries like pandas and sklearn. Examples include:

  • regression_multivariable
  • regression_simple

๐Ÿดโ€โ˜ ๏ธ r

SparkR is an R package that provides a light-weight frontend to use Apache Spark from R. The example notebook demonstrates what you can do with SparkR.

๐Ÿง‘โ€๐Ÿ”ง wrangler_utilities

Useful functions and code, including code to create and save toy data sets.

Licence

The codebase is released under the MIT License. This covers both the codebase and any sample code in the documentation.

Any HTML or Markdown documentation is ยฉ Crown copyright and available under the terms of the Open Government 3.0 licence.

Acknowledgements

Data Wranglers, Data & Analytics, NHS England

For individuals involved see CONTRIBUTORS.

sde_example_analysis's People

Contributors

helrich avatar nickiewareing avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

sde_example_analysis's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.