search for: row_index

Displaying 7 results from an estimated 7 matches for "row_index".

Did you mean: reg_index
2018 Jun 01
0
Issue with batch forecasting of Time series data
...2_MAPE = fit2_acry[,'MAPE'] ) best = which.min(MAPE) BestModel = get(paste('fc',best,sep="")) forecastoutput = rbind(data.frame(forecast(BestModel, h=1)) ) forecast_date = rbind(tail(input_data["DATE"][input_data["Server.Name"]==i],(1))) row_index = which(Products==i) output[row_index,1] = i output[row_index,2] = forecast_date output[row_index,3] = (round(forecastoutput$Point.Forecast,2)) output[row_index,4] = as.numeric(round(forecastoutput$Lo.80,2)) output[row_index,5] = as.numeric(round(forecastoutput$Hi.80,2)) outp...
2018 May 27
0
Help required in Batch Forecasting
...2_MAPE = fit2_acry[,'MAPE'] ) best = which.min(MAPE) BestModel = get(paste('fc',best,sep="")) forecastoutput = rbind(data.frame(forecast(BestModel, h=1)) ) forecast_date = rbind(tail(input_data["DATE"][input_data["Server.Name"]==i],(1))) row_index = which(Products==i) output[row_index,1] = i output[row_index,2] = forecast_date output[row_index,3] = (round(forecastoutput$Point.Forecast,2)) output[row_index,4] = as.numeric(round(forecastoutput$Lo.80,2)) output[row_index,5] = as.numeric(round(forecastoutput$Hi.80,2)) outp...
2016 Jan 26
1
[PATCH v2] p2v: User can click on an interface name to identify the
v1 -> v2: Added a (now blue) underlined "Identify interface" link. It's not really a link, but it looks like one, so hopefully should resolve the previous UI issue. Rich.
2016 Jan 26
2
[PATCH] p2v: User can click on an interface name to identify the physical interface.
...dex; + + /* Get column index. */ + cols = gtk_tree_view_get_columns (GTK_TREE_VIEW (interfaces_list)); + column_index = g_list_index (cols, (gpointer) column); + g_list_free (cols); + + if (column_index == INTERFACES_COL_DEVICE) { + const gint *indices; + gint row_index; + const char *if_name; + char *cmd; + + /* Get the row index. */ + indices = gtk_tree_path_get_indices (path); + row_index = indices[0]; + + /* And the interface name. */ + if_name = all_interfaces[row_index]; + + /* Issue the ethtool command...
2004 Sep 23
3
folding table into a matrix
I'm just getting started with R, so feel free to point me to the appropriate documentation if this is already answered somewhere (though I've been unable to find it myself). This does seem like a rather basic question. I want to fold a table into a matrix. The table is formatted like so: Column_Index Value 1 486 2 688 3 447 4 555 5
2019 Sep 10
3
[PATCH 0/2] Remove virt-p2v from libguestfs
Now that virt-p2v has its own repository [1] and releases [2], it is time to remove it from libguestfs. [1] https://github.com/libguestfs/virt-p2v [2] http://download.libguestfs.org/virt-p2v/ Pino Toscano (2): Remove virt-p2v Remove remaining virt-p2v bits .gitignore | 4 - Makefile.am | 7 +- bash/Makefile.am
2016 Apr 04
2
[PATCH 1/2] Use 'error' function consistently throughout.
...error (EXIT_FAILURE, errno, "asprintf"); gtk_list_store_append (interfaces_store, &iter); gtk_list_store_set (interfaces_store, &iter, @@ -1071,10 +1064,8 @@ maybe_identify_click (GtkWidget *interfaces_list, GdkEventButton *event, if_name = all_interfaces[row_index]; /* Issue the ethtool command in the background. */ - if (asprintf (&cmd, "ethtool --identify '%s' 10 &", if_name) == -1) { - perror ("asprintf"); - exit (EXIT_FAILURE); - } + if (asprintf (&cmd, "ethtoo...