forked from gizatechxyz/orion
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
30 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Linear Classifier | ||
|
||
`LinearClassifierTrait` provides a trait definition for linear classification problem. | ||
|
||
```rust | ||
use orion::operators::ml::LinearClassificationTrait; | ||
``` | ||
|
||
### Data types | ||
|
||
Orion supports currently only fixed point data types for `LinearClassificationTrait`. | ||
|
||
| Data type | dtype | | ||
| -------------------- | ------------------------------------------------------------- | | ||
| Fixed point (signed) | `LinearClassifierTrait<FP8x23 \| FP16x16 \| FP64x64 \| FP32x32>` | | ||
|
||
|
||
*** | ||
|
||
| function | description | | ||
| --- | --- | | ||
| [`linear_classifier.predict`](linear_classifier.predict.md) | Performs the linear classification evaluation. | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
//mod numbers; | ||
//mod performance; | ||
//mod tensor_core; | ||
//mod nodes; | ||
mod numbers; | ||
mod performance; | ||
mod tensor_core; | ||
mod nodes; | ||
mod ml; | ||
//mod operators; | ||
mod operators; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
//mod tree_ensemble_classifier; | ||
//mod tree_ensemble_regressor; | ||
//mod linear_regressor_test; | ||
mod tree_ensemble_classifier; | ||
mod tree_ensemble_regressor; | ||
mod linear_regressor_test; | ||
mod linear_classifier_test; | ||
|