60
60
- [ Features] ( #F-MMIVR-BiosensorFramework-MachineLearningUtilities-ExtractedBinFeatures-Features ' MMIVR.BiosensorFramework.MachineLearningUtilities.ExtractedBinFeatures.Features ')
61
61
- [ Label] ( #F-MMIVR-BiosensorFramework-MachineLearningUtilities-ExtractedBinFeatures-Label ' MMIVR.BiosensorFramework.MachineLearningUtilities.ExtractedBinFeatures.Label ')
62
62
- [ ExtractedFeatures] ( #T-MMIVR-BiosensorFramework-MachineLearningUtilities-ExtractedFeatures ' MMIVR.BiosensorFramework.MachineLearningUtilities.ExtractedFeatures ')
63
- - [ StressFeatures ] ( #F-MMIVR-BiosensorFramework-MachineLearningUtilities-ExtractedFeatures-StressFeatures ' MMIVR.BiosensorFramework.MachineLearningUtilities.ExtractedFeatures.StressFeatures ')
63
+ - [ Features ] ( #F-MMIVR-BiosensorFramework-MachineLearningUtilities-ExtractedFeatures-Features ' MMIVR.BiosensorFramework.MachineLearningUtilities.ExtractedFeatures.Features ')
64
64
- [ ExtractedMultiFeatures] ( #T-MMIVR-BiosensorFramework-MachineLearningUtilities-ExtractedMultiFeatures ' MMIVR.BiosensorFramework.MachineLearningUtilities.ExtractedMultiFeatures ')
65
+ - [ Features] ( #F-MMIVR-BiosensorFramework-MachineLearningUtilities-ExtractedMultiFeatures-Features ' MMIVR.BiosensorFramework.MachineLearningUtilities.ExtractedMultiFeatures.Features ')
65
66
- [ Result] ( #F-MMIVR-BiosensorFramework-MachineLearningUtilities-ExtractedMultiFeatures-Result ' MMIVR.BiosensorFramework.MachineLearningUtilities.ExtractedMultiFeatures.Result ')
66
- - [ StressFeatures] ( #F-MMIVR-BiosensorFramework-MachineLearningUtilities-ExtractedMultiFeatures-StressFeatures ' MMIVR.BiosensorFramework.MachineLearningUtilities.ExtractedMultiFeatures.StressFeatures ')
67
67
- [ ExtractedRegFeatures] ( #T-MMIVR-BiosensorFramework-MachineLearningUtilities-ExtractedRegFeatures ' MMIVR.BiosensorFramework.MachineLearningUtilities.ExtractedRegFeatures ')
68
+ - [ Features] ( #F-MMIVR-BiosensorFramework-MachineLearningUtilities-ExtractedRegFeatures-Features ' MMIVR.BiosensorFramework.MachineLearningUtilities.ExtractedRegFeatures.Features ')
68
69
- [ Result] ( #F-MMIVR-BiosensorFramework-MachineLearningUtilities-ExtractedRegFeatures-Result ' MMIVR.BiosensorFramework.MachineLearningUtilities.ExtractedRegFeatures.Result ')
69
- - [ StressFeatures] ( #F-MMIVR-BiosensorFramework-MachineLearningUtilities-ExtractedRegFeatures-StressFeatures ' MMIVR.BiosensorFramework.MachineLearningUtilities.ExtractedRegFeatures.StressFeatures ')
70
70
- [ FFT] ( #T-MMIVR-BiosensorFramework-DataProcessing-ThirdParty-DSPLib-FFT ' MMIVR.BiosensorFramework.DataProcessing.ThirdParty.DSPLib.FFT ')
71
71
- [ #ctor()] ( #M-MMIVR-BiosensorFramework-DataProcessing-ThirdParty-DSPLib-FFT-#ctor ' MMIVR.BiosensorFramework.DataProcessing.ThirdParty.DSPLib.FFT.#ctor ')
72
72
- [ BitReverse()] ( #M-MMIVR-BiosensorFramework-DataProcessing-ThirdParty-DSPLib-FFT-BitReverse-System-UInt32,System-UInt32- ' MMIVR.BiosensorFramework.DataProcessing.ThirdParty.DSPLib.FFT.BitReverse(System.UInt32,System.UInt32) ')
132
132
- [ MakeMultiPrediction(mlContext,LiveData,Model)] ( #M-MMIVR-BiosensorFramework-MachineLearningUtilities-Predict-MakeMultiPrediction-Microsoft-ML-MLContext,MMIVR-BiosensorFramework-MachineLearningUtilities-ExtractedMultiFeatures,Microsoft-ML-ITransformer- ' MMIVR.BiosensorFramework.MachineLearningUtilities.Predict.MakeMultiPrediction(Microsoft.ML.MLContext,MMIVR.BiosensorFramework.MachineLearningUtilities.ExtractedMultiFeatures,Microsoft.ML.ITransformer) ')
133
133
- [ MakeRegPrediction(mlContext,LiveData,Model)] ( #M-MMIVR-BiosensorFramework-MachineLearningUtilities-Predict-MakeRegPrediction-Microsoft-ML-MLContext,Microsoft-ML-IDataView,Microsoft-ML-ITransformer- ' MMIVR.BiosensorFramework.MachineLearningUtilities.Predict.MakeRegPrediction(Microsoft.ML.MLContext,Microsoft.ML.IDataView,Microsoft.ML.ITransformer) ')
134
134
- [ PredictWindow(mlContext,Model,WindowReadings)] ( #M-MMIVR-BiosensorFramework-MachineLearningUtilities-Predict-PredictWindow-Microsoft-ML-MLContext,Microsoft-ML-ITransformer,System-Collections-Generic-List{System-Collections-Generic-List{System-Double}}- ' MMIVR.BiosensorFramework.MachineLearningUtilities.Predict.PredictWindow(Microsoft.ML.MLContext,Microsoft.ML.ITransformer,System.Collections.Generic.List{System.Collections.Generic.List{System.Double}}) ')
135
+ - [ PredictWindowMulti(mlContext,Model,WindowReadings)] ( #M-MMIVR-BiosensorFramework-MachineLearningUtilities-Predict-PredictWindowMulti-Microsoft-ML-MLContext,Microsoft-ML-ITransformer,System-Collections-Generic-List{System-Collections-Generic-List{System-Double}}- ' MMIVR.BiosensorFramework.MachineLearningUtilities.Predict.PredictWindowMulti(Microsoft.ML.MLContext,Microsoft.ML.ITransformer,System.Collections.Generic.List{System.Collections.Generic.List{System.Double}}) ')
135
136
- [ PredictionBinResult] ( #T-MMIVR-BiosensorFramework-MachineLearningUtilities-PredictionBinResult ' MMIVR.BiosensorFramework.MachineLearningUtilities.PredictionBinResult ')
136
137
- [ Prediction] ( #F-MMIVR-BiosensorFramework-MachineLearningUtilities-PredictionBinResult-Prediction ' MMIVR.BiosensorFramework.MachineLearningUtilities.PredictionBinResult.Prediction ')
137
138
- [ Probability] ( #F-MMIVR-BiosensorFramework-MachineLearningUtilities-PredictionBinResult-Probability ' MMIVR.BiosensorFramework.MachineLearningUtilities.PredictionBinResult.Probability ')
205
206
- [ PrintBinMetrics(metrics)] ( #M-MMIVR-BiosensorFramework-MachineLearningUtilities-Train-PrintBinMetrics-Microsoft-ML-Data-BinaryClassificationMetrics- ' MMIVR.BiosensorFramework.MachineLearningUtilities.Train.PrintBinMetrics(Microsoft.ML.Data.BinaryClassificationMetrics) ')
206
207
- [ PrintMultiMetrics(metrics)] ( #M-MMIVR-BiosensorFramework-MachineLearningUtilities-Train-PrintMultiMetrics-Microsoft-ML-Data-MulticlassClassificationMetrics- ' MMIVR.BiosensorFramework.MachineLearningUtilities.Train.PrintMultiMetrics(Microsoft.ML.Data.MulticlassClassificationMetrics) ')
207
208
- [ PrintRegMetrics(metrics)] ( #M-MMIVR-BiosensorFramework-MachineLearningUtilities-Train-PrintRegMetrics-Microsoft-ML-Data-RegressionMetrics- ' MMIVR.BiosensorFramework.MachineLearningUtilities.Train.PrintRegMetrics(Microsoft.ML.Data.RegressionMetrics) ')
208
- - [ RunBenchmarks(DirectoryPath,BestRegModel,BestMultiModel,BestBinModel)] ( #M-MMIVR-BiosensorFramework-MachineLearningUtilities-Train-RunBenchmarks-System-String,Microsoft-ML-ITransformer@,Microsoft-ML-ITransformer@,Microsoft-ML-ITransformer@- ' MMIVR.BiosensorFramework.MachineLearningUtilities.Train.RunBenchmarks(System.String,Microsoft.ML.ITransformer@,Microsoft.ML.ITransformer@,Microsoft.ML.ITransformer@) ')
209
+ - [ RunBenchmarks(DirectoryPath,BestRegModel,BestMultiModel,BestBinModel,ModelDir )] ( #M-MMIVR-BiosensorFramework-MachineLearningUtilities-Train-RunBenchmarks-System-String,Microsoft-ML-ITransformer@,Microsoft-ML-ITransformer@,Microsoft-ML-ITransformer@,System-String- ' MMIVR.BiosensorFramework.MachineLearningUtilities.Train.RunBenchmarks(System.String,Microsoft.ML.ITransformer@,Microsoft.ML.ITransformer@,Microsoft.ML.ITransformer@,System.String ) ')
209
210
- [ TrimFeatureSet(FeatureSet,LabelsToRemove)] ( #M-MMIVR-BiosensorFramework-MachineLearningUtilities-Train-TrimFeatureSet-System-Collections-Generic-List{MMIVR-BiosensorFramework-MachineLearningUtilities-ExtractedMultiFeatures},System-Collections-Generic-List{System-Int32}- ' MMIVR.BiosensorFramework.MachineLearningUtilities.Train.TrimFeatureSet(System.Collections.Generic.List{MMIVR.BiosensorFramework.MachineLearningUtilities.ExtractedMultiFeatures},System.Collections.Generic.List{System.Int32}) ')
210
211
- [ Type] ( #T-MMIVR-BiosensorFramework-DataProcessing-ThirdParty-DSPLib-DSP-Window-Type ' MMIVR.BiosensorFramework.DataProcessing.ThirdParty.DSPLib.DSP.Window.Type ')
211
212
- [ Utilities] ( #T-MMIVR-BiosensorFramework-Biosensors-EmpaticaE4-Utilities ' MMIVR.BiosensorFramework.Biosensors.EmpaticaE4.Utilities ')
@@ -1038,8 +1039,8 @@ MMIVR.BiosensorFramework.MachineLearningUtilities
1038
1039
1039
1040
Class to hold extracted features for inferencing.
1040
1041
1041
- <a name =' F-MMIVR-BiosensorFramework-MachineLearningUtilities-ExtractedFeatures-StressFeatures ' ></a >
1042
- ### StressFeatures ` constants `
1042
+ <a name =' F-MMIVR-BiosensorFramework-MachineLearningUtilities-ExtractedFeatures-Features ' ></a >
1043
+ ### Features ` constants `
1043
1044
1044
1045
##### Summary
1045
1046
@@ -1056,19 +1057,19 @@ MMIVR.BiosensorFramework.MachineLearningUtilities
1056
1057
1057
1058
Class to hold extracted features for training a multi-class model.
1058
1059
1059
- <a name =' F-MMIVR-BiosensorFramework-MachineLearningUtilities-ExtractedMultiFeatures-Result ' ></a >
1060
- ### Result ` constants `
1060
+ <a name =' F-MMIVR-BiosensorFramework-MachineLearningUtilities-ExtractedMultiFeatures-Features ' ></a >
1061
+ ### Features ` constants `
1061
1062
1062
1063
##### Summary
1063
1064
1064
- The label for the stress features.
1065
+ Array to store the hand crafted features.
1065
1066
1066
- <a name =' F-MMIVR-BiosensorFramework-MachineLearningUtilities-ExtractedMultiFeatures-StressFeatures ' ></a >
1067
- ### StressFeatures ` constants `
1067
+ <a name =' F-MMIVR-BiosensorFramework-MachineLearningUtilities-ExtractedMultiFeatures-Result ' ></a >
1068
+ ### Result ` constants `
1068
1069
1069
1070
##### Summary
1070
1071
1071
- Array to store the hand crafted features.
1072
+ The label for the stress features.
1072
1073
1073
1074
<a name =' T-MMIVR-BiosensorFramework-MachineLearningUtilities-ExtractedRegFeatures ' ></a >
1074
1075
## ExtractedRegFeatures ` type `
@@ -1081,19 +1082,19 @@ MMIVR.BiosensorFramework.MachineLearningUtilities
1081
1082
1082
1083
Class to hold extracted features for training a regression model.
1083
1084
1084
- <a name =' F-MMIVR-BiosensorFramework-MachineLearningUtilities-ExtractedRegFeatures-Result ' ></a >
1085
- ### Result ` constants `
1085
+ <a name =' F-MMIVR-BiosensorFramework-MachineLearningUtilities-ExtractedRegFeatures-Features ' ></a >
1086
+ ### Features ` constants `
1086
1087
1087
1088
##### Summary
1088
1089
1089
- The label for the stress features.
1090
+ Array to store the hand crafted features.
1090
1091
1091
- <a name =' F-MMIVR-BiosensorFramework-MachineLearningUtilities-ExtractedRegFeatures-StressFeatures ' ></a >
1092
- ### StressFeatures ` constants `
1092
+ <a name =' F-MMIVR-BiosensorFramework-MachineLearningUtilities-ExtractedRegFeatures-Result ' ></a >
1093
+ ### Result ` constants `
1093
1094
1094
1095
##### Summary
1095
1096
1096
- Array to store the hand crafted features.
1097
+ The label for the stress features.
1097
1098
1098
1099
<a name =' T-MMIVR-BiosensorFramework-DataProcessing-ThirdParty-DSPLib-FFT ' ></a >
1099
1100
## FFT ` type `
@@ -2118,6 +2119,21 @@ Takes the readings from the windowed data, extracts the features, and runs it th
2118
2119
| Model | [ Microsoft.ML.ITransformer] ( #T-Microsoft-ML-ITransformer ' Microsoft.ML.ITransformer ') | The loaded model for operations to be performed on. |
2119
2120
| WindowReadings | [ System.Collections.Generic.List{System.Collections.Generic.List{System.Double}}] ( http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Collections.Generic.List ' System.Collections.Generic.List{System.Collections.Generic.List{System.Double}} ') | Packaged List of List of sensor readings. |
2120
2121
2122
+ <a name =' M-MMIVR-BiosensorFramework-MachineLearningUtilities-Predict-PredictWindowMulti-Microsoft-ML-MLContext,Microsoft-ML-ITransformer,System-Collections-Generic-List{System-Collections-Generic-List{System-Double}}- ' ></a >
2123
+ ### PredictWindowMulti(mlContext,Model,WindowReadings) ` method `
2124
+
2125
+ ##### Summary
2126
+
2127
+ Takes the readings from the windowed data, extracts the features, and runs it through a prediction pipeline.
2128
+
2129
+ ##### Parameters
2130
+
2131
+ | Name | Type | Description |
2132
+ | ---- | ---- | ----------- |
2133
+ | mlContext | [ Microsoft.ML.MLContext] ( #T-Microsoft-ML-MLContext ' Microsoft.ML.MLContext ') | Microsoft ML context for operations to be performed in. |
2134
+ | Model | [ Microsoft.ML.ITransformer] ( #T-Microsoft-ML-ITransformer ' Microsoft.ML.ITransformer ') | The loaded model for operations to be performed on. |
2135
+ | WindowReadings | [ System.Collections.Generic.List{System.Collections.Generic.List{System.Double}}] ( http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Collections.Generic.List ' System.Collections.Generic.List{System.Collections.Generic.List{System.Double}} ') | Packaged List of List of sensor readings. |
2136
+
2121
2137
<a name =' T-MMIVR-BiosensorFramework-MachineLearningUtilities-PredictionBinResult ' ></a >
2122
2138
## PredictionBinResult ` type `
2123
2139
@@ -2914,8 +2930,8 @@ Prints the performance metrics of the regression classification test to Console.
2914
2930
| ---- | ---- | ----------- |
2915
2931
| metrics | [ Microsoft.ML.Data.RegressionMetrics] ( #T-Microsoft-ML-Data-RegressionMetrics ' Microsoft.ML.Data.RegressionMetrics ') | The metrics from the test set. |
2916
2932
2917
- <a name =' M-MMIVR-BiosensorFramework-MachineLearningUtilities-Train-RunBenchmarks-System-String,Microsoft-ML-ITransformer@,Microsoft-ML-ITransformer@,Microsoft-ML-ITransformer@- ' ></a >
2918
- ### RunBenchmarks(DirectoryPath,BestRegModel,BestMultiModel,BestBinModel) ` method `
2933
+ <a name =' M-MMIVR-BiosensorFramework-MachineLearningUtilities-Train-RunBenchmarks-System-String,Microsoft-ML-ITransformer@,Microsoft-ML-ITransformer@,Microsoft-ML-ITransformer@,System-String - ' ></a >
2934
+ ### RunBenchmarks(DirectoryPath,BestRegModel,BestMultiModel,BestBinModel,ModelDir ) ` method `
2919
2935
2920
2936
##### Summary
2921
2937
@@ -2929,6 +2945,7 @@ Runs regression, multi-class, and binary classification tasks on the WESAD datas
2929
2945
| BestRegModel | [ Microsoft.ML.ITransformer@] ( #T-Microsoft-ML-ITransformer@ ' Microsoft.ML.ITransformer@ ') | The best regression ITransformer model. |
2930
2946
| BestMultiModel | [ Microsoft.ML.ITransformer@] ( #T-Microsoft-ML-ITransformer@ ' Microsoft.ML.ITransformer@ ') | The best multi-class ITransformer model. |
2931
2947
| BestBinModel | [ Microsoft.ML.ITransformer@] ( #T-Microsoft-ML-ITransformer@ ' Microsoft.ML.ITransformer@ ') | The best binary ITransformer model. |
2948
+ | ModelDir | [ System.String] ( http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.String ' System.String ') | The top directory to save the best models to. Default null. |
2932
2949
2933
2950
<a name =' M-MMIVR-BiosensorFramework-MachineLearningUtilities-Train-TrimFeatureSet-System-Collections-Generic-List{MMIVR-BiosensorFramework-MachineLearningUtilities-ExtractedMultiFeatures},System-Collections-Generic-List{System-Int32}- ' ></a >
2934
2951
### TrimFeatureSet(FeatureSet,LabelsToRemove) ` method `
0 commit comments