rcurtin_irc changed the topic of #mlpack to: mlpack: a scalable machine learning library (https://www.mlpack.org/) -- channel logs: https://libera.irclog.whitequark.org/mlpack -- NOTE: messages sent here might not be seen by bridged users on matrix, gitter, or slack
DavidValenteGSoC has joined #mlpack
DavidValenteGSoC has quit [Client Quit]
<SuvarshaChennare> Hello everyone,
<SuvarshaChennare> My name is Suvarsha Chennareddy and I’ve been contributing to mlpack for a while now. I would love to take part in GSOC 2023 and learn a great deal more from the mentors. I have looked at the project ideas and I am interested in taking up [Enhance CMA-ES] (https://github.com/mlpack/mlpack/wiki/SummerOfCodeIdeas#enhance-cma-es). I have a related PR ([An attempt to fix the current CMAES
<SuvarshaChennare> inconsistencies](https://github.com/mlpack/ensmallen/pull/351)) open which is currently under review. If there aren’t any objections with my choice, I’ll start working on a proposal right away. Thank you.
<SuvarshaChennare> zoq andrcurtin, I hope I’m not wasting your time (I apologize if I am), but I would like your input in this.
<SuvarshaChennare> * Hello everyone,
My name is Suvarsha Chennareddy and I’ve been contributing to mlpack for a while now. I would love to take part in GSOC 2023 and learn a great deal more from the mentors. I have looked at the project ideas and I am interested in taking up [Enhance CMA-ES] (https://github.com/mlpack/mlpack/wiki/SummerOfCodeIdeas). I have a related PR (An attempt to fix the current CMAES inconsistencies) open which is currently
<SuvarshaChennare> under review. If there aren’t any objections with my choice, I’ll start working on a proposal right away. Thank you.
<SuvarshaChennare> zoq andrcurtin, I hope I’m not wasting your time (I apologize if I am), but I would like your input in this.
<SuvarshaChennare> * Hello everyone,
My name is Suvarsha Chennareddy and I’ve been contributing to mlpack for a while now. I would love to take part in GSOC 2023 and learn a great deal more from the mentors. I have looked at the project ideas and I am interested in taking up [Enhance CMA-ES] (https://github.com/mlpack/mlpack/wiki/SummerOfCodeIdeas#enhance-cma-es). I have a related PR ([An attempt to fix the current CMAES inconsistencies]
<SuvarshaChennare> (https://github.com/mlpack/ensmallen/pull/351) ) open which is currently under review. If there aren’t any objections with my choice, I’ll start working on a proposal right away. Thank you.
zoq andrcurtin, I hope I’m not wasting your time (I apologize if I am), but I would like your input in this.
<SuvarshaChennare> * Hello everyone,
My name is Suvarsha Chennareddy and I’ve been contributing to mlpack for a while now. I would love to take part in GSOC 2023 and learn a great deal more from the mentors. I have looked at the project ideas and I am interested in taking up [Enhance CMA-ES](https://github.com/mlpack/mlpack/wiki/SummerOfCodeIdeas#enhance-cma-es). I have a related PR ([An attempt to fix the current CMAES
<SuvarshaChennare> inconsistencies](https://github.com/mlpack/ensmallen/pull/351) ) open which is currently under review. If there aren’t any objections with my choice, I’ll start working on a proposal right away. Thank you.
zoq andrcurtin, I hope I’m not wasting your time (I apologize if I am), but I would like your input in this.
Manish[m] has quit [Quit: You have been kicked for being idle]
raghav323[m] has quit [Quit: You have been kicked for being idle]
<akhunti1[m]> Hi vaibhavp
<akhunti1[m]> based on your suggestion I  tried to print the data matrix line number  77.
<akhunti1[m]> I gave the input from curl  like this [   curl --http0.9 -X POST -H 'Content-Type: application/json' -d'{"data": { "ndarray": [4,5,10,20,45,55]}}' http://localhost:9000/api/v1.0/predictions ]
<akhunti1[m]> and the out put i got :
<akhunti1[m]> if you compare between input and out put first value from input ie is 4 is missing in out put .
<akhunti1[m]> so , May i know what changes i need to do to get the exact out put .
<akhunti1[m]> * Hi vaibhavp rcurtin
<rcurtin[m]> probably the Armadillo parser is seeing the first token [4 and parsing it incorrectly... you probably need to get the string into the right format required by Armadillo, as specified in the documentation I linked to yesterday 👍️
_slack_mlpack_34 has quit [Quit: You have been kicked for being idle]
_slack_mlpack_34 has joined #mlpack
<akhunti1[m]> Hi rcurtin i tried but not able to fix it .
<akhunti1[m]> I tried std::cout.setf(std::ios::fixed); line but same it is removing first element from the list , when printing out put .
<akhunti1[m]> could you please help me on that .
krushia has quit [Quit: Konversation terminated!]
krushia has joined #mlpack
<vaibhavp[m]> akhunti1: If ndarray is only 1-d array then use the following method work:... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/c8c4c2493d47ad468e731a11354258e8d7d2e428>)
<vaibhavp[m]> * akhunti1: If ndarray is only 1-d array then use the following method:
<vaibhavp[m]> ```
<vaibhavp[m]> auto parse(std::string& s){
<vaibhavp[m]> ...(truncated)
<vaibhavp[m]> pass the json_str before use
<akhunti1[m]> Hi vaibhavp
<akhunti1[m]> I mean ur saying after line 74 , i need to parse json_str using ur method
<vaibhavp[m]> yup
<akhunti1[m]> Hi vaibhavp
<akhunti1[m]> I added the code like this
<akhunti1[m]> And gave input curl --http0.9 -X POST -H 'Content-Type: application/json' -d'{"data": { "ndarray": [4,5,10,20,45,55]}}' http://localhost:9000/api/v1.0/predictions like this
<akhunti1[m]> and got out put:
<vaibhavp[m]> oh sorry, wait a bit I will correct the code
<vaibhavp[m]> my bad
<akhunti1[m]> np vaibhavp
<akhunti1[m]> Hi vaibhavp
<akhunti1[m]> code got deleted
<vaibhavp[m]> akhunti1: Could you tell me a little more about the input you are receiving, can the data be of floating type?
<akhunti1[m]> input : curl --http0.9 -X POST -H 'Content-Type: application/json' -d'{"data": { "ndarray": [4,5,10,20,45,55]}}' http://localhost:9000/api/v1.0/predictions
<akhunti1[m]> see input is 4,5,10,20,45,55 this values
<akhunti1[m]> no data is not floating type
<akhunti1[m]> Hi vaibhavp rcurtin Thanks for ur help . i got correct output .
<akhunti1[m]> Hi vaibhavp if i gave negative number as a input ,
<akhunti1[m]> it make it positive at output .
<akhunti1[m]> input : curl --http0.9 -X POST -H 'Content-Type: application/json' -d'{"data": { "ndarray": [-4,-5,10,20,45,55]}}' http://localhost:9000/api/v1.0/predictions
<akhunti1[m]> output is
<akhunti1[m]> like this
<vaibhavp[m]> I think this should cover all the cases for 1-D inputs
<akhunti1[m]> Yes vaibhavp it worked . Thanks
lxi_ has quit [Ping timeout: 265 seconds]