Skip to content

Commit

Permalink
add purdue instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
rkansal47 committed Sep 6, 2024
1 parent 615f7a6 commit 43f2ae9
Show file tree
Hide file tree
Showing 6 changed files with 41 additions and 3 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,13 @@ We will also explore more advanced models such as graph neural networks (GNNs),

## Setup

### Vanderbilt Jupyterhub (Recommended!)
### Purdue Analysis Facility (New and recommended!)

The recommended method for running the tutorials live is the Vanderbilt Jupyterhub, follow the instructions [here](https://fnallpc.github.io/machine-learning-hats/setup/vanderbilt-jupyterhub/vanderbilt.html).
The recommended method for running the tutorials live is the Purdue AF, follow the instructions [here](https://fnallpc.github.io/machine-learning-hats/setup/purdue/purdue.html).

### Vanderbilt Jupyterhub

Another option is the Vanderbilt Jupyterhub, instructions [here](https://fnallpc.github.io/machine-learning-hats/setup/vanderbilt-jupyterhub/vanderbilt.html).

### FNAL LPC

Expand Down
1 change: 1 addition & 0 deletions machine-learning-hats/_toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ root: index
parts:
- caption: Setup
chapters:
- file: setup/purdue/purdue
- file: setup/vanderbilt-jupyterhub/vanderbilt
- file: setup/lpc
- file: setup-libraries
Expand Down
2 changes: 1 addition & 1 deletion machine-learning-hats/notebooks/1-datasets-uproot.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
},
"source": [
"## Convert tree to `pandas` DataFrames\n",
"In my opinion, `pandas` DataFrames are a more convenient/flexible data container in python: https://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.html. "
"`pandas` DataFrames can be a more convenient/flexible data container in python, especially for large amounts of data: https://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.html. "
]
},
{
Expand Down
Binary file added machine-learning-hats/setup/purdue/folders.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added machine-learning-hats/setup/purdue/git.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 33 additions & 0 deletions machine-learning-hats/setup/purdue/purdue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Purdue Analysis Facility

## 1. Sign-in

See the [Getting Started](https://analysis-facility.physics.purdue.edu/en/latest/doc-getting-started.html) guide and the rest of the documentation for details.

Point your browser to https://cms.geddes.rcac.purdue.edu/hub and log in with your CERN or FNAL account.

Create an instance with the default resources.


## 2. Clone this repository

1. Once the session starts, open the Git sidebar menu:

![git menu](git.png)

2. Click "Clone a Repository".

3. Copy and paste the repository URL: https://github.com/FNALLPC/machine-learning-hats.git and Clone with the default options.

4. You should now see the `machine-learning-hats` directory in your file browser:

![folders](folders.png)

Open it and navigate to `machine-learning-hats` -> `notebooks`


## 3. Notebooks

Open up a notebook and use the `Python3 kernel (default)` kernel. You can now the run the notebook by pressing `Shift + Enter`, one cell at a time.


0 comments on commit 43f2ae9

Please sign in to comment.