Skip to content
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

Dev best features #4

Merged
merged 5 commits into from
Jun 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ install_pgks.sh
!/**/nbconverted/*.py
**/.jukit/
.ipynb_checkpoints/
.virtual_documents/
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,7 @@


sys.path.append(f"{root_dir}/utils")
import analysis_utils as au
import preprocess_utils as ppu
import eval_utils as eu
import train_utils as tu


# # Seed and Generator for Reproducibility
Expand All @@ -88,7 +85,10 @@

path3p = plate_path / filename3p

# Creates an object for accessing the plate 3 normalized data using the path of the data
po3 = ppu.Preprocess_data(path=path3)

# Creates an object for accessing the plate 3 prime normalized data using the path of the data
po3p = ppu.Preprocess_data(path=path3p)

plate3df = po3.df # Returns the dataframe generated by the csv
Expand Down Expand Up @@ -156,7 +156,7 @@
stratify=platedata[[target_column, stratify_column]],
shuffle=True,
random_state=rnd_val,
) # Create validation splits
)


# ## Encode Labels
Expand Down
5 changes: 4 additions & 1 deletion 1.train_models/lr_plate3_cp_fs_data/train_model.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,10 @@
"\n",
"path3p = plate_path / filename3p\n",
"\n",
"# Creates an object for accessing the plate 3 normalized data using the path of the data\n",
"po3 = ppu.Preprocess_data(path=path3)\n",
"\n",
"# Creates an object for accessing the plate 3 prime normalized data using the path of the data\n",
"po3p = ppu.Preprocess_data(path=path3p)\n",
"\n",
"plate3df = po3.df # Returns the dataframe generated by the csv\n",
Expand Down Expand Up @@ -402,4 +405,4 @@
},
"nbformat": 4,
"nbformat_minor": 4
}
}
Loading