Skip to content

A python script for making multi-dimentional reduced subset Design of Experiments(DOE) and fitting the data with Machine Learning(ML)

License

Notifications You must be signed in to change notification settings

bcolsen/DOE-Machine-Fit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DOE-Machine-Fit

A python script for making multi-dimentional reduced subset Design of Experiments(DOE) and fitting the data with Machine Learning(ML)

Please Cite

How To Optimize Materials and Devices via Design of Experiments and Machine Learning: Demonstration Using Organic Photovoltaics

Example Code

import pandas as pd
import matplotlib.pyplot as plt
import doe_machine_fit as doe

df = pd.read_csv("acsnano.csv")
var_prop_labels={'pce': 'Power Conversion Efficiency (%)',
        'don_con': 'wt% Donor Concentration',
        'spin_s': 'Spin Speed (rpm)',
        'total_con': 'Total Concentration (mg/ml)',
        }
doe.fit_svm(df, 'pce', ['don_con', 'spin_s', 'total_con'],gamma=0.15,
        mark_err=0.1, var_prop_labels=var_prop_labels)
plt.gcf().savefig("example_figure.png", dpi=300)

Example Output

Example graph using ascnano paper data

About

A python script for making multi-dimentional reduced subset Design of Experiments(DOE) and fitting the data with Machine Learning(ML)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages