Skip to content

Conversation

@paddymul
Copy link

@paddymul paddymul commented Jul 2, 2025

and placeholders where I will add tables to the markdown

…ders where I will add tables to the markdown
@vc1492a vc1492a self-assigned this Jul 2, 2025
@vc1492a vc1492a added the documentation This issue relates to documentation label Jul 2, 2025
according to the distribution of each cluster. Which approach is suitable depends on the use case.

**NOTE**: Data was not normalized in this example, but it's probably a good idea to do so in practice.
- Why?
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The main reason is to note give extra weight to a particular column of data. Data normalization ensures that all features in a dataset are on a similar scale, preventing features with larger values from disproportionately influencing algorithms and improving model performance.

print(scores)

```
-- I'll insert a table here
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good ✅

print(scores)
```

-- I'll insert a table of the scores here
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good ✅

m = loop.LocalOutlierProbability(distance_matrix=d, neighbor_matrix=idx, n_neighbors=n_neighbors+1).fit()
scores = m.local_outlier_probabilities
```
-- insert a table of the results
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A full table of the values may be too large, but showing a truncated view would be helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation This issue relates to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants