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
40 changed files
with
888 additions
and
193 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
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
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
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 @@ | ||
include LICENSE | ||
recursive-include m2cgen VERSION.txt | ||
recursive-include m2cgen linear_algebra.* | ||
recursive-include m2cgen tanh.bas | ||
recursive-include m2cgen tanh.* | ||
global-exclude *.py[cod] |
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
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
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
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
10 changes: 5 additions & 5 deletions
10
generated_code_examples/visual_basic/classification/linear.vb
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,9 +1,9 @@ | ||
Module Model | ||
Function score(ByRef input_vector() As Double) As Double() | ||
Function Score(ByRef inputVector() As Double) As Double() | ||
Dim var0(2) As Double | ||
var0(0) = ((((0.2614587435880605) + ((input_vector(0)) * (0.42474116053569605))) + ((input_vector(1)) * (1.3963906033045026))) + ((input_vector(2)) * (-2.215054318516674))) + ((input_vector(3)) * (-0.9587396176450289)) | ||
var0(1) = ((((1.1348839223808307) + ((input_vector(0)) * (0.2567965976997648))) + ((input_vector(1)) * (-1.3904789369836008))) + ((input_vector(2)) * (0.596683023311173))) + ((input_vector(3)) * (-1.2690022726388828)) | ||
var0(2) = ((((-1.2162802012560197) + ((input_vector(0)) * (-1.6357766989177105))) + ((input_vector(1)) * (-1.5040638728422817))) + ((input_vector(2)) * (2.427835933129272))) + ((input_vector(3)) * (2.3469310693367276)) | ||
score = var0 | ||
var0(0) = ((((0.2614587435880605) + ((inputVector(0)) * (0.42474116053569605))) + ((inputVector(1)) * (1.3963906033045026))) + ((inputVector(2)) * (-2.215054318516674))) + ((inputVector(3)) * (-0.9587396176450289)) | ||
var0(1) = ((((1.1348839223808307) + ((inputVector(0)) * (0.2567965976997648))) + ((inputVector(1)) * (-1.3904789369836008))) + ((inputVector(2)) * (0.596683023311173))) + ((inputVector(3)) * (-1.2690022726388828)) | ||
var0(2) = ((((-1.2162802012560197) + ((inputVector(0)) * (-1.6357766989177105))) + ((inputVector(1)) * (-1.5040638728422817))) + ((inputVector(2)) * (2.427835933129272))) + ((inputVector(3)) * (2.3469310693367276)) | ||
Score = var0 | ||
End Function | ||
End Module |
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
Oops, something went wrong.