Skip to content

Commit

Permalink
Merge pull request #404 from gizatechxyz/develop
Browse files Browse the repository at this point in the history
Merge Develop into Main
  • Loading branch information
raphaelDkhn authored Oct 25, 2023
2 parents eec864d + 8393df1 commit bd07d6d
Show file tree
Hide file tree
Showing 218 changed files with 12,823 additions and 595 deletions.
38 changes: 37 additions & 1 deletion .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,42 @@
"contributions": [
"doc"
]
},
{
"login": "Dl-Vv",
"name": "Daniel",
"avatar_url": "https://avatars.githubusercontent.com/u/83556514?v=4",
"profile": "https://www.brilliantblocks.io/",
"contributions": [
"code"
]
},
{
"login": "chachaleo",
"name": "Charlotte",
"avatar_url": "https://avatars.githubusercontent.com/u/49371958?v=4",
"profile": "https://github.com/chachaleo",
"contributions": [
"code"
]
},
{
"login": "0xfulanito",
"name": "0xfulanito",
"avatar_url": "https://avatars.githubusercontent.com/u/145947367?v=4",
"profile": "https://github.com/0xfulanito",
"contributions": [
"code"
]
},
{
"login": "0x73e",
"name": "0x73e",
"avatar_url": "https://avatars.githubusercontent.com/u/132935850?v=4",
"profile": "https://github.com/0x73e",
"contributions": [
"code"
]
}
],
"contributorsPerLine": 7,
Expand All @@ -152,4 +188,4 @@
"projectName": "orion",
"projectOwner": "gizatechxyz",
"commitType": "docs"
}
}
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

# Orion: An Open-source Framework for Validity and ZK ML ✨
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
[![All Contributors](https://img.shields.io/badge/all_contributors-15-orange.svg?style=flat-square)](#contributors-)
[![All Contributors](https://img.shields.io/badge/all_contributors-19-orange.svg?style=flat-square)](#contributors-)
<!-- ALL-CONTRIBUTORS-BADGE:END -->

Orion is an open-source, community-driven framework dedicated to Provable Machine Learning. It provides essential components and a new ONNX runtime for building verifiable Machine Learning models using [STARKs](https://starkware.co/stark/).
Expand Down Expand Up @@ -82,10 +82,16 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
<td align="center" valign="top" width="14.28%"><a href="https://github.com/BemTG"><img src="https://avatars.githubusercontent.com/u/62312643?v=4?s=100" width="100px;" alt="BemTG"/><br /><sub><b>BemTG</b></sub></a><br /><a href="https://github.com/gizatechxyz/orion/commits?author=BemTG" title="Code">💻</a> <a href="https://github.com/gizatechxyz/orion/commits?author=BemTG" title="Documentation">📖</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/danilowhk"><img src="https://avatars.githubusercontent.com/u/12735159?v=4?s=100" width="100px;" alt="danilowhk"/><br /><sub><b>danilowhk</b></sub></a><br /><a href="https://github.com/gizatechxyz/orion/commits?author=danilowhk" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Falco90"><img src="https://avatars.githubusercontent.com/u/43743459?v=4?s=100" width="100px;" alt="Falco R"/><br /><sub><b>Falco R</b></sub></a><br /><a href="https://github.com/gizatechxyz/orion/commits?author=Falco90" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/dincerguner"><img src="https://avatars.githubusercontent.com/u/32523713?v=4?s=100" width="100px;" alt="dincerguner"/><br /><sub><b>dincerguner</b></sub></a><br /><a href="https://github.com/gizatechxyz/orion/commits?author=dincerguner" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/richwarner"><img src="https://avatars.githubusercontent.com/u/1719742?v=4?s=100" width="100px;" alt="Rich Warner"/><br /><sub><b>Rich Warner</b></sub></a><br /><a href="https://github.com/gizatechxyz/orion/commits?author=richwarner" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/dbejarano820"><img src="https://avatars.githubusercontent.com/u/58019353?v=4?s=100" width="100px;" alt="Daniel Bejarano"/><br /><sub><b>Daniel Bejarano</b></sub></a><br /><a href="https://github.com/gizatechxyz/orion/commits?author=dbejarano820" title="Documentation">📖</a></td>
</tr>
<tr>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/vikkydataseo"><img src="https://avatars.githubusercontent.com/u/65757691?v=4?s=100" width="100px;" alt="vikkydataseo"/><br /><sub><b>vikkydataseo</b></sub></a><br /><a href="https://github.com/gizatechxyz/orion/commits?author=vikkydataseo" title="Documentation">📖</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/dincerguner"><img src="https://avatars.githubusercontent.com/u/32523713?v=4" width="100px;" alt="dincerguner"/><br /><sub><b>dincerguner</b></sub></a><br /><a href="https://github.com/gizatechxyz/orion/commits?author=dincerguner" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://www.brilliantblocks.io/"><img src="https://avatars.githubusercontent.com/u/83556514?v=4?s=100" width="100px;" alt="Daniel"/><br /><sub><b>Daniel</b></sub></a><br /><a href="https://github.com/gizatechxyz/orion/commits?author=Dl-Vv" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/chachaleo"><img src="https://avatars.githubusercontent.com/u/49371958?v=4?s=100" width="100px;" alt="Charlotte"/><br /><sub><b>Charlotte</b></sub></a><br /><a href="https://github.com/gizatechxyz/orion/commits?author=chachaleo" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/0xfulanito"><img src="https://avatars.githubusercontent.com/u/145947367?v=4?s=100" width="100px;" alt="0xfulanito"/><br /><sub><b>0xfulanito</b></sub></a><br /><a href="https://github.com/gizatechxyz/orion/commits?author=0xfulanito" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/0x73e"><img src="https://avatars.githubusercontent.com/u/132935850?v=4?s=100" width="100px;" alt="0x73e"/><br /><sub><b>0x73e</b></sub></a><br /><a href="https://github.com/gizatechxyz/orion/commits?author=0x73e" title="Code">💻</a></td>
</tr>
</tbody>
</table>
Expand Down
16 changes: 16 additions & 0 deletions docgen/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,22 @@ fn main() {
let trait_name: &str = "TreeRegressorTrait";
doc_trait(trait_path, doc_path, label);
doc_functions(trait_path, doc_path, trait_name, label);

// TREE ClASSIFIER DOC
let trait_path = "src/operators/ml/tree_classifier/core.cairo";
let doc_path = "docs/framework/operators/machine-learning/tree-classifier";
let label = "tree";
let trait_name: &str = "TreeClassifierTrait";
doc_trait(trait_path, doc_path, label);
doc_functions(trait_path, doc_path, trait_name, label);

// XGBOOST REGRESSOR DOC
let trait_path = "src/operators/ml/xgboost_regressor/core.cairo";
let doc_path = "docs/framework/operators/machine-learning/xgboost-regressor";
let label = "xgboost";
let trait_name: &str = "XGBoostRegressorTrait";
doc_trait(trait_path, doc_path, label);
doc_functions(trait_path, doc_path, trait_name, label);
}

fn doc_trait(trait_path: &str, doc_path: &str, label: &str) {
Expand Down
12 changes: 11 additions & 1 deletion docs/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
* [tensor.less](framework/operators/tensor/tensor.less.md)
* [tensor.less\_equal](framework/operators/tensor/tensor.less\_equal.md)
* [tensor.abs](framework/operators/tensor/tensor.abs.md)
* [tensor.neg](framework/operators/tensor/tensor.neg.md)
* [tensor.ceil](framework/operators/tensor/tensor.ceil.md)
* [tensor.cumsum](framework/operators/tensor/tensor.cumsum.md)
* [tensor.sin](framework/operators/tensor/tensor.sin.md)
Expand Down Expand Up @@ -86,6 +87,8 @@
* [tensor.unsqueeze](framework/operators/tensor/tensor.unsqueeze.md)
* [tensor.sign](framework/operators/tensor/tensor.sign.md)
* [tensor.clip](framework/operators/tensor/tensor.clip.md)
* [tensor.identity](framework/operators/tensor/tensor.identity.md)
* [tensor.and](framework/operators/tensor/tensor.and.md)
* [Neural Network](framework/operators/neural-network/README.md)
* [nn.relu](framework/operators/neural-network/nn.relu.md)
* [nn.leaky\_relu](framework/operators/neural-network/nn.leaky\_relu.md)
Expand All @@ -95,10 +98,17 @@
* [nn.softsign](framework/operators/neural-network/nn.softsign.md)
* [nn.softplus](framework/operators/neural-network/nn.softplus.md)
* [nn.linear](framework/operators/neural-network/nn.linear.md)
* [nn.hard\_sigmoid](framework/operators/neural-network/nn.hard\_sigmoid.md)
* [nn.thresholded\_relu](framework/operators/neural-network/nn.thresholded_relu.md)
* [nn.gemm](framework/operators/neural-network/nn.gemm.md)
* [Machine Learning](framework/operators/machine-learning/README.md)
* [Tree Regressor](framework/operators/machine-learning/tree-regressor/README.md)
* [tree.fit](framework/operators/machine-learning/tree-regressor/tree.fit.md)
* [tree.predict](framework/operators/machine-learning/tree-regressor/tree.predict.md)
* [Tree Classifier](framework/operators/machine-learning/tree-classifier/README.md)
* [tree.predict](framework/operators/machine-learning/tree-classifier/tree.predict.md)
* [tree.predict_proba](framework/operators/machine-learning/tree-classifier/tree.predict_proba.md)
* [XGBoost Regressor](framework/operators/machine-learning/xgboost-regressor/README.md)
* [xgboost.predict](framework/operators/machine-learning/xgboost-regressor/xgboost.predict.md)

## 🏛 Hub

Expand Down
Loading

0 comments on commit bd07d6d

Please sign in to comment.