• bitcoinBitcoin(BTC)$60,854.00-3.80%
  • ethereumEthereum(ETH)$1,594.60-9.91%
  • tetherTether(USDT)$1.000.06%
  • binancecoinBNB(BNB)$572.30-5.29%
  • usd-coinUSDC(USDC)$1.000.01%
  • rippleXRP(XRP)$1.11-5.68%
  • solanaSolana(SOL)$64.01-7.05%
  • tronTRON(TRX)$0.321823-2.87%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.033.25%
  • HyperliquidHyperliquid(HYPE)$59.29-11.68%
  • dogecoinDogecoin(DOGE)$0.081619-8.05%
  • USDSUSDS(USDS)$1.000.04%
  • leo-tokenLEO Token(LEO)$9.69-2.32%
  • RainRain(RAIN)$0.013133-7.01%
  • stellarStellar(XLM)$0.195967-5.90%
  • cardanoCardano(ADA)$0.160878-13.08%
  • zcashZcash(ZEC)$352.62-32.51%
  • moneroMonero(XMR)$313.01-11.74%
  • CantonCanton(CC)$0.144765-3.31%
  • chainlinkChainlink(LINK)$7.37-8.01%
  • whitebitWhiteBIT Coin(WBT)$43.62-4.97%
  • USD1USD1(USD1)$1.000.07%
  • Ethena USDeEthena USDe(USDE)$1.000.08%
  • bitcoin-cashBitcoin Cash(BCH)$218.20-12.20%
  • daiDai(DAI)$1.000.03%
  • the-open-networkToncoin(TON)$1.51-11.56%
  • MemeCoreMemeCore(M)$2.93-12.11%
  • hedera-hashgraphHedera(HBAR)$0.079985-5.74%
  • litecoinLitecoin(LTC)$43.12-6.45%
  • LABLAB(LAB)$10.14-20.28%
  • avalanche-2Avalanche(AVAX)$6.88-10.97%
  • paypal-usdPayPal USD(PYUSD)$1.000.01%
  • suiSui(SUI)$0.70-9.98%
  • Circle USYCCircle USYC(USYC)$1.130.00%
  • shiba-inuShiba Inu(SHIB)$0.000005-8.39%
  • tether-goldTether Gold(XAUT)$4,296.35-3.46%
  • crypto-com-chainCronos(CRO)$0.057790-5.13%
  • nearNEAR Protocol(NEAR)$2.00-14.32%
  • Global DollarGlobal Dollar(USDG)$1.000.00%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.130.73%
  • pax-goldPAX Gold(PAXG)$4,313.40-3.45%
  • BittensorBittensor(TAO)$195.98-8.65%
  • World Liberty FinancialWorld Liberty Financial(WLFI)$0.056368-7.98%
  • worldcoin-wldWorldcoin(WLD)$0.51-5.08%
  • mantleMantle(MNT)$0.52-6.50%
  • Ripple USDRipple USD(RLUSD)$1.000.00%
  • OndoOndo(ONDO)$0.334657-11.88%
  • polkadotPolkadot(DOT)$0.94-10.72%
  • AsterAster(ASTER)$0.62-6.79%
TradePoint.io
  • Main
  • AI & Technology
  • Stock Charts
  • Market & News
  • Business
  • Finance Tips
  • Trade Tube
  • Blog
  • Shop
No Result
View All Result
TradePoint.io
No Result
View All Result

Building a Semantic Search Engine and Open-Status Classifier over the ResearchMath-14k Dataset

June 4, 2026
in AI & Technology
Reading Time: 1 min read
A A
Building a Semantic Search Engine and Open-Status Classifier over the ResearchMath-14k Dataset
ShareShareShareShareShare

YOU MAY ALSO LIKE

Google DeepMind Releases Gemma 4 QAT Checkpoints: Q4_0 and a New Mobile Format Cut On-Device Memory

AI agents are learning on the job — just not for your whole team

from sentence_transformers import util
def search(query, k=5):
   q = model.encode([query], normalize_embeddings=True)
   sims = util.cos_sim(q, emb)[0].cpu().numpy()
   idx = sims.argsort()[::-1][:k]
   print(f'\n=== Query: "{query}" ===')
   for rank, i in enumerate(idx, 1):
       row = work.iloc[i]
       print(f"\n[{rank}] sim={sims[i]:.3f} | {row['taxonomy_level_1']} "
             f"| status={row['open_status']}")
       print("   ", row[TEXT_COL][:260].replace("\n", " "), "...")
search("rational points on hyperelliptic curves")
search("multiplicativity of maximal output p-norm of a quantum channel")
from sklearn.linear_model import LogisticRegression
from sklearn.model_selection import train_test_split
from sklearn.metrics import classification_report, ConfusionMatrixDisplay
y = work["open_status"].values
Xtr, Xte, ytr, yte = train_test_split(
   emb, y, test_size=0.25, random_state=RANDOM_STATE, stratify=y)
clf = LogisticRegression(max_iter=2000, class_weight="balanced", C=2.0)
clf.fit(Xtr, ytr)
pred = clf.predict(Xte)
print("\n=== open_status classifier (embeddings + logistic regression) ===")
print(classification_report(yte, pred))
fig, ax = plt.subplots(figsize=(7, 6))
ConfusionMatrixDisplay.from_predictions(
   yte, pred, ax=ax, cmap="Blues", xticks_rotation=45,
   normalize="true", values_format=".2f")
ax.set_title("open_status confusion matrix (row-normalized)")
plt.tight_layout(); plt.show()
sims = util.cos_sim(emb, emb).cpu().numpy()
np.fill_diagonal(sims, 0)
i, j = np.unravel_index(sims.argmax(), sims.shape)
print(f"\nMost similar pair (cos={sims[i, j]:.3f}):")
for n in (i, j):
   print(f"\n  paper_id={work.iloc[n]['paper_id']} | "
         f"{work.iloc[n]['taxonomy_level_1']}")
   print("   ", work.iloc[n][TEXT_COL][:240].replace("\n", " "), "...")
print("\nDone. Set SAMPLE_SIZE=None at the top to run on the full 14.1k rows.")

Credit: Source link

ShareTweetSendSharePin

Related Posts

Google DeepMind Releases Gemma 4 QAT Checkpoints: Q4_0 and a New Mobile Format Cut On-Device Memory
AI & Technology

Google DeepMind Releases Gemma 4 QAT Checkpoints: Q4_0 and a New Mobile Format Cut On-Device Memory

June 5, 2026
AI agents are learning on the job — just not for your whole team
AI & Technology

AI agents are learning on the job — just not for your whole team

June 5, 2026
Google Shuts Down The AI Image App Pixel Studio
AI & Technology

Google Shuts Down The AI Image App Pixel Studio

June 5, 2026
The University Of Cambridge Says It Successfully Tested A Vaccine With An AI-Designed Antigen
AI & Technology

The University Of Cambridge Says It Successfully Tested A Vaccine With An AI-Designed Antigen

June 5, 2026
Next Post
Robots keep falling on their faces — Silicon Valley has a plan to fix it

Robots keep falling on their faces — Silicon Valley has a plan to fix it

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Search

No Result
View All Result
Trump talks Iran while giving tour of White House ballroom construction

Trump talks Iran while giving tour of White House ballroom construction

June 3, 2026
Trump-endorsed Ed Gallrein unseats Rep. Thomas Massie in Kentucky GOP primary

Trump-endorsed Ed Gallrein unseats Rep. Thomas Massie in Kentucky GOP primary

June 2, 2026
Full Episode: TODAY Show – May 18

Full Episode: TODAY Show – May 18

June 5, 2026

About

Learn more

Our Services

Legal

Privacy Policy

Terms of Use

Bloggers

Learn more

Article Links

Contact

Advertise

Ask us anything

©2020- TradePoint.io - All rights reserved!

Tradepoint.io, being just a publishing and technology platform, is not a registered broker-dealer or investment adviser. So we do not provide investment advice. Rather, brokerage services are provided to clients of Tradepoint.io by independent SEC-registered broker-dealers and members of FINRA/SIPC. Every form of investing carries some risk and past performance is not a guarantee of future results. “Tradepoint.io“, “Instant Investing” and “My Trading Tools” are registered trademarks of Apperbuild, LLC.

This website is operated by Apperbuild, LLC. We have no link to any brokerage firm and we do not provide investment advice. Every information and resource we provide is solely for the education of our readers. © 2020 Apperbuild, LLC. All rights reserved.

No Result
View All Result
  • Main
  • AI & Technology
  • Stock Charts
  • Market & News
  • Business
  • Finance Tips
  • Trade Tube
  • Blog
  • Shop

© 2023 - TradePoint.io - All Rights Reserved!