Thein Oo

Results 7 comments of Thein Oo

I got way more than 10X performance. I set it up to 10,000,000. ```python import cx_Oracle class Connection(cx_Oracle.Connection): def cursor(self): cursor = super(Connection, self).cursor() cursor.arraysize = 10000000 return cursor ```

@shadab-entrepreneur I also got the same error. In my case, `lightGBM` returns probabilities for both classes and I have to modify the SHAP values as ```python shap_values.values=shap_values.values[:,:,1] shap_values.base_values=shap_values.base_values[:,1] ``` Then,...

I usually do this to get feature importance. ```python vals= np.abs(shap_values).mean(0) feature_importance = pd.DataFrame(list(zip(X_train.columns,vals)),columns=['col_name','feature_importance_vals']) feature_importance.sort_values(by=['feature_importance_vals'],ascending=False,inplace=True) feature_importance.head() ```

Since now each state has its plan to reopen , the county level data (positive tests, negative tests ) for each state is more important than ever. Without vaccines, the...

Did you try to install `Trax` from the master branch?

I think it is only available in the development version. For Colab, you can try: ```python !pip install -q -U git+https://github.com/google/trax.git !pip install -q -U git+https://github.com/google/gin-config.git ``` This [document](https://trax-ml.readthedocs.io/en/latest/notebooks/trax_intro.html) is...

Or use `fastmcp` to run on the server. `python server.py` ``` #server.py from mcp.server.fastmcp import FastMCP mcp = FastMCP("Echo") @mcp.resource("echo://{message}") def echo_resource(message: str) -> str: """Echo a message as a...