163 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
2
votes
2
answers
77
views
Trying to run Dymola buildingTimeSerieswithETS from LBNL library, getting hysteresis errors
I am trying to run a Dymola model using the most recent LBNL Buildings Library release. I haven't added or changed anything at this point, so I'm really not sure if I'm just missing something that I ...
1
vote
1
answer
87
views
Printing all ets table values
I'm ongoing of learning erlang. The code sniped from Programming Erlang by Joe Armstrong
-module(my_bank).
-behaviour(gen_server).
-export([start/0]).
-export([init/1, handle_call/3, handle_cast/2, ...
2
votes
1
answer
1k
views
the table identifier does not refer to an existing ETS table
In a GenServer
def init(_opts \\ []) do
table = :ets.new(:my_table, [:duplicate_bag, :public])
{:ok, %{}}
end
def add_player(zone_id, socket_id) do
:ets.thing(
:my_table,
...
2
votes
1
answer
167
views
ets can find the record but can't delete it
i have a simple problem. ets:lookup() can find the record but ets:delete() gives badarg error.
case ets:lookup(Connections, Next) of
[] ->
case ets:lookup(Connections, Prev) of
...
1
vote
1
answer
164
views
(Elixir/Erlang) :ets.select_count returns 0
I'm writing a program using Elixir and I have a very strange error.
I have a table, which contains some values stored like that: {a, b}. A is unique value, b can be repeated.
I want to count how many ...
0
votes
1
answer
318
views
FORECAST ETS Functionality is giving #NUM Error if data is missing for at the end of the month
I am trying to forecast for 20days,starting from 01st April 2023, in stock prices of a company based on last 6 months' period i.e. from Oct'22 to Mar'23. However the since there was no trading on 31st ...
0
votes
1
answer
138
views
How to generate id by AUTO_INCREMENT in ETS?
I tried to write a wrapper for ets with which you can read and write structures in etc, question is: how to make id to be generated automatically
defmodule StructTable do
defstruct id: 0, ...
1
vote
0
answers
42
views
increase R performance with repeated timeseries Object forecasting
I like to work with the forecast package by R.Hyndman in R because it is excellent at finding good forecasting intervals. Unfortunately, I don't know how to increase its performance further when ...
1
vote
0
answers
138
views
Elixir / Pow Auth / ETS Cache - test raises error even if function works perfect
I created custom reset_password controller which works well during manual testing. Then I decided to write tests. Then problems started to appear. I read that I should mock cache and according to ...
0
votes
1
answer
584
views
What is the reason for the error reported for the ETS and ARIMA accuracy checks?
The code is as follows.
library(fable)
library(tsibble)
library(dplyr)
tourism_melb <- tourism %>%
filter(Region == "Melbourne")
tourism_melb %>%
group_by(Purpose) %>%
...
0
votes
2
answers
93
views
Error using the forecast function with the ets or nntar function
I am trying to use the forecast() function in R on different ETS objects or NNTAR. I get the same error message everytime.
ets_model <- ets(trainingdata)
ets_forecast.pred <- forecast(ets_model,...
1
vote
1
answer
246
views
How to return one value from ETS in Elixir?
i have ETS table that have key values scheme like this:
users = :ets.tab2list(:users)
IO.inspect users # printing
[
{"3eadd68495d",
%UserType{
name: "John",
id: "...
0
votes
1
answer
209
views
How to access to value in ets?
value = :ets.lookup(:table, key)
So, in example above, when I use ets.lookup i receive a list with map that's contains a key and values. But i want to get values only. What should I do?
0
votes
1
answer
285
views
Rolling origin function ro() showing error for forecast object in R
I'm currently working on a time-series project to forecast a cumulative variable 6 steps ahead. In my model selection process I'm trying to perform a rolling origin accuracy analysis for forecasts of ...
0
votes
0
answers
441
views
What are the alpha, beta and gamma values used in the Forecast.ETS function in excel?
I use forecast.ets function in excel. I want learn what values alpha, beta, gamma parameters which are based on[0,1]