Giter VIP home page Giter VIP logo

cluster_entropy's Introduction

基于复杂系统熵聚类的中药聚类

代码参考了中医方剂聚类,主要在其基础上进行了代码的重构和优化,原项目是对中医方剂进行聚类,基于中医方剂的主治信息中的症状,本项目主要对中药进行聚类,主要基于中药的功效信息。

文件列表

function_cluster_main.py:包含主函数,针对中药的功效信息进行聚类

data_utils.py:包含对数据进行处理的函数

relatives.py:包含计算互信息和亲友团的函数

cluster:包含对亲友团进行聚类的函数

data:包含药物数据、同义词字典等文件

运行:

直接运行function_cluster_main.py即可,可设置min_relatives_nums和max_relatives_nums参数对亲友团数量进行限制。

cluster_entropy's People

Contributors

marspain 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.