• bitcoinBitcoin(BTC)$58,937.00-1.19%
  • ethereumEthereum(ETH)$1,589.410.11%
  • tetherTether(USDT)$1.000.01%
  • binancecoinBNB(BNB)$550.18-0.67%
  • usd-coinUSDC(USDC)$1.000.01%
  • rippleXRP(XRP)$1.05-0.17%
  • solanaSolana(SOL)$74.700.44%
  • tronTRON(TRX)$0.315854-1.12%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.01-2.94%
  • HyperliquidHyperliquid(HYPE)$65.31-0.74%
  • dogecoinDogecoin(DOGE)$0.072022-0.54%
  • RainRain(RAIN)$0.015820-0.75%
  • USDSUSDS(USDS)$1.000.02%
  • leo-tokenLEO Token(LEO)$9.25-3.01%
  • stellarStellar(XLM)$0.20403012.26%
  • zcashZcash(ZEC)$399.330.12%
  • whitebitWhiteBIT Coin(WBT)$54.2914.41%
  • moneroMonero(XMR)$311.04-0.88%
  • CantonCanton(CC)$0.1442351.31%
  • cardanoCardano(ADA)$0.1481682.55%
  • chainlinkChainlink(LINK)$7.25-0.66%
  • USD1USD1(USD1)$1.000.01%
  • daiDai(DAI)$1.000.01%
  • Ethena USDeEthena USDe(USDE)$1.00-0.01%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.55-3.13%
  • bitcoin-cashBitcoin Cash(BCH)$206.202.90%
  • LABLAB(LAB)$12.49-17.35%
  • litecoinLitecoin(LTC)$42.690.45%
  • Circle USYCCircle USYC(USYC)$1.13-0.06%
  • hedera-hashgraphHedera(HBAR)$0.070001-1.29%
  • Global DollarGlobal Dollar(USDG)$1.000.01%
  • avalanche-2Avalanche(AVAX)$6.650.18%
  • suiSui(SUI)$0.700.83%
  • paypal-usdPayPal USD(PYUSD)$1.00-0.03%
  • shiba-inuShiba Inu(SHIB)$0.000004-0.25%
  • crypto-com-chainCronos(CRO)$0.0539270.49%
  • tether-goldTether Gold(XAUT)$3,971.370.39%
  • nearNEAR Protocol(NEAR)$1.81-1.94%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.13-0.52%
  • BittensorBittensor(TAO)$201.33-2.41%
  • World Liberty FinancialWorld Liberty Financial(WLFI)$0.058749-1.29%
  • pax-goldPAX Gold(PAXG)$3,973.320.41%
  • uniswapUniswap(UNI)$2.82-2.19%
  • AsterAster(ASTER)$0.630.66%
  • okbOKB(OKB)$79.07-0.34%
  • OndoOndo(ONDO)$0.311187-0.34%
  • HTX DAOHTX DAO(HTX)$0.000002-2.63%
  • worldcoin-wldWorldcoin(WLD)$0.409064-0.77%
  • Falcon USDFalcon USD(USDF)$0.99-0.04%
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

Samsung Teases Wide-As-Hell New Foldable

Morgan Stanley cut its riskiest reconciliation job in half — by making its agents less autonomous

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

Samsung Teases Wide-As-Hell New Foldable
AI & Technology

Samsung Teases Wide-As-Hell New Foldable

June 30, 2026
Morgan Stanley cut its riskiest reconciliation job in half — by making its agents less autonomous
AI & Technology

Morgan Stanley cut its riskiest reconciliation job in half — by making its agents less autonomous

June 30, 2026
Linq’s iMessage Apps Bring Payments, Tickets, Flights, and Games Into the iMessage Bubble Through the imessage_app Part
AI & Technology

Linq’s iMessage Apps Bring Payments, Tickets, Flights, and Games Into the iMessage Bubble Through the imessage_app Part

June 30, 2026
Anthropic Claude Sonnet 5 vs Sonnet 4.6 vs Opus 4.8: Agentic Coding Benchmarks, API Pricing, and Cost-Performance Tradeoffs Compared
AI & Technology

Anthropic Claude Sonnet 5 vs Sonnet 4.6 vs Opus 4.8: Agentic Coding Benchmarks, API Pricing, and Cost-Performance Tradeoffs Compared

June 30, 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
Meta’s Astryx Brings a CLI and MCP Server to an Open-Source React Design System Agents Can Read

Meta’s Astryx Brings a CLI and MCP Server to an Open-Source React Design System Agents Can Read

June 27, 2026
Emergency ‘safe haven’ order for Space Station astronauts

Emergency ‘safe haven’ order for Space Station astronauts

July 1, 2026
U.S. completes retaliatory strikes against Iran after helicopter downing

U.S. completes retaliatory strikes against Iran after helicopter downing

June 28, 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!