Code Monkey home page Code Monkey logo

data-analysis-everything's Introduction

Data-analysis-everything

데이터 분석가가 반드시 알아야할 모든 것 책 코드 리뷰

데이터 탐색과 시각화

공분산과 상관 분석 실습

  • 공분산과 상관 분석 실습

몇 개의 산점도는 어느 정도의 상관성이 보이는 것을 확인할 수 있다. 종속변수라 할 수 있는 quality 변수는 자연수 형태로 3~9로만 이루어져 있기 때문에 다른 변수들과 줄무늬 형태의 산점도를 보인다. 동일한 변수는 일직선으로만 나오기 때문에 큰 의미가 없으므로 분포도로 변환하여 정보량을 늘리는 것이다.

df.cov()와 df.corr(method='pearson')를 활용해서 공분산과 피어슨 상관계수를 확인해주었다.

  • 히트맵

노란색에 가까울수록 양의 상관관계를 보이고 보라색에 가까울수록 음의 상관관계를 보인다.

  • clustermap 히트맵 시각화

히트맵과 함께 상관계수도 확인할 수 있게 되었다.

  • 중복 제거 히트맵 시각화

이번 장을 통해서 공분산과 히트맵에 개념, 코드를 익힐 수 있었다.

개념 정리

공분산: 두 변수의 관계를 나타내는 양

히트맵: 히트 맵(heat map)은 열을 뜻하는 히트(heat)와 지도를 뜻하는 맵(map)을 결합시킨 단어로, 색상으로 표현할 수 있는 다양한 정보를 일정한 이미지 위에 열분포 형태의 비주얼한 그래픽으로 출력하는 것

data-analysis-everything's People

Contributors

steadyfox2 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.