Learn R Programming

nbastatR (version 0.1.10131)

generate_som: Generate SOM

Description

Generate SOM

Usage

generate_som(data, normalization_parameters = list(minute_minimum = 250,
  scale_to_minute = TRUE, id_column = "idPlayerSeason", data_columns =
  c("totalsFG3M", "totalsFG3A", "totalsFG2M", "totalsFG2A", "totalsFTM",
  "totalsFTA", "totalsORB", "totalsDRB", "totalsAST", "totalsSTL", "totalsBLK",
  "totalsTOV", "totalsPF", "totalsPTS", "pct3PRate", "pctFTRate", "pctORB",
  "pctDRB", "pctAST", "pctSTL", "pctBLK", "pctTOV")),
  topology_parameters = list(x_dim = NULL, y_dim = NULL, topology =
  "hexagonal", seed = 998, clusters = 10, rlength = 1000, include_neural_gas =
  TRUE, override_max_nodes = TRUE), filter_na = TRUE,
  assign_to_environment = TRUE, return_message = TRUE)

Arguments

data
a data_frame
normalization_parameters
a list containing
  • minute minimum
  • scale_to_minute
  • id_column
  • data columns
topology_parameters
a list containing
  • x_dim
  • y_dim
  • seed
  • clusters
  • rlength
  • include_neural_gas
  • include_neighbors
  • override max_nodes
assign_to_environment
if TRUE assigns to environment
return_message