-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
211 changed files
with
3,763 additions
and
0 deletions.
There are no files selected for viewing
1,847 changes: 1,847 additions & 0 deletions
1,847
5. ML_tutorial/.ipynb_checkpoints/ML_tutorial-checkpoint.ipynb
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
---------------------------------------------------------------- | ||
Thu Mar 08 16:10:01 KST 2018: | ||
Booting Derby version The Apache Software Foundation - Apache Derby - 10.12.1.1 - (1704137): instance a816c00e-0162-0471-fa52-0000087f0338 | ||
on database directory /home/paulkim/workspace/Spark/LearningPySpark/Chapter6/metastore_db with class loader org.apache.spark.sql.hive.client.IsolatedClientLoader$$anon$1@58a10067 | ||
Loaded from file:/home/paulkim/spark-2.2.0-bin-hadoop2.7/jars/derby-10.12.1.1.jar | ||
java.vendor=Oracle Corporation | ||
java.runtime.version=1.8.0_151-b12 | ||
user.dir=/home/paulkim/workspace/Spark/LearningPySpark/Chapter6 | ||
os.name=Linux | ||
os.arch=amd64 | ||
os.version=4.13.0-36-generic | ||
derby.system.home=null | ||
Database Class Loader started - derby.database.classpath='' |
Binary file added
BIN
+8 Bytes
5. ML_tutorial/infant_oneHotEncoder_Logistic_Pipeline/metadata/._SUCCESS.crc
Binary file not shown.
Binary file added
BIN
+12 Bytes
5. ML_tutorial/infant_oneHotEncoder_Logistic_Pipeline/metadata/.part-00000.crc
Binary file not shown.
Empty file.
1 change: 1 addition & 0 deletions
1
5. ML_tutorial/infant_oneHotEncoder_Logistic_Pipeline/metadata/part-00000
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"class":"org.apache.spark.ml.Pipeline","timestamp":1520343039788,"sparkVersion":"2.2.0","uid":"Pipeline_4c17aa5cbf875f5b1da8","paramMap":{"stageUids":["OneHotEncoder_42ea8648036159e3b0c4","VectorAssembler_4761ab090823489bcc96","LogisticRegression_40e48beb73886d7d18bb"]}} |
Binary file added
BIN
+8 Bytes
...oder_Logistic_Pipeline/stages/0_OneHotEncoder_42ea8648036159e3b0c4/metadata/._SUCCESS.crc
Binary file not shown.
Binary file added
BIN
+12 Bytes
...er_Logistic_Pipeline/stages/0_OneHotEncoder_42ea8648036159e3b0c4/metadata/.part-00000.crc
Binary file not shown.
Empty file.
1 change: 1 addition & 0 deletions
1
...Encoder_Logistic_Pipeline/stages/0_OneHotEncoder_42ea8648036159e3b0c4/metadata/part-00000
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"class":"org.apache.spark.ml.feature.OneHotEncoder","timestamp":1520343039910,"sparkVersion":"2.2.0","uid":"OneHotEncoder_42ea8648036159e3b0c4","paramMap":{"inputCol":"BIRTH_PLACE_INT","outputCol":"BIRTH_PLACE_VEC","dropLast":true}} |
Binary file added
BIN
+8 Bytes
...er_Logistic_Pipeline/stages/1_VectorAssembler_4761ab090823489bcc96/metadata/._SUCCESS.crc
Binary file not shown.
Binary file added
BIN
+12 Bytes
..._Logistic_Pipeline/stages/1_VectorAssembler_4761ab090823489bcc96/metadata/.part-00000.crc
Binary file not shown.
Empty file.
1 change: 1 addition & 0 deletions
1
...coder_Logistic_Pipeline/stages/1_VectorAssembler_4761ab090823489bcc96/metadata/part-00000
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"class":"org.apache.spark.ml.feature.VectorAssembler","timestamp":1520343039964,"sparkVersion":"2.2.0","uid":"VectorAssembler_4761ab090823489bcc96","paramMap":{"outputCol":"features","inputCols":["MOTHER_AGE_YEARS","FATHER_COMBINED_AGE","CIG_BEFORE","CIG_1_TRI","CIG_2_TRI","CIG_3_TRI","MOTHER_HEIGHT_IN","MOTHER_PRE_WEIGHT","MOTHER_DELIVERY_WEIGHT","MOTHER_WEIGHT_GAIN","DIABETES_PRE","DIABETES_GEST","HYP_TENS_PRE","HYP_TENS_GEST","PREV_BIRTH_PRETERM","BIRTH_PLACE_VEC"]}} |
Binary file added
BIN
+8 Bytes
...Logistic_Pipeline/stages/2_LogisticRegression_40e48beb73886d7d18bb/metadata/._SUCCESS.crc
Binary file not shown.
Binary file added
BIN
+12 Bytes
...gistic_Pipeline/stages/2_LogisticRegression_40e48beb73886d7d18bb/metadata/.part-00000.crc
Binary file not shown.
Empty file.
1 change: 1 addition & 0 deletions
1
...er_Logistic_Pipeline/stages/2_LogisticRegression_40e48beb73886d7d18bb/metadata/part-00000
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"class":"org.apache.spark.ml.classification.LogisticRegression","timestamp":1520343040021,"sparkVersion":"2.2.0","uid":"LogisticRegression_40e48beb73886d7d18bb","paramMap":{"fitIntercept":true,"labelCol":"INFANT_ALIVE_AT_REPORT","maxIter":10,"tol":1.0E-6,"regParam":0.01,"threshold":0.5,"predictionCol":"prediction","standardization":true,"probabilityCol":"probability","featuresCol":"features","family":"auto","rawPredictionCol":"rawPrediction","elasticNetParam":0.0,"aggregationDepth":2}} |
Binary file added
BIN
+8 Bytes
5. ML_tutorial/infant_oneHotEncoder_Logistic_PipelineModel/metadata/._SUCCESS.crc
Binary file not shown.
Binary file added
BIN
+12 Bytes
5. ML_tutorial/infant_oneHotEncoder_Logistic_PipelineModel/metadata/.part-00000.crc
Binary file not shown.
Empty file.
1 change: 1 addition & 0 deletions
1
5. ML_tutorial/infant_oneHotEncoder_Logistic_PipelineModel/metadata/part-00000
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"class":"org.apache.spark.ml.PipelineModel","timestamp":1520343044233,"sparkVersion":"2.2.0","uid":"PipelineModel_460a81f5e204ad3ac72a","paramMap":{"stageUids":["OneHotEncoder_42ea8648036159e3b0c4","VectorAssembler_4761ab090823489bcc96","LogisticRegression_40e48beb73886d7d18bb"]}} |
Binary file added
BIN
+8 Bytes
...Logistic_PipelineModel/stages/0_OneHotEncoder_42ea8648036159e3b0c4/metadata/._SUCCESS.crc
Binary file not shown.
Binary file added
BIN
+12 Bytes
...gistic_PipelineModel/stages/0_OneHotEncoder_42ea8648036159e3b0c4/metadata/.part-00000.crc
Binary file not shown.
Empty file.
1 change: 1 addition & 0 deletions
1
...er_Logistic_PipelineModel/stages/0_OneHotEncoder_42ea8648036159e3b0c4/metadata/part-00000
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"class":"org.apache.spark.ml.feature.OneHotEncoder","timestamp":1520343044281,"sparkVersion":"2.2.0","uid":"OneHotEncoder_42ea8648036159e3b0c4","paramMap":{"inputCol":"BIRTH_PLACE_INT","outputCol":"BIRTH_PLACE_VEC","dropLast":true}} |
Binary file added
BIN
+8 Bytes
...gistic_PipelineModel/stages/1_VectorAssembler_4761ab090823489bcc96/metadata/._SUCCESS.crc
Binary file not shown.
Binary file added
BIN
+12 Bytes
...stic_PipelineModel/stages/1_VectorAssembler_4761ab090823489bcc96/metadata/.part-00000.crc
Binary file not shown.
Empty file.
1 change: 1 addition & 0 deletions
1
..._Logistic_PipelineModel/stages/1_VectorAssembler_4761ab090823489bcc96/metadata/part-00000
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"class":"org.apache.spark.ml.feature.VectorAssembler","timestamp":1520343044321,"sparkVersion":"2.2.0","uid":"VectorAssembler_4761ab090823489bcc96","paramMap":{"outputCol":"features","inputCols":["MOTHER_AGE_YEARS","FATHER_COMBINED_AGE","CIG_BEFORE","CIG_1_TRI","CIG_2_TRI","CIG_3_TRI","MOTHER_HEIGHT_IN","MOTHER_PRE_WEIGHT","MOTHER_DELIVERY_WEIGHT","MOTHER_WEIGHT_GAIN","DIABETES_PRE","DIABETES_GEST","HYP_TENS_PRE","HYP_TENS_GEST","PREV_BIRTH_PRETERM","BIRTH_PLACE_VEC"]}} |
Binary file added
BIN
+8 Bytes
...ogistic_PipelineModel/stages/2_LogisticRegression_40e48beb73886d7d18bb/data/._SUCCESS.crc
Binary file not shown.
Binary file added
BIN
+40 Bytes
...3886d7d18bb/data/.part-00000-b598f85a-4c7b-4c8f-b3f2-989a28ac6ef3-c000.snappy.parquet.crc
Binary file not shown.
Empty file.
Binary file added
BIN
+3.92 KB
...8beb73886d7d18bb/data/part-00000-b598f85a-4c7b-4c8f-b3f2-989a28ac6ef3-c000.snappy.parquet
Binary file not shown.
Binary file added
BIN
+8 Bytes
...tic_PipelineModel/stages/2_LogisticRegression_40e48beb73886d7d18bb/metadata/._SUCCESS.crc
Binary file not shown.
Binary file added
BIN
+12 Bytes
...c_PipelineModel/stages/2_LogisticRegression_40e48beb73886d7d18bb/metadata/.part-00000.crc
Binary file not shown.
Empty file.
1 change: 1 addition & 0 deletions
1
...gistic_PipelineModel/stages/2_LogisticRegression_40e48beb73886d7d18bb/metadata/part-00000
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"class":"org.apache.spark.ml.classification.LogisticRegressionModel","timestamp":1520343044363,"sparkVersion":"2.2.0","uid":"LogisticRegression_40e48beb73886d7d18bb","paramMap":{"fitIntercept":true,"labelCol":"INFANT_ALIVE_AT_REPORT","tol":1.0E-6,"maxIter":10,"regParam":0.01,"threshold":0.5,"predictionCol":"prediction","standardization":true,"probabilityCol":"probability","featuresCol":"features","family":"auto","rawPredictionCol":"rawPrediction","elasticNetParam":0.0,"aggregationDepth":2}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
|
||
# ************************************************************************* | ||
# *** DO NOT TOUCH FILES IN THIS DIRECTORY! *** | ||
# *** FILES IN THIS DIRECTORY AND SUBDIRECTORIES CONSTITUTE A DERBY *** | ||
# *** DATABASE, WHICH INCLUDES THE DATA (USER AND SYSTEM) AND THE *** | ||
# *** FILES NECESSARY FOR DATABASE RECOVERY. *** | ||
# *** EDITING, ADDING, OR DELETING ANY OF THESE FILES MAY CAUSE DATA *** | ||
# *** CORRUPTION AND LEAVE THE DATABASE IN A NON-RECOVERABLE STATE. *** | ||
# ************************************************************************* |
Binary file not shown.
Binary file not shown.
8 changes: 8 additions & 0 deletions
8
5. ML_tutorial/metastore_db/log/README_DO_NOT_TOUCH_FILES.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
# ************************************************************************* | ||
# *** DO NOT TOUCH FILES IN THIS DIRECTORY! *** | ||
# *** FILES IN THIS DIRECTORY ARE USED BY THE DERBY DATABASE RECOVERY *** | ||
# *** SYSTEM. EDITING, ADDING, OR DELETING FILES IN THIS DIRECTORY *** | ||
# *** WILL CAUSE THE DERBY RECOVERY SYSTEM TO FAIL, LEADING TO *** | ||
# *** NON-RECOVERABLE CORRUPT DATABASES. *** | ||
# ************************************************************************* |
Binary file not shown.
Binary file not shown.
Binary file not shown.
8 changes: 8 additions & 0 deletions
8
5. ML_tutorial/metastore_db/seg0/README_DO_NOT_TOUCH_FILES.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
# ************************************************************************* | ||
# *** DO NOT TOUCH FILES IN THIS DIRECTORY! *** | ||
# *** FILES IN THIS DIRECTORY ARE USED BY THE DERBY DATABASE TO STORE *** | ||
# *** USER AND SYSTEM DATA. EDITING, ADDING, OR DELETING FILES IN THIS *** | ||
# *** DIRECTORY WILL CORRUPT THE ASSOCIATED DERBY DATABASE AND MAKE *** | ||
# *** IT NON-RECOVERABLE. *** | ||
# ************************************************************************* |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#/home/paulkim/workspace/Spark/LearningPySpark/Chapter6/metastore_db | ||
# ******************************************************************** | ||
# *** Please do NOT edit this file. *** | ||
# *** CHANGING THE CONTENT OF THIS FILE MAY CAUSE DATA CORRUPTION. *** | ||
# ******************************************************************** | ||
#Mon Mar 05 13:26:39 KST 2018 | ||
SysschemasIndex2Identifier=225 | ||
SyscolumnsIdentifier=144 | ||
SysconglomeratesIndex1Identifier=49 | ||
SysconglomeratesIdentifier=32 | ||
SyscolumnsIndex2Identifier=177 | ||
SysschemasIndex1Identifier=209 | ||
SysconglomeratesIndex3Identifier=81 | ||
SystablesIndex2Identifier=129 | ||
SyscolumnsIndex1Identifier=161 | ||
derby.serviceProtocol=org.apache.derby.database.Database | ||
SysschemasIdentifier=192 | ||
derby.storage.propertiesId=16 | ||
SysconglomeratesIndex2Identifier=65 | ||
derby.serviceLocale=ko_KR | ||
SystablesIdentifier=96 | ||
SystablesIndex1Identifier=113 | ||
#--- last line, don't put anything after this line --- |