The Direct Data Platform™
The Direct Data Platform™
Exploratory Data
Analysis with Sweetviz
Dylan Wan
Senior Director, Data Science and Machine Learning
© Incorta, Inc. All Rights Reserved Internal Use Only
Using Incorta Notebook
3
© Incorta, Inc. All Rights Reserved Internal Use Only
Using Incorta Notebook - show_html extension
4
def show_html(sweetviz_report):
sweetviz_report.page_layout = 'widescreen'
sweetviz_report.scale = 1.0
sv_html.load_layout_globals_from_config()
sv_html.set_summary_positions(sweetviz_report)
sv_html.generate_html_detail(sweetviz_report)
if sweetviz_report.associations_html_source:
sweetviz_report.associations_html_source = sv_html.generate_html_associations(sweetviz_report, "source")
if sweetviz_report.associations_html_compare:
sweetviz_report.associations_html_compare = sv_html.generate_html_associations(sweetviz_report, "compare")
_page_html = sv_html.generate_html_dataframe_page(sweetviz_report)
return _page_html
Copy this to your notebook:
© Incorta, Inc. All Rights Reserved Internal Use Only
Using Incorta Notebook - Analyze a data set
5
my_report = sv.analyze([pdf,'Train'], target_feat='SalePrice')
Pandas DataFrame Label Column Name
© Incorta, Inc. All Rights Reserved Internal Use Only
Using Incorta Notebook - Compare two data sets
6
my_report = sv.compare([input_pdf1,'Train'], target_feat='Survived', compare= [input_pdf2, 'Test'])
© Incorta, Inc. All Rights Reserved Internal Use Only
Using Incorta Notebook - Zeppelin Display System
7
print("%angular <h2>sweetviz Report</h2>" + show_html(my_report))
Incorta extension
Copy this to your notebook:
The report is shown
as the output of the
paragraph
© Incorta, Inc. All Rights Reserved Internal Use Only
Using Incorta Notebook - Launch the Sweetviz HTML
report in a separate browser tab
8
© Incorta, Inc. All Rights Reserved Internal Use Only
Demo
9
The Direct Data Platform™

More Related Content

PPT
18 web-analytics using-accounts-and-profiles
PDF
Home and Auto Insurance Policy
ODP
2017 Classroom Analytics
PPTX
Incorta spark integration
PPTX
Incorta Data Security
PPTX
BI Apps Architecture
PPTX
Conformed Dimension and Data Mining
PPTX
Data Mining Scoring Engine development process
18 web-analytics using-accounts-and-profiles
Home and Auto Insurance Policy
2017 Classroom Analytics
Incorta spark integration
Incorta Data Security
BI Apps Architecture
Conformed Dimension and Data Mining
Data Mining Scoring Engine development process

Recently uploaded (20)

PPTX
New ISO 27001_2022 standard and the changes
PDF
Microsoft Core Cloud Services powerpoint
PPT
PROJECT CYCLE MANAGEMENT FRAMEWORK (PCM).ppt
PPTX
Crypto_Trading_Beginners.pptxxxxxxxxxxxxxx
PDF
©️ 02_SKU Automatic SW Robotics for Microsoft PC.pdf
PPTX
retention in jsjsksksksnbsndjddjdnFPD.pptx
PDF
A biomechanical Functional analysis of the masitary muscles in man
PPT
DU, AIS, Big Data and Data Analytics.ppt
PPTX
Caseware_IDEA_Detailed_Presentation.pptx
PPTX
Business_Capability_Map_Collection__pptx
PPT
statistic analysis for study - data collection
PPTX
chrmotography.pptx food anaylysis techni
PPTX
sac 451hinhgsgshssjsjsjheegdggeegegdggddgeg.pptx
PDF
Systems Analysis and Design, 12th Edition by Scott Tilley Test Bank.pdf
PDF
Best Data Science Professional Certificates in the USA | IABAC
PPT
lectureusjsjdhdsjjshdshshddhdhddhhd1.ppt
PPTX
chuitkarjhanbijunsdivndsijvndiucbhsaxnmzsicvjsd
PDF
CS3352FOUNDATION OF DATA SCIENCE _1_MAterial.pdf
PPTX
Lesson-01intheselfoflifeofthekennyrogersoftheunderstandoftheunderstanded
PPT
Image processing and pattern recognition 2.ppt
New ISO 27001_2022 standard and the changes
Microsoft Core Cloud Services powerpoint
PROJECT CYCLE MANAGEMENT FRAMEWORK (PCM).ppt
Crypto_Trading_Beginners.pptxxxxxxxxxxxxxx
©️ 02_SKU Automatic SW Robotics for Microsoft PC.pdf
retention in jsjsksksksnbsndjddjdnFPD.pptx
A biomechanical Functional analysis of the masitary muscles in man
DU, AIS, Big Data and Data Analytics.ppt
Caseware_IDEA_Detailed_Presentation.pptx
Business_Capability_Map_Collection__pptx
statistic analysis for study - data collection
chrmotography.pptx food anaylysis techni
sac 451hinhgsgshssjsjsjheegdggeegegdggddgeg.pptx
Systems Analysis and Design, 12th Edition by Scott Tilley Test Bank.pdf
Best Data Science Professional Certificates in the USA | IABAC
lectureusjsjdhdsjjshdshshddhdhddhhd1.ppt
chuitkarjhanbijunsdivndsijvndiucbhsaxnmzsicvjsd
CS3352FOUNDATION OF DATA SCIENCE _1_MAterial.pdf
Lesson-01intheselfoflifeofthekennyrogersoftheunderstandoftheunderstanded
Image processing and pattern recognition 2.ppt
Ad
Ad

Exploratory Data Analysis with Sweetviz in Incorta

  • 1. The Direct Data Platform™
  • 2. The Direct Data Platform™ Exploratory Data Analysis with Sweetviz Dylan Wan Senior Director, Data Science and Machine Learning
  • 3. © Incorta, Inc. All Rights Reserved Internal Use Only Using Incorta Notebook 3
  • 4. © Incorta, Inc. All Rights Reserved Internal Use Only Using Incorta Notebook - show_html extension 4 def show_html(sweetviz_report): sweetviz_report.page_layout = 'widescreen' sweetviz_report.scale = 1.0 sv_html.load_layout_globals_from_config() sv_html.set_summary_positions(sweetviz_report) sv_html.generate_html_detail(sweetviz_report) if sweetviz_report.associations_html_source: sweetviz_report.associations_html_source = sv_html.generate_html_associations(sweetviz_report, "source") if sweetviz_report.associations_html_compare: sweetviz_report.associations_html_compare = sv_html.generate_html_associations(sweetviz_report, "compare") _page_html = sv_html.generate_html_dataframe_page(sweetviz_report) return _page_html Copy this to your notebook:
  • 5. © Incorta, Inc. All Rights Reserved Internal Use Only Using Incorta Notebook - Analyze a data set 5 my_report = sv.analyze([pdf,'Train'], target_feat='SalePrice') Pandas DataFrame Label Column Name
  • 6. © Incorta, Inc. All Rights Reserved Internal Use Only Using Incorta Notebook - Compare two data sets 6 my_report = sv.compare([input_pdf1,'Train'], target_feat='Survived', compare= [input_pdf2, 'Test'])
  • 7. © Incorta, Inc. All Rights Reserved Internal Use Only Using Incorta Notebook - Zeppelin Display System 7 print("%angular <h2>sweetviz Report</h2>" + show_html(my_report)) Incorta extension Copy this to your notebook: The report is shown as the output of the paragraph
  • 8. © Incorta, Inc. All Rights Reserved Internal Use Only Using Incorta Notebook - Launch the Sweetviz HTML report in a separate browser tab 8
  • 9. © Incorta, Inc. All Rights Reserved Internal Use Only Demo 9
  • 10. The Direct Data Platform™