Giter Club home page Giter Club logo

dmnodes's Introduction

dmnodes

PHP Data Mining libraries

The initial commit has been made. No optimization or improvments haven't been made yet. Some improvments will be made soon.

Only K-Means algorithm yet implemented on top of DMNodes (KMP)

Directories structure

  • DBstore - Libraries related to DataTables and DataBases working.
  • includes - just files for a simple inclusion of exact algorithm
  • samples - dir of simple samples, mostly in text/plain format
  • Utilities - Some extra libraries

Notes

  1. Please keep in mind that this version is basicly academic. From version 0.1.0 will be more effective algorithms and libs.
  2. Data retrieved from source fully loading into a memory, till the version 0.1.0. So unable to analyse BigData.
  3. The current version have only TxtTemplate database libs. Other Sources will be added later.

Tasks

  • Improve source-objects
  • Source-Object have to be an interface to Database
  • Add support of MySQL database
  • Add support of Postgres database
  • Integrate KMP class with basic DMNode system
  • Remaster all DMNode basic classes
  • Documentation
  • Optimization
  • Clear the code
  • Improve display of results

run.php

// Defines basic dir (current dir)
define(HERE, __DIR__);

// Includes all needed for K-Means algorithm
include 'includes/kmp.include';
	
// Creating an Object-Source (TxtTemplate)
$store = new StoreText('TxtTemplate');
// Retrieving data from source (define the file or database from where to obtain data)
$store->retrieveData('samples/weightheight.txt');
// Creating Object-Algorithm and provide an array of data from Object-Source (Will be deprecated soon)
$tree = new KMP($store->toArray());
// Analyse data by algorithm and print the resulting array
print_r($tree->buildMap());

dmnodes's People

Watchers

James Cloos avatar Ivan Ponomarev avatar  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.