---
# System prepended metadata

title: Given a set of features how many unique tree descriptors are there

---

# Given a set of features how many unique tree descriptors are there

This is going to break down how many tree are unique based on the atributes given

#### Just attributes
```
{
    "has_lights": false,
    "has_shoes": true,
    "root_problem": false,
    "has_guards": true,
    "introverted": false
}
```

There are 30 unique verions of the above feature set.
This means on average 17628 trees have the same bio. 

#### Attributes + tree type
```
{
    "spc_common": "Example tree"
    "has_lights": false,
    "has_shoes": true,
    "root_problem": false,
    "has_guards": true,
    "introverted": false
}
```

There are 1718 unique verions of the above feature set
This means on average 308 trees have the same bio.

#### Attributes + tree type + diameter raw
```
{
    "diameter": 0
    "spc_common": "Example tree"
    "has_lights": false,
    "has_shoes": true,
    "root_problem": false,
    "has_guards": true,
    "introverted": false
}
```

There are 19428 unique verions of the above feature set
This means on average 27 trees have the same bio.

#### Attributes + tree type + diameter bracketed
Realistically it will be more helpful for bio generation if we give the diameter as some sort of phrase (slim, husky, full) as opposed to a number. For testing puposes I am just going to mod out the number. 

```
{
    "diameter": 0
    "spc_common": "Example tree"
    "has_lights": false,
    "has_shoes": true,
    "root_problem": false,
    "has_guards": true,
    "introverted": false
}
```

##### Size categories

- 6: There are 7063 unique verions - 74 trees per bio
- 5: There are 6155 unique verions - 86 trees per bio
- 4: There are 5214 unique verions - 101 trees per bio
- 3: There are 4165 unique verions - 127 trees per bio
- 2: There are 3024 unique verions - 175 trees per bio

## Other notes
Other subdivision could be created by using different descriptor for the various bool which would increase the number of bios unique bios generated.