> For the complete documentation index, see [llms.txt](https://ensemble-ai.gitbook.io/ensemble-ai-api-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ensemble-ai.gitbook.io/ensemble-ai-api-docs/dark-matter/generate.md).

# Generate

<pre class="language-python"><code class="lang-python">def generate(self, X: <a data-footnote-ref href="#user-content-fn-1">DarkMatterType</a>) -> <a data-footnote-ref href="#user-content-fn-2">DarkMatterType</a>
</code></pre>

## Notes

* Resulting datatype matches input type, unless `explainability=True`, then output is a pandas DataFrame. For more info, see [Explainability Mode](/ensemble-ai-api-docs/references/explainability-mode.md).

[^1]: [DarkMatterType](/ensemble-ai-api-docs/dark-matter/darkmattertype.md)

[^2]: /
