新しい投稿

查找

質問
· 2024年11月22日

Calculate STD DEV with ObjectScript

Hence the question: is there a way to do that?

The goal is to get data (from half a thousand to 3-4 thousands lines) from DB, calculate standart deviation  then use it as logical condition in analyzer. 

For example IF std > custom_value = show_the_result ELSE null

There is a STDDEV(MDX) method  used in Analyzer but it is a measure and it can not be used as logical condition (correct me if i am wrong)

And there is a Embedded Python with numpy, but logic behind STDDEV(MDX) and numpy.std are different, apart of that Embedded python is a poorly produced gimmick and if i want to use python i would created entire analytics on it (i already did and now i need to transfer the concept into IRIS) 

Then there is STDDEV(SQL) method. It is very slow and thats it

And lastly we have %DeepSee.KPI. It is possible solution but our goal is to avoid it at all costs

'Community AI' tells me to ask here (if you think to ask it first, i've already did that)

Thank you in advance!

2 Comments
ディスカッション (2)1
続けるにはログインするか新規登録を行ってください
記事
· 2024年11月22日 1m read

QuinielaML - Predicción de la 24ª jornada de la Quiniela

¡Por fin! Se acabaron esos fines de semana sin liga por competiciones internacionales de cartón-piedra, ya podemos volver a nuestra cálida y confortable cotidianeidad.

Hoy traémos las predicciones para las jornadas 14ª  de Primera División y 16ª de Segunda. Veamos la Quiniela de esta jornada:

Esta es la predicción para Primera División:

Y para Segunda:

Lo que nos deja la siguiente Quiniela:

Bueno, como véis es una Quiniela cuando menos, plausible. ¡Suerte a todos!

ディスカッション (0)1
続けるにはログインするか新規登録を行ってください
質問
· 2024年11月22日

SQLのInsertにおける、JDBCとIRIS直の挙動差異について。

こんにちは、皆さま。
業務でIRISを用いて開発を行っている者です。

IRISに直接Insert文を発行する時と、JDBCを経由してInsert文を発行する時とで、
挙動差異があるように見受けれれまいたので、何かご存知な方がいらっしゃれば教えてください。

次の様なテーブルがあります。

それに対してDBeaverとIRIS管理ポータルからInsertを実行します。

★DBeaver

 

★IRIS管理ポータル

 

この後実際に作成されたグローバルの情報を確認すると、
『VARCHAR型』で作成したカラムに数値をInsertした際に、
実データの型が異なっていることがわかります。

DBeaver(JDBC) ➡ 文字列で登録
IRIS直     ➡ 数値で登録

個人的には『VARCHAR型』に数値が入ること自体がおかしいので、
DBeaverの方がまし(ホントは型違反とかになってほしい)と思うのですが、
この差異が何で発生するのか、また回避する方法をご存じな方がいらっしゃれば情報共有頂きたいです。

 

また、そもそもIRISはRDBを使っても型チェックが曖昧になるものなのかも気になっています。
さすがに数値のカラムに文字列を入れようとすると怒られるのですが、
上記の様な場合にチェックの仕組みが働かないのには違和感がありました。

3 Comments
ディスカッション (3)1
続けるにはログインするか新規登録を行ってください
記事
· 2024年11月21日 6m read

IRIS-RAG-Gen_ IRIS Vector Search による ChatGPT RAG アプリケーションのパーソナライズ

image

コミュニティの皆さん、こんにちは。

この記事では、iris-RAG-Gen という私のアプリケーションをご紹介します。

iris-RAG-Gen は、IRIS Vector Search の機能を使用して、Streamlit ウェブフレームワーク、LangChain、および OpenAI で ChatGPT をパーソナライズするジェネレーティブ AI 検索拡張生成(RAG: Retrieval-Augmented Generation)アプリケーションです。 このアプリケーションは IRIS をベクトルストアとして使用します。

アプリケーションの機能

  • ドキュメント(PDF または TXT)を IRIS に取り込む
  • 選択されたドキュメントの取り込みを使ってチャットする
  • ドキュメントの取り込みを削除する
  • OpenAI ChatGPT

ディスカッション (0)0
続けるにはログインするか新規登録を行ってください
記事
· 2024年11月21日 2m read

第二十八章 TCP 客户端 服务器通信 - JOB命令示例

第二十八章 TCP 客户端 服务器通信 - JOB命令示例

JOB命令示例

以下示例显示了一个非常简单的并发服务器,只要它检测到来自客户端的连接,就会产生一个子作业。 JOB指定一个并发服务器位开关值(值16)并通过符号表(值1):16+1=17

ディスカッション (0)1
続けるにはログインするか新規登録を行ってください