python codestyle-validator dataset:infinityofspace/python_codestyles-random-500 dataset:infinityofspace/python_codestyles-single-500 license:mit region:us
---
license: mit
tags:
- python
- codestyle-validator
datasets:
- infinityofspace/python_codestyles-random-500
- infinityofspace/python_codestyles-single-500
---

# Python codestyle validator - DT modell

The model is a pre-trained sklean DT model on the [infinityofspace/python_codestyles-random-500](https://huggingface.co/datasets/infinityofspace/python_codestyles-random-500) dataset.

In addition to the model, the N-grams used for training are also included in this repository.
The file [all_n_grams.pkl](all_n_grams.pkl) contains all n-grams grouped according to their length.
In file [ngrams_per_dataset.pkl](ngrams_per_dataset.pkl), all n-grams are divided by the datasets which have been used. For each N-gram, the frequency is included in this file.
The first dataset is [infinityofspace/python_codestyles-random-500](https://huggingface.co/datasets/infinityofspace/python_codestyles-random-500) and the second
is [infinityofspace/python_codestyles-single-500](https://huggingface.co/datasets/infinityofspace/python_codestyles-single-500).