20180914a
Changelog:
- DNN Regressor: The user can choose through a configuration flag (
useRegressorDNNTF
) which DNN Estimator to use, either theDNNClassifier
orDNNRegressor
- Warning:
SpectraLearnPredict2.ini
files created with previous version of SLP2 need to be updated by addinguseRegressorDNNTF = False
under the section[DNNClassifier]
- Warning:
- Bug fixes on HD5 I/O for plugins. Improved detection of file extensions, bug fixes.
- HD5 is now the default saving format for Datasets
SpectraLearnPredict2
andSpectraKeras
can now use either pure Keras APIs or tensorflow.keras APIs through a hardcoded flag (useTFKeras
) in slp_config.py- New and updated utilities:
RandomCrossValidMaker
: new way to do format subsetting for cross validationRangeToDataMaker
: produce a large set of files from a single dataset with specific parameters given in a rangeRemoveLimitedDatasets
andInfoLimitedDatasets
: Remove or identify the number of spectra in a datasets belonging to a specific class that are below a specific threshold.MergeDatasets
: Merge two different training sets. If the axis are not the same, they second will be normalized to the first
- SpectraKeras_MLP: Massive update
- hidden layers can be defined via array in parameters (rather than hardcoded)
- modularization: it will allow for easier implementation of future feature
- Updated Torque-PBS submission scripts (
sub_slp2
andsub_slp2_cv
) to accommodate training files not in the main folder. Previously if files were outside the working folder, no log was generated. - Updated Slurm submission scripts (
sub_ml
andsub_ml_cv
) - Label encoder transformation matrix is now saved into a pkl file: this allow for encoders info for predictions done using software other than
SpectraLearnPredict2
- Bug fixes and improvements:
- Fixed bug prevented correct detection of x-axis with different scale.
- Fixed bug that prevented to use training sets with less than 9 points per training data.
- Fixed label encoding in SVM, NN
- Training output lists more info on the training set