Questions tagged [api]

22 questions
4
votes
1 answer

Any advantage of sklearn wrappers for xgboost over python API?

Are there any advantages of using the XGBoost sklearn wrappers XGBRegressor or XGBClassifier over using the Python API with the train method? Is one faster than the other or does one use less memory than the other? I am asking for a generic case…
devdmj
  • 43
  • 3
3
votes
2 answers

Speed up Keras Model Prediction Load Times

I am trying to create a prediction API using keras which loads the model predicts and closes the model. But initializing time in python is about 3-5 secs so each request takes around 5 secs to return the prediction irrespective of number inputs…
2
votes
1 answer

Does opting out of having my content used for improvement mean there are no other forms of data retention of my content by OpenAI?

Regarding the use of OpenAI API, Terms of Use at OpenAI mentions: You can opt out of having Content used for improvement by contacting support@openai.com with your organization ID. Please note that in some cases this may limit the ability of our…
Franck Dernoncourt
  • 5,573
  • 9
  • 40
  • 75
1
vote
1 answer

How to operate dataset from paperswithcode.com?

I'm trying to use IG-3.5B-17k dataset from paperswithcode.com, but I can't figure out how to do that exactly. How to do it? I guess I need to use this site API? Am I even able to use this dataset?
taciturno
  • 137
  • 1
  • 8
1
vote
0 answers

Search for similar wikipedia articles based on a set of keywords

I want to solve two questions: Which wikipedia articles could be interesting to me based on a list of keywords that are generated by the search terms I normally use in google(received by google takeout)? Which wikipedia articles could be…
1
vote
0 answers

Creating API For Accessing New Website

Is there a way to add a API in Orange Data Mining Tool to access a new website? An example would be can I create and add an API for CNN or MSNBC or FOXNEWS? Currently in Orange in the text mining add-on they only have a couple of websites plus…
1
vote
1 answer

What is the most straightforward way to run python code in a chrome extension?

I am currently trying to develop a chrome extension for a project. My knowledge of Javascript is quite limited and this is my first using it, so I am trying to reduce as much as possible its use. The extension scope will be basically extracting the…
Manuel
  • 11
  • 1
1
vote
0 answers

Is it possible to access "Data Science" on Stack Exchange using an API?

I am a programmer with C and Python knowledge. I am trying to "educate" or train my Chatbot with name "Stella" in "Science and Technology History" and related areas, helped by ChatGPT 3.5. I am already using contents provided by Wikipedia, but some…
user545577
  • 11
  • 1
1
vote
0 answers

Alternatives to twitter for large daily or weekly samples for sentiment analysis

Twitter, with their API, including the free tier, has been a go-to source for collecting large samples of texts expressing sentiment on various topics of interest. I just started a project in December to collect, over the long term, sentiment about…
ViennaMike
  • 121
  • 4
0
votes
0 answers

Importing data directly into excel sheet, from data accessed through Material Project opensource API's

I had a general doubt. If I want to extract some data, say the information regarding a particular chemical using API of material projects(a site that has open-source info on, say elements) available on the internet, and compile the information on an…
oprah
  • 1
0
votes
1 answer

I keep getting an error message in R while using twitteR

here is what I am doing: tweets=searchTwitter("walmart",n=3000, lang="en",since="2021-01-08",until="2021-01-10") And this is my error message: Warning message: In doRppAPICall("search/tweets", n, params = params, retryOnRateLimit =…
0
votes
1 answer

Can we identify that an academic dataset was used for commercial purpose

There are many datasets that are released on the internet. Authors of many of these datasets state that the datasets are strictly for academic usage and not for commercial purposes. Although some datasets are released for both academic and…
Devashish Prasad
  • 814
  • 7
  • 16
0
votes
1 answer

training gradient boosting algorithm in python testing in Golang

What are the best strategy to train and save a gradient boosting algorithm, e.g. LightGBM or XGboost or Catboost in Python but load the model in GoLang and make prediction with Golang ?
user702846
  • 323
  • 1
  • 14
0
votes
1 answer

Historical exchange rate data via World Bank API?

I can see a massive list of indicators available via the World Bank API here (may take 1-2 minutes to load) I found exchange rates for various currencies into USD, but cannot see how to get exchange rates between currencies which aren't the USD. Is…
stevec
  • 211
  • 1
  • 7
0
votes
0 answers

ValueError: Failed to convert a NumPy array to a Tensor (Unsupported object type int) in Python - from_gerator fails

I know this question has answers, but they are not working. why this fails ? (and why tensorflow has troubles in reading numpy!!) def data_generator(df): for index, row in df.iterrows(): audio = row['audio'] # Replace 'audio' with the…
user305883
  • 165
  • 9
1
2