Skip to content

Commit

Permalink
remove unused ml functions
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelDkhn committed Dec 10, 2023
1 parent e7825c7 commit de6129e
Show file tree
Hide file tree
Showing 25 changed files with 1 addition and 526 deletions.
2 changes: 1 addition & 1 deletion Scarb.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "orion"
version = "0.1.7"
version = "0.1.9"
cairo-version = "2.4.0"
edition = "2023_10"
description = "ONNX Runtime in Cairo for verifiable ML inference using STARK"
Expand Down
21 changes: 0 additions & 21 deletions src/operators/ml.cairo
Original file line number Diff line number Diff line change
@@ -1,26 +1,5 @@
mod tree_regressor;
mod tree_classifier;
mod xgboost_regressor;
mod tree_ensemble;

use orion::operators::ml::tree_regressor::core::{TreeRegressorTrait, TreeRegressor};
use orion::operators::ml::tree_regressor::implementations::tree_regressor_fp16x16::FP16x16TreeRegressor;
use orion::operators::ml::tree_regressor::implementations::tree_regressor_fp8x23::FP8x23TreeRegressor;
use orion::operators::ml::tree_regressor::implementations::tree_regressor_fp32x32::FP32x32TreeRegressor;
use orion::operators::ml::tree_regressor::implementations::tree_regressor_fp64x64::FP64x64TreeRegressor;

use orion::operators::ml::tree_classifier::core::{TreeClassifierTrait, TreeClassifier};
use orion::operators::ml::tree_classifier::implementations::tree_classifier_fp16x16::FP16x16TreeClassifier;
use orion::operators::ml::tree_classifier::implementations::tree_classifier_fp8x23::FP8x23TreeClassifier;
use orion::operators::ml::tree_classifier::implementations::tree_classifier_fp32x32::FP32x32TreeClassifier;
use orion::operators::ml::tree_classifier::implementations::tree_classifier_fp64x64::FP64x64TreeClassifier;

use orion::operators::ml::xgboost_regressor::core::{XGBoostRegressorTrait};
use orion::operators::ml::xgboost_regressor::implementations::xgboost_regressor_fp16x16::FP16x16XGBoostRegressor;
use orion::operators::ml::xgboost_regressor::implementations::xgboost_regressor_fp8x23::FP8x23XGBoostRegressor;
use orion::operators::ml::xgboost_regressor::implementations::xgboost_regressor_fp32x32::FP32x32XGBoostRegressor;
use orion::operators::ml::xgboost_regressor::implementations::xgboost_regressor_fp64x64::FP64x64XGBoostRegressor;

use orion::operators::ml::tree_ensemble::core::{
TreeEnsemble, TreeEnsembleAttributes, TreeEnsembleImpl, NODE_MODES
};
Expand Down
2 changes: 0 additions & 2 deletions src/operators/ml/tree_classifier.cairo

This file was deleted.

163 changes: 0 additions & 163 deletions src/operators/ml/tree_classifier/core.cairo

This file was deleted.

4 changes: 0 additions & 4 deletions src/operators/ml/tree_classifier/implementations.cairo

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

2 changes: 0 additions & 2 deletions src/operators/ml/tree_regressor.cairo

This file was deleted.

88 changes: 0 additions & 88 deletions src/operators/ml/tree_regressor/core.cairo

This file was deleted.

4 changes: 0 additions & 4 deletions src/operators/ml/tree_regressor/implementations.cairo

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit de6129e

Please sign in to comment.