Releases: feranick/SpectralMachine
Releases · feranick/SpectralMachine
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
20180703b
Changelog:
- Extensive support for HDF5 file format. SLP (v1 and v2) now support HDF5 files for both training and test files. Access speed is much much improved.
TxtToHDF5
andHDF5ToTxt
: New utilities to manage HDF5 (conversion to/from Txt). Existing Txt files can be easily converted into HDF5. Conversion to HDF5 can also provide built in full spectral normalization (so it doesn't need to be done within SLP2, speeding up the preprocessing).- Added HDF5 support for:
PlotData
,PlotDataSplit
,AddHorizontalOffset
,AddLinearBackground
,AddNoisyData
,AddRelativeHorNoisyData
,AddRelativeNoisyData
, AddVerticalOffset,
MixMakerRruff,
XRange`
- Substantially improved speed and capabilities:
RruffDataMaker2
,MakeCrossValidSet
,RandomCrossValidMaker
,AddNoisyData
,MixMakerRruff
. By using HDF5, it is now extremely efficient and fast. - Redesigned training data makers for less I/O usage (older versions available as legacy):
RruffDataMaker
andXmuDataMaker
: - New Utility:
PlotSingleDataRruffSpectra
: Plot individual data from Rruff.AddSpectraToLearnFile
: Add spectra to existing training filesNormLearnFile
: Normalize max spectral intensity to a specific value (if specified) or 1 (if not specified).
- Binary
.npy
is no longer actively developed, although it is still supported. New utilityTxtHDF5NpyConverter
replaces existing ones and allow for interconversion betweennpy
,txt
,h5
. - Simplification of learning matrix handling.
- Added support for controlling GPU memory allocation.
- Added profiler and evaluation hooks to
dnntf
. - Improved default parameters in
SpectraKeras
. - UI and bug fixes.
- 20180703b has several hotfixes for Utilities, and it supersedes 20180623b and 20180703a. SPL itself us unchanged.
20180524a
20180130a
First Preview Release of SpectralMachine v2. It includes partial revision of DNN code, and full support for Keras to create fully connected DNN and CNN. Ultimately, v2 will supersede v1, which for now remains the stable and recommended version for production. v1 is release with bug fixes.