-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] Feature/111/pipeline functions #157
Commits on Jun 2, 2019
-
Migration of file used in tallamjr/plasticc repo
This baseline commit brings in the file that has been used in the exploratory repo of https://github.com/tallamjr/plasticc/pipeline.py
Configuration menu - View commit details
-
Copy full SHA for 9cba46d - Browse repository at this point
Copy the full SHA 9cba46dView commit details -
Minor linting improvements + comments
Although one expects the code in this file to change a lot, PEP8 linting was carried out to encourage the consistent style. Comments added to areas of code which need further discussion or will indeed be adapted further
Configuration menu - View commit details
-
Copy full SHA for dd8277d - Browse repository at this point
Copy the full SHA dd8277dView commit details -
File mode changed to 644 from 755. This puts all files in the same permissions bracket to allow for consistency across the files.
Configuration menu - View commit details
-
Copy full SHA for 520150d - Browse repository at this point
Copy the full SHA 520150dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2acd69a - Browse repository at this point
Copy the full SHA 2acd69aView commit details -
Tidying up file and renaming function names
Renaming to be in line with code style conventions
Configuration menu - View commit details
-
Copy full SHA for c898f96 - Browse repository at this point
Copy the full SHA c898f96View commit details -
Configuration menu - View commit details
-
Copy full SHA for 660519a - Browse repository at this point
Copy the full SHA 660519aView commit details -
Updating create_folder_structure function
Updating with doctrings and examples. Also including helper function to obtain git revision hash to include in analysis folder name
Configuration menu - View commit details
-
Copy full SHA for 906d95e - Browse repository at this point
Copy the full SHA 906d95eView commit details -
Removing options in config to be in script instead
Certain options would be better served as defaults in the script and the user can change these as they wish in the source file
Configuration menu - View commit details
-
Copy full SHA for e40a785 - Browse repository at this point
Copy the full SHA e40a785View commit details -
Moving old utils files to an archival folder
These files may still have merit for processing the data but as the pipeline is being developed it is felt they are better served in a seperate folder
Configuration menu - View commit details
-
Copy full SHA for cc84318 - Browse repository at this point
Copy the full SHA cc84318View commit details -
Removed code to add to sys path as this is no longer necessary as pipeline script now resides in snmachine main repo
Configuration menu - View commit details
-
Copy full SHA for edfd84d - Browse repository at this point
Copy the full SHA edfd84dView commit details -
[WIP] Updating functions in pipeline script
Several functions have been updated with doctrings and examples for how to run such functions
Configuration menu - View commit details
-
Copy full SHA for 98e8800 - Browse repository at this point
Copy the full SHA 98e8800View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2992782 - Browse repository at this point
Copy the full SHA 2992782View commit details -
Modifying file structure inside utils directory
Renaming of files to make it easier to follow how the modern workflow takes place. Put old run_pipeline.py file in archive as this is no longer used
Configuration menu - View commit details
-
Copy full SHA for 8bd050f - Browse repository at this point
Copy the full SHA 8bd050fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e85f5b - Browse repository at this point
Copy the full SHA 3e85f5bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4179b2c - Browse repository at this point
Copy the full SHA 4179b2cView commit details -
Updating variable names to be consistent
gps.py defines variable names for the kernel parameters and number of points for the GPs. This change updates the configuration file and pipeline to be in line with that file
Configuration menu - View commit details
-
Copy full SHA for 32eb2eb - Browse repository at this point
Copy the full SHA 32eb2ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for cdf659d - Browse repository at this point
Copy the full SHA cdf659dView commit details -
Reducing number of PCA components
Reducing the number of PCA components from 200 to 10 as it is required that number of components be less than or equal to the number of objects. Thus for the dataset used here "training_set_snia.pickle" 10 is appropriate. This should fix this error: Running PCA... The condition number in the SVD is 1.02688179587e+23 and the normalized one is 5.00036575467e+22 Traceback (most recent call last): File "plasticc_pipeline.py", line 469, in <module> tol=None, pca_path=None, save_output=True, output_root=dirs.get("intermediate_files_directory")) File "/home/tallam/.conda/envs/snmachine/lib/python3.6/site-packages/snmachine/snfeatures.py", line 2005, in extract_pca normalize_variance=normalize_variance) File "/home/tallam/.conda/envs/snmachine/lib/python3.6/site-packages/snmachine/snfeatures.py", line 1873, in _pca return self.pca_SVD(dataMatrix, ncomp, tol, normalize_variance) File "/home/tallam/.conda/envs/snmachine/lib/python3.6/site-packages/snmachine/snfeatures.py", line 1714, in pca_SVD assert isinstance(tol, np.float) AssertionError
Configuration menu - View commit details
-
Copy full SHA for 5fb499e - Browse repository at this point
Copy the full SHA 5fb499eView commit details -
Adding None return if key-value not found
If one attempts to call the "method_directory" parameter from the dictionary but it does not exist, a None type return will occur
Configuration menu - View commit details
-
Copy full SHA for 8bb380c - Browse repository at this point
Copy the full SHA 8bb380cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 429355b - Browse repository at this point
Copy the full SHA 429355bView commit details -
Adding timestamp helper function
This function is used to determine the last modified time of the configuration file that is being used and to place this in the name of the analysis run.
Configuration menu - View commit details
-
Copy full SHA for f84d22b - Browse repository at this point
Copy the full SHA f84d22bView commit details -
Configuration menu - View commit details
-
Copy full SHA for be45b59 - Browse repository at this point
Copy the full SHA be45b59View commit details -
Configuration menu - View commit details
-
Copy full SHA for fa0373e - Browse repository at this point
Copy the full SHA fa0373eView commit details -
Configuration menu - View commit details
-
Copy full SHA for d16bc3e - Browse repository at this point
Copy the full SHA d16bc3eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 699b902 - Browse repository at this point
Copy the full SHA 699b902View commit details -
Updating confusion matrix functions
This function now displays the confusion matrix as ASCII table in console as well as returning seaborn figure
Configuration menu - View commit details
-
Copy full SHA for 27a0f6e - Browse repository at this point
Copy the full SHA 27a0f6eView commit details -
Updates made to 'create_classifier' functions
Removal of Log Loss function call as well as stripping unused functions within 'create_classifier'
Configuration menu - View commit details
-
Copy full SHA for 2b19bab - Browse repository at this point
Copy the full SHA 2b19babView commit details -
Save SHA and timestamp inside copy of config file
Previously one would prepend the hash and timestamp to the folder, but this became too verbose Adding checks if analysis name already created This should see if the user has already defined an existing analysis name already and check to see if they want to overwrite the results in that folder, or create a new one.
Configuration menu - View commit details
-
Copy full SHA for a267363 - Browse repository at this point
Copy the full SHA a267363View commit details -
Remove unused function argument
Sending stderr to /dev/null if folder overwritten
Configuration menu - View commit details
-
Copy full SHA for 3ad79b4 - Browse repository at this point
Copy the full SHA 3ad79b4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c8d870 - Browse repository at this point
Copy the full SHA 9c8d870View commit details -
Adding _to_pandas() helper functions
This function should be able to convert to either numpy or astropy.Table to a pandas.DataFrame. Also updating docstrings
Configuration menu - View commit details
-
Copy full SHA for d2dd843 - Browse repository at this point
Copy the full SHA d2dd843View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e4fe56 - Browse repository at this point
Copy the full SHA 0e4fe56View commit details -
Fixing error of now new folder being created
Due to a conditional check if a directory exists or not, it became apparent that if there was not a directory, no new ones were being created. This change fixes that.
Configuration menu - View commit details
-
Copy full SHA for 83f91f4 - Browse repository at this point
Copy the full SHA 83f91f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for c5593d5 - Browse repository at this point
Copy the full SHA c5593d5View commit details -
Updating save_configuration_file function
Removing ROC and AUC metrics
Configuration menu - View commit details
-
Copy full SHA for 382a251 - Browse repository at this point
Copy the full SHA 382a251View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ad52aa - Browse repository at this point
Copy the full SHA 8ad52aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 98867b9 - Browse repository at this point
Copy the full SHA 98867b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 80971f2 - Browse repository at this point
Copy the full SHA 80971f2View commit details -
Return wavelet_components as a pandas DataFrame
Instead of an Astropy Table, return as a pandas DataFrame to processing later in the pipeline
Configuration menu - View commit details
-
Copy full SHA for 42486c8 - Browse repository at this point
Copy the full SHA 42486c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for d50ec44 - Browse repository at this point
Copy the full SHA d50ec44View commit details -
Configuration menu - View commit details
-
Copy full SHA for ae8d50e - Browse repository at this point
Copy the full SHA ae8d50eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 89e3bf5 - Browse repository at this point
Copy the full SHA 89e3bf5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 91d84a6 - Browse repository at this point
Copy the full SHA 91d84a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e281e2 - Browse repository at this point
Copy the full SHA 7e281e2View commit details -
Including 'imbalanced-learn' package as dependency
Required updating sklearn version
Configuration menu - View commit details
-
Copy full SHA for e32f65e - Browse repository at this point
Copy the full SHA e32f65eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 47f6125 - Browse repository at this point
Copy the full SHA 47f6125View commit details -
Adding functionality to rebalance classes
Also functionality save classifier and confusion matrix plot
Configuration menu - View commit details
-
Copy full SHA for 3242bf3 - Browse repository at this point
Copy the full SHA 3242bf3View commit details -
Configuration menu - View commit details
-
Copy full SHA for cecb4ac - Browse repository at this point
Copy the full SHA cecb4acView commit details -
Configuration menu - View commit details
-
Copy full SHA for 080434b - Browse repository at this point
Copy the full SHA 080434bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c86dc7 - Browse repository at this point
Copy the full SHA 2c86dc7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0eb5572 - Browse repository at this point
Copy the full SHA 0eb5572View commit details -
Configuration menu - View commit details
-
Copy full SHA for d07bbdc - Browse repository at this point
Copy the full SHA d07bbdcView commit details
Commits on Jun 3, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 854ebc2 - Browse repository at this point
Copy the full SHA 854ebc2View commit details -
Configuration menu - View commit details
-
Copy full SHA for d32ca95 - Browse repository at this point
Copy the full SHA d32ca95View commit details -
Configuration menu - View commit details
-
Copy full SHA for 89caf3c - Browse repository at this point
Copy the full SHA 89caf3cView commit details
Commits on Jun 4, 2019
-
Fixing version of sncosmo for debug checks
The recent HTTP 404 error discovered in the CI suggests that a recent change to sncosmo might be the reason for failing to find salt2 models Latest version = 1.8.0, which is where the error occurs, bumping down to 1.7.1 (previous release) to test outcome
Configuration menu - View commit details
-
Copy full SHA for 33cffea - Browse repository at this point
Copy the full SHA 33cffeaView commit details -
Save the balancing method and the number of PCA components used for t…
…he classifier and confusion matrix
Configuration menu - View commit details
-
Copy full SHA for 13fb8b6 - Browse repository at this point
Copy the full SHA 13fb8b6View commit details -
With the inclusion of this feature set, although not fully complete, a MINOR bump is felt necessary.
Configuration menu - View commit details
-
Copy full SHA for c251337 - Browse repository at this point
Copy the full SHA c251337View commit details