-
Greetings
I am building a model with heterogeneous firms with discrete adjustment costs, _a la_ Khan & Thomas (2008).
I am struggling on the way to calculate wages, which require the distributi…
-
Including a SSJS block in a Content Container Template Paint Layout like so:
```
Asset ID: %asset_assetid%
From pre-eval: print('%asset_assetid%')
From SSJS: prin…
-
In a Content Container Template Paint Layout, I tried using conditional keywords in my SSJS output. However, although the conditional keywords were removed from the final output, the content inside t…
-
A direct bodycopy div rendering via https://www.example.com/site/_nocache?a=12345 (where the Preview -> In New Window sends you) or via ?SQ_ASSET_CONTENTS=12345 evaluates SSJS but has issues when atte…
-
In miniSphere versions up to 5.2.x, passing an object to `SSj.log()` will cause the engine to `JSON.stringify` it and print the output. This works well enough for simple data objects (POJOs) but suff…
-
While debugging is enabled, if one throws an error inside of an async function:
```js
async function f()
{
throw new Error("*munch*");
}
f();
```
Normally, such an error would be interce…
-
If required content has a dot (`.`) in their name, the engine will classify them as an invalid file type and prevent the download, even if they're legitimate.
```
Invalid file type...skipping dow…
ghost updated
5 years ago
-
你好,
我是kdd比赛组织者。predict时运行 merge_embeddings.py 报错,请问该怎么解决?
python merge_embeddings.py sfr
(466387, 4096)
(466387, 4096)
395812
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
Traceback (most recent call last…
-
At the moment, the only way to get data in or out of SSJS is via keywords. These only get processed before an SSJS block is executed for data going in -- or after for controlling behaviour afterwards…
-
ch14.ipynb Cell #19
KeyError: 'weight'
2 fi_viz = FeatureImportances(xgr)
3 fi_viz.fit(bos_X_train, bos_y_train)
----> 4 fi_viz.poof()
5 #fig.savefig("images/mlpr_1406.png", d…