Git Product home page Git Product logo

lecture-notebooks's Introduction

Lecture Notebooks

  • Lecture notebooks are organized by classes, in each respective folder.
  • The requirements.txt file can be used to install all the necessary packages for all the notebooks in this course.

Note: As detailed below, multiple steps are necessary to run pyspark locally. We recommend trying out Vocareum before setting up locally, since the environment is already up and running there.

To run pyspark locally, install Java, Spark and Python first if you don't have them already

You need both Java and python for pyspark to work locally. Follow the steps here (https://www.datacamp.com/tutorial/installation-of-pyspark) based on your operating system, to download & install Java and set up corrsponding Environment Variables.

After you have done the above, proceed to create a python environment for the course from the requirements.txt file given here.

Environment creation and installation

You're free to do this any other way if you're comfortable, but we recommend the below:

  1. Install Anaconda from https://www.anaconda.com/download. You can refer to https://docs.anaconda.com/free/anaconda/install/index.html for installation instructions. MAKE SURE TO DOWNLOAD THE APPROPRIATE ONE FOR YOUR OPERATING SYSTEM.
  2. Once anaconda is downloaded and the conda command is working in your terminal (refer to installation instructions), confirm that conda activate base command works (this should activate your base environment).
  3. Run the following (replace <your-environment-name> with a name for your environment, I used DSC232r):
conda create -n <your-environment-name> python=3.7.5
conda activate <your-environment-name>
  1. Make sure you have git installed, and an account with GitHub. Download this repository via git (https://github.com/ucsd-dsc232r-s24/lecture-notebooks.git). You can run the following command on terminal, in the location where you want to clone the repository.
git clone https://github.com/ucsd-dsc232r-s24/lecture-notebooks.git
  1. Navigate to the folder location where you have downloaded this repository. Then, run
pip install -r requirements.txt

This should create your environment with all necessary packages.

lecture-notebooks's People

Contributors

esolares avatar nm9 avatar sayhitosandy avatar

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.