You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+32-8Lines changed: 32 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -7,34 +7,42 @@
7
7
8
8
9
9
10
-
<h1align = 'center'>Extracting Data From Files</h1>
11
10
12
-
As a data scientist for a climate research organization, I want to update some models. Where I need to extract temperature data for 3 regions being monitored. Unfortunately the temperature reading devices are quite old and can only be configured to dump data each day into a folder called `/temps` on the server. Each file contains the daily temperature for each region. I've then stored these variables in an array, calculated the **average temperature** of the regions and **append** this to the array.
11
+
<h1align = 'center'>Moving Machine Learning Model Results</h1>
13
12
14
-
- For example, for temperatures of 60 and 70, the array should have 60, 70, and 65 as its elements.
13
+
As a data scientist in charge of analyzing some machine learning model results, The production environment moves files into a folder called `model_out/`and names them model_RXX.csv where XX is a random number related to which experiment was run. Each file has the following structure (example):
15
14
15
+
<pre>
16
+
Model Name, Accuracy, CV, Model Duration (s)
17
+
Logistic,42,4,48
18
+
</pre>
19
+
20
+
The manager wants that recent work in the organization has meant that tree-based models are to be kept in one folder and everything else deleted. This script works to move the tree-based models (**Random Forest, GBM**, and **XGBoost**) to the `tree_models/ folder`, and delete all other models (**KNN** and **Logistic**).
16
21
17
22
18
-
👈🏻 Click Logo [<imgalign="left"alt="Bash"width="47px"src="https://raw.githubusercontent.com/github/explore/80688e429a7d4ef2fca1e82350fe8e3517d3494d/topics/bash/bash.png" />](https://github.com/Emon-ProCoder7/MyBash_scripts/blob/master/temperature.sh)
23
+
👈🏻 Click Logo [<imgalign="left"alt="Bash"width="47px"src="https://raw.githubusercontent.com/github/explore/80688e429a7d4ef2fca1e82350fe8e3517d3494d/topics/bash/bash.png" />](https://github.com/Emon-ProCoder7/MyBash_scripts/blob/master/moving_model_files.sh)
- One common use of bash scripts is for releasing a “build” of source code. Sometimes the private source code may contain developer resources or private information that they don’t want to release in the published version.
28
-
In this project, I've created a release script to automate coping certain files from a source directory into a build directory.
31
+
<h1align = 'center'>Extracting Data From Files</h1>
29
32
30
-
👈🏻 Click Logo [<imgalign="left"alt="Bash"width="47px"src="https://raw.githubusercontent.com/github/explore/80688e429a7d4ef2fca1e82350fe8e3517d3494d/topics/bash/bash.png" />](https://github.com/Emon-ProCoder7/MyBash_scripts/blob/master/build_Script.sh)
33
+
As a data scientist for a climate research organization, I want to update some models. Where I need to extract temperature data for 3 regions being monitored. Unfortunately the temperature reading devices are quite old and can only be configured to dump data each day into a folder called `/temps` on the server. Each file contains the daily temperature for each region. I've then stored these variables in an array, calculated the **average temperature** of the regions and **append** this to the array.
34
+
35
+
- For example, for temperatures of 60 and 70, the array should have 60, 70, and 65 as its elements.
31
36
32
37
33
38
39
+
👈🏻 Click Logo [<imgalign="left"alt="Bash"width="47px"src="https://raw.githubusercontent.com/github/explore/80688e429a7d4ef2fca1e82350fe8e3517d3494d/topics/bash/bash.png" />](https://github.com/Emon-ProCoder7/MyBash_scripts/blob/master/temperature.sh)
40
+
34
41
35
42
<br><br><br>
36
43
37
44
45
+
38
46
<h1align = 'center'>Extracting HR Data from Files</h1>
39
47
40
48
As a data scientist in the HR department of a large IT company, I need to extract salary figures for recent hires, however, the HR IT system simply spits out hundreds of files into the folder **/hire_data**.
@@ -53,3 +61,19 @@ Each file is comma-delimited in the format **COUNTRY,CITY,JOBTITLE,SALARY** such
- One common use of bash scripts is for releasing a “build” of source code. Sometimes the private source code may contain developer resources or private information that they don’t want to release in the published version.
70
+
In this project, I've created a release script to automate coping certain files from a source directory into a build directory.
71
+
72
+
👈🏻 Click Logo [<imgalign="left"alt="Bash"width="47px"src="https://raw.githubusercontent.com/github/explore/80688e429a7d4ef2fca1e82350fe8e3517d3494d/topics/bash/bash.png" />](https://github.com/Emon-ProCoder7/MyBash_scripts/blob/master/build_Script.sh)
0 commit comments