Skip to content
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.

Commit

Permalink
Explaining class assignment objectives for data frame analytics jobs (#…
Browse files Browse the repository at this point in the history
…357)

This PR adds a notebook that explains the properties of different class assignment objectives available for the machine learning data frame analytics classification jobs and gives pointers on when to choose which objective.

It intends to be linked in the "Concepts" section of the documentation and provide users with more insights than it is possible in the scope of "Concepts".

The rendered version of the jupyter notebook can be found here.

Closes #356.
  • Loading branch information
valeriy42 authored Feb 10, 2021
2 parents 31d3d84 + 8beede3 commit fc8edfb
Show file tree
Hide file tree
Showing 3 changed files with 680 additions and 0 deletions.
40 changes: 40 additions & 0 deletions Machine Learning/Class Assigment Objectives/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Class Assignment Objective

This notebook explains the properties of different class assignment objectives available for the
machine learning data frame analytics classification jobs and give pointers on when to
choose which loss function.

Set up a local instance of Jupyter using the following instructions

1. Create file `credentials.json` containing the username and password to access your Elasticsearch instance.

```json
{
"username": "my_username",
"password": "my_password"
}
```

2. Set up a virtual environment called `env`

```bash
python3 -m venv env
```

3. Activate it

```bash
source env/bin/activate
```

4. Install the required dependencies for your chosen Jupyter notebook

```bash
pip install -r requirements.txt
```

5. Launch Jupyter

```bash
jupyter notebook
```

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions Machine Learning/Class Assigment Objectives/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
eland==7.10.1b1
elasticsearch==7.10.1
jupyter==1.0.0
matplotlib==3.3.4
numpy==1.19.5
pandas==1.1.5
requests==2.25.1
scikit-learn==0.24.1
seaborn==0.11.1

0 comments on commit fc8edfb

Please sign in to comment.