renom_rg.api.utility

renom_rg.api.utility.feature_graph

Copyright 2019, Grid.

This source code is licensed under the ReNom Subscription Agreement, version 1.0. ReNom Subscription Agreement Ver. 1.0 ( https://www.renom.jp/info/license/index.html )

renom_rg.api.utility.feature_graph. get_corr_graph ( X , neighbors , explanatory_column_ids=[] )

Get correlation feature graph.

Parameters:
  • neighbors ( int ) – Number of neighbors.
  • explanatory_column_ids ( list ) – List of explanatory_column_ids.
Returns:

This returns matrix of neighbrs indexes per variables.

Return type:

(array)

renom_rg.api.utility.feature_graph. get_kernel_graph ( X , neighbors , gamma )

Get kernel feature graph.

Parameters:
  • neighbors ( int ) – Number of neighbors.
  • gamma ( float ) – Bandwidth.
Returns:

This returns matrix of neighbrs indexes per variables.

Return type:

(array)

renom_rg.api.utility.feature_graph. get_dbscan_graph ( X , neighbors )

Get DBSCAN feature graph.

Parameters: neighbors ( int ) – Number of neighbors.
Returns: This returns matrix of neighbrs indexes per variables.
Return type: (array)