Skip to content

Here we have a Python code that, using the skitleearn library, we were able to train 3 machine learning models for laboratory predictions.

Notifications You must be signed in to change notification settings

andre-aracaetano/ChemMachine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Programmers: André Araújo (andre23035@ilum.cnpem.br) and Samira Oliveira (samira23016@ilum.cnpem.br)

Here we have a Python code that, using the sklearn library, has allowed us to train 3 machine learning models for the prediction of laboratory results.

We have made the simplest code to use.

If you don't have a dataset, use our example dataset.

Follow the steps:

  1. Run the libraries
  2. Run the functions
  3. If the libraries and functions run without problems, import your dataset.xlsx or dataset.csv.
  4. Now we are going to process your data. Change the variable "df" to the name of your dataset.
  5. Change the variable "suas_colunas" to the columns with numbers without commas.
  6. Next, the variable "df1_alt1" will remove the columns that you do not use. The variable "df1_alt2" will remove the lines that you do not use.
  7. Now change the FEATURES and the TARGETS to the columns you want to use.
  8. Finally, check that the lines of code work correctly.
  9. In this case, our code has 3 models to do predicts.
  10. Use the code with caution and thank you.

About

Here we have a Python code that, using the skitleearn library, we were able to train 3 machine learning models for laboratory predictions.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published