Innov-AI     Services     Supporters     Contact     About    
Machine Learning

Machine learning.

ml cluster xy_scatterml cluster loadml cluster load_from_jsonml cluster existml cluster showml cluster nbml cluster nb_pointml cluster pointsml cluster point_getml cluster point_deleteml cluster point_addml cluster point_updateml cluster distanceml cluster closeml cluster close_allml h_node load_from_jsonml h_node add_problemml h_node predictml h_node existml h_node exist_problemml h_node showml h_node show_problemml h_node close_problemml h_node closeml h_node close_all

ml cluster xy_scatter <clusterId>


Description

    Show a machine learning scatter

Parameters

    clusterId:   The cluster id - string - required
admin
ml cluster xy_scatter "cluster1";
mentdb
...

ml cluster load <clusterId> <cmId> <fieldX> <fieldY> <maximumRadius> <minPoint> <sqlSource>


Description

    Load a cluster from the database

Parameters

    clusterId:   The cluster id - string - required
    cmId:   The database connection id - string - required
    fieldX:   The field X - string - required
    fieldY:   The field X - string - required
    maximumRadius:   The maximum radius - string - required
    minPoint:   The minimun of points - string - required
    sqlSource:   The select query (origin) - string - required
admin
ml cluster load "cluster1" "demo_cm_mysql" "id" "quantity" 5 3 "select * from products limit 0, 500";
mentdb
...

ml cluster load_from_json <clusterId> <maximumRadius> <minPoint> <jsonArray>


Description

    Load a cluster from a json array

Parameters

    clusterId:   The cluster id - string - required
    maximumRadius:   The maximum radius - string - required
    minPoint:   The minimun of points - string - required
    jsonArray:   The json array - string - required
admin
ml cluster load_from_json "cluster1" 1 2 "[ [1.0, 2.0], [1.0, 2.2], [1.0, 2.5], [1.2, 2.0], [1.11, 0.9], [5.0, 3.0], [5.2, 3.08], [5.1, 3.0], [5.15, 2.9], [3.0, 2.0], [3.2, 2.08], [3.1, 2.0], [3.15, 1.9] ]";
mentdb
...

ml cluster exist <clusterId>


Description

    Check if a cluster already exist

Parameters

    clusterId:   The cluster id - string - required
admin
ml cluster exist "cluster1"
mentdb
1

ml cluster show


Description

    Show all clusters

admin
ml cluster show
mentdb
...

ml cluster nb <clusterId>


Description

    Get the number of cluster

Parameters

    clusterId:   The cluster id - string - required
admin
ml cluster nb "cluster1"
mentdb
3

ml cluster nb_point <clusterId> <clusterIndex>


Description

    Get the number of points in a cluster

Parameters

    clusterId:   The cluster id - string - required
    clusterIndex:   The cluster index - string - required
admin
ml cluster nb_point "cluster1" 0
mentdb
5

ml cluster points <clusterId> <clusterIndex>


Description

    Get all points in a cluster

Parameters

    clusterId:   The cluster id - string - required
    clusterIndex:   The cluster index - string - required
admin
ml cluster points "cluster1" 0
mentdb
...

ml cluster point_get <clusterId> <clusterIndex> <pointIndex>


Description

    Get a point in a cluster

Parameters

    clusterId:   The cluster id - string - required
    clusterIndex:   The cluster index - string - required
    pointIndex:   The point index - string - required
admin
ml cluster point_get "cluster1" 0 0
mentdb
...

ml cluster point_delete <clusterId> <clusterIndex> <pointIndex>


Description

    Get a point in a cluster

Parameters

    clusterId:   The cluster id - string - required
    clusterIndex:   The cluster index - string - required
    pointIndex:   The point index - string - required
admin
ml cluster point_delete "cluster1" 0 0;
mentdb
...

ml cluster point_add <clusterId> <clusterIndex> <x> <y>


Description

    Add a point in a cluster

Parameters

    clusterId:   The cluster id - string - required
    clusterIndex:   The cluster index - string - required
    x:   The x - string - required
    y:   The y - string - required
admin
ml cluster point_add "cluster1" 0 5 6;
mentdb
...

ml cluster point_update <clusterId> <clusterIndex> <pointIndex> <x> <y>


Description

    Update a point in a cluster

Parameters

    clusterId:   The cluster id - string - required
    clusterIndex:   The cluster index - string - required
    pointIndex:   The point index - string - required
    x:   The x - string - required
    y:   The y - string - required
admin
ml cluster point_update "cluster1" 0 0 5 6;
mentdb
...

ml cluster distance <clusterId> <x1> <y1> <x2> <y2>


Description

    Get the distance between two points

Parameters

    clusterId:   The cluster id - string - required
    x1:   The x1 value - string - required
    y1:   The y1 value - string - required
    x2:   The x2 value - string - required
    y2:   The y2 value - string - required
admin
ml cluster distance "cluster1" 1 2 4 7
mentdb
3

ml cluster close <clusterId>


Description

    Close a cluster

Parameters

    clusterId:   The cluster id - string - required
admin
ml cluster close "cluster1";
mentdb
1

ml cluster close_all


Description

    Close all clusters

admin
ml cluster close_all;
mentdb
1

ml h_node load_from_json <hId> <isDirect> <jsonArray>


Description

    Load heuristic node objects from json

Parameters

    hId:   The heuristic id - string - required
    isDirect:   Is direct ? - boolean - required
    jsonArray:   The JSON data array - string - required
admin
ml h_node load_from_json "hid1" true "[ [ \"A\", \"B\", 2 ], [ \"A\", \"C\", 4 ], [ \"D\", \"A\", 1 ], [ \"A\", \"D\", 3 ], [ \"E\", \"F\", 4 ], [ \"D\", \"F\", 2 ], [ \"G\", \"H\", 1 ], [ \"F\", \"H\", 5 ], [ \"F\", \"I\", 7 ], [ \"J\", \"I\", 2 ] ]";
mentdb
...

ml h_node add_problem <hId> <problemId> <from>


Description

    Add a new problem

Parameters

    hId:   The heuristic id - string - required
    problemId:   The problem id - string - required
    from:   The origin to search - string - required
admin
ml h_node add_problem "hid1" "probId1" "A";
mentdb
1

ml h_node predict <hId> <problemId> <algorithm> <to> <param>


Description

    Predict the best path

Parameters

    hId:   The heuristic id - string - required
    problemId:   The problem id - string - required
    algorithm:   The algorithm (dijkstra|a_star|bellman_ford|breadth_first_search|depth_first_search|depth_limited_search|i_d_a_star|multi_objective_l_s|hill_climbing) - string - required
    to:   The origin to search - string - required
    param:   The algorithm param (integer for 'depth_limited_search', boolean for 'hill_climbing') - string - required
admin
ml h_node predict "hid1" "probId1" "dijkstra|a_star|bellman_ford|breadth_first_search|depth_first_search|depth_limited_search|i_d_a_star|multi_objective_l_s|hill_climbing" "I" null
mentdb
...

ml h_node exist <hId>


Description

    Check if a heuristic node object already exist

Parameters

    hId:   The heuristic id - string - required
admin
ml h_node exist "hid1"
mentdb
1

ml h_node exist_problem <hId> <problemId>


Description

    Check if a problem already exist

Parameters

    hId:   The heuristic id - string - required
    problemId:   The problem id - string - required
admin
ml h_node exist_problem "hid1" "probId1"
mentdb
1

ml h_node show


Description

    Show all heuristic node objects

admin
ml h_node show
mentdb
...

ml h_node show_problem <hId>


Description

    Show all problems into a heuristic object

Parameters

    hId:   The heuristic id - string - required
admin
ml h_node show_problem "hid1"
mentdb
...

ml h_node close_problem <hId> <problemId>


Description

    Close a problem

Parameters

    hId:   The heuristic id - string - required
    problemId:   The problem id - string - required
admin
ml h_node close_problem "hid1" "probId1";
mentdb
1

ml h_node close <hId>


Description

    Close a heuristic node object

Parameters

    hId:   The heuristic id - string - required
admin
ml h_node close "hid1";
mentdb
1

ml h_node close_all


Description

    Close all heuristic node objects

admin
ml h_node close_all;
mentdb
1




© 2012 - 2023