I have recently gone through this paper. I want to implement it in python. I am not getting how to implement it. I am very new to this topic. I am not able to understand what equations have they used. I have read this but I am not able to relate this to the paper.
How to approach it using python? I want to build a function which can tell me the possible source location. Also, I am not able to understand the dataset also.
Related
I am looking for a solution to train an AI in NodeJS using reinforcement learning.
So far I could only find solutions in python...
I want an AI to give a buy/sell trigger based on price data and some technical indicators.
Edit: I know python is way better for ML, but wanted to keep everything in typescript. Anyways ended up using python :D
Node.JS isn't really geared up for AI / ML on its own.
You're better off implementing a solution that's either pure Python (you can do a lot with Python - including most of what Node.JS can do), or a solution that involves exchanging the data between the Node.JS part and the Python ML part.
Without any specific info on your implementation it's hard to give an exact answer, but assuming you use the Node.JS part to both receive price data and send the triggers, you could pipe the price data into the Python ML model through something like gRPC and then return the result back to the Node.JS app to implement the logic for sending the triggers.
This question is about process / approach, more so than how to write the code itself. I'm a process learner, so this is the part that's creating personal anxiety for me.
I am very much a beginner, and still learning about importing libraries and the like. I have an idea for what I'd like to be able to do, for a Capstone Project, as I learn, however.
I have a spreadsheet that I use each Sprint as par of our Capacity Planning process. I want to use Python to query target tickets in our client's GitHub (while logged in) account, and our Jira account, to pull specific data into the cells that I currently populate manually. Others have expressed interest in seeing what I come up with, as they use the same Google sheets template similarly.
From Sheets for Developers > API v4, through trial and error, I should be able to figure out how to generally import data into Google Sheets. Likewise, this GoTrained Python Tutorial looks like it has an approach for obtaining information from GitHub API. I'm fairly certain that I can find similar for Jira (though the first site that I tried wanted to use a fake "captcha" script to trick me into accepting notifications from the site, which was a red flag, to me).
But which are the quality, most efficient approaches? Especially for a starting out Python beginner, like myself? The last time I coded was 15-20 years ago, using LPC to build rooms/mobs/objects on a MU*, accessed via Telnet protocol.
I need to learn more about how to set up the program, and which libraries might be useful; and the best way - after decomposition - to identify the components and which methods to use, generally, in solving for the project goal:
import select field data from Jira and GitHub to a Sheet, using Python
how do I know which libraries are best to import, like Tkinter, for functions that I will need (this one came up in search for creating dropdown lists in Python, so that the Repo names can be standardized).
seeing lots of references to REST-api, but we haven't talked about that in course yet
what are some quality resources to learn more about principles that I should understand better before attempting this project?
w3schools.com is on my radar, but it is also extensive -- not sure if there are resources honed in on this type of "challenge"
I am looking at a two step approach for a optimization problem. My first step is using a MILP formulation of the problem and the second step involves using the solution from the first step as an initial solution but now with a MIQP formulation. I have been able to apply this concept in MATLAB using CPLEX. However, I am now trying the same using CVXPY with CPLEX as the solver. Now I know about the warm_start option but this does not work with the CPLEX solver. I am able to set CPLEX parameters but I am not sure how to initialize my solution. I am thinking of setting the ADVANCE START SWITCH parameter for CPLEX to 1, but now I need to set the initial solution. According to this page: http://www-eio.upc.es/lceio/manuals/cplex-11/html/usrcplex/solveMIP17.html, I need to use the method setVectors in a Concert Technology application, or by using CPXcopymipstart in a Callable Library application to set the initial solution. I am unsure of how to use this along with CVXPY.
The functionality you are looking for does not currently exist in CVXPY. CVXPY is a generic modeling layer that wraps around several solvers and it does not expose the CPLEX-specific CPXreadcopymipstarts nor CPXaddmipstarts functionality.
The fact that setting the value property of variables and using the warm_start option, as suggested in this answer, doesn't work, is a CVXPY issue. It looks like there is an open github issue for this here. In the future, this will likely be the intended solution to your general question.
For now, you'll have to use one of the CPLEX APIs directly. As you mentioned in the comments of this related stackoverflow question, you do not like the idea of using the lower-level CPLEX Python API. That leaves you with docplex as a viable option.
I am trying to use omniboard to keep a track of all the experiments hyperopt library is doing. The link below is from sacred library documentation and I am not able to use it to merge hyperopt and sacred together. Right now when I am defining an objective function and putting it in fmin(), I am getting a TypeError saying 'NoneType object is not callable'. Can somebody please help me figure out a way around this.
https://github.com/yuvalatzmon/SACRED_HyperOpt_v2
I want to create a sentiment analysis tool from scratch. It doesn't have to be highly complicated. I want to understand the techniques (even if they are quite basic and don't include the latest and the greatest) and be able to code them without using libraries. Can anyone, please, point me the right sources?