Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ezmiller/dtype-next-workshop-starter

Starter template for the Re:Clojure / SciCloj dtype-next workshop in November 2021
https://github.com/ezmiller/dtype-next-workshop-starter

Last synced: about 7 hours ago
JSON representation

Starter template for the Re:Clojure / SciCloj dtype-next workshop in November 2021

Awesome Lists containing this project

README

        

# dtype-next-workshop-starter

This is a repository template for the re:Clojure / SciCloj workshop
"Wrangling Arrays with dtype-next", given in association with the
[2021 re:Clojure conference](https://www.reclojure.org/#speakers), and
developed by [David Sletten]() and [Ethan
Miller](http://ethanzanemiller.com)

## Workshop description

This workshop will introduce dtype-next, explain its position in the
Clojure data science ecosystem, and introduce the key concepts and
techniques necessary for working with its performant buffers/arrays.

## What is this Template Repository?

This is a github template repository. That means you can use this
repository to create a new repository of your own in order to play
around with dtype-next further. See
[here](https://docs.github.com/en/repositories/creating-and-managing-repositories/creating-a-repository-from-a-template)
for a guide on how to create a repository from this template.

What is in this repository?

* A `deps.edn` file containing the dependencies you need to work with
dtype-next. Really this is just one dependence: the
[`tech.ml.dataset`](https://github.com/techascent/tech.ml.dataset)
library -- that provides a column-based dataset for data analysis --
and which includes the latest stable version of dtype-next.

* A namespace for starting your own exploration that already includes
typical require statements for dtype-next, i.e.
`src/playground/main.clj`.

* The code that we will cover in our workshop, see the
`src/workshop/*`.

## A Few Suggested Exercises

1. Create a buffer containing a fibonacci sequence using the
`make-reader` function.

1. Try to use the `argfilter` and `indexed-buffer` functions to filter
a numerical buffer by a `<` or `>` operation on the existing values.

Try to complete some of these exercises for Numpy using dtype-next:
[link](https://www.machinelearningplus.com/python/101-numpy-exercises-python/)