[{"data":1,"prerenderedAt":145},["ShallowReactive",2],{"project-21049969":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":10,"maker":11,"posted_at":12,"year":13,"points":14,"comments":15,"rank_in_year":16,"shown_in_year":17,"top":18,"tier":19,"category":20,"subcategory":21,"format":22,"keywords":23,"reception":28,"sentiment":29,"stance_mix":30,"scored_comments":32,"aspects":33,"strip":35,"post_text":29,"what":36,"said":66,"maker_in_thread":92,"shape":99,"grid":101,"attempts":108,"same_week":109,"maker_shows":137,"maker_hidden":138,"reader_version":139,"card":140},"21049969","use-tensorflow","A React Hook to use Tensorflow.js easily","title","Show HN: I made a React Hook to use Tensorflow.js easily","https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fuse-tensorflow","npmjs.com","franciscop",1569253477,2019,11,3,1674,2195,77,"shown","languages","react hook library","library",[24,25,26,27],"react hook","tensorflow.js","machine learning","javascript","quiet",null,{"positive":31,"neutral":32,"mixed":31,"critical":31},0,1,{"idea":34},{"positive":31,"critical":31},[15,31,31],{"problem":37,"audience":44,"pricing":29,"motivation":49,"time_to_build":29,"stack":53,"openness":64,"stage":65,"team_size":64},{"value":38,"source":39,"evidence":40},"Saves developers the effort of wiring up Tensorflow.js in React apps","maker",[41],{"id":42,"by":11,"text":43},"21049980","I've been playing around with Tensorflow.js, loved it and decided to create a library to save someone some pain (including future me). It's still fairly early, I want to add…",{"value":45,"source":46,"evidence":47},"React developers using Tensorflow.js","inferred",[48],{"id":42,"by":11,"text":43},{"value":50,"source":39,"evidence":51},"Loved Tensorflow.js and wanted to save people (and future self) some pain",[52],{"id":42,"by":11,"text":43},[54,59],{"value":55,"source":46,"evidence":56},"React",[57],{"id":58},"post",{"value":60,"source":39,"evidence":61},"Tensorflow.js",[62,63],{"id":58},{"id":42,"by":11,"text":43},"unknown","beta",{"praise":67,"objections":76,"requests":77,"questions":86,"alternatives":91},[68],{"value":69,"source":70,"evidence":71},"Impressed that this is possible","commenter",[72],{"id":73,"by":74,"text":75},"21056506","gitgud","Pretty amazing this is even possible! I haven't used tensor flow before (so please excuse my ignorance) can I train it to recognise a certain thing and use this package too?",[],[78,82],{"value":79,"source":70,"evidence":80},"Support for training custom models to recognise things",[81],{"id":73,"by":74,"text":75},{"value":83,"source":39,"evidence":84},"Add other models",[85],{"id":42,"by":11,"text":43},[87],{"value":88,"source":70,"evidence":89},"Can it be used to train a model to recognise a specific thing?",[90],{"id":73,"by":74,"text":75},[],{"comments":93,"answered":32,"key":94},2,[95,98],{"id":96,"text":97},"21057683","Sure! That would use the default import useTensorflow from \"use-tensorflow\" mentioned in the docs:…",{"id":42,"text":43},{"commenters":93,"max_depth":93,"maker_replies":93,"first_comment_mins":32,"lifespan_hours":100},16,[102,104,106],[73,31,15,103,74,31],"project\u002Fneutral\u002Fidea",[96,31,31,105,11,32],"maker\u002Fneutral\u002Fdocs",[42,32,31,107,11,32],"project\u002Fneutral\u002Fnone",[],[110,115,120,125,129,133],{"id":111,"name":112,"points":113,"category":114},"21037167","james.darpinian.com",863,"productivity",{"id":116,"name":117,"points":118,"category":119},"21042468","Guard",502,"security_privacy",{"id":121,"name":122,"points":123,"category":124},"21070934","HTTP Mock",341,"dev_tools",{"id":126,"name":127,"points":128,"category":114},"21035621","Shiori v1.5",286,{"id":130,"name":131,"points":132,"category":114},"21035330","Best of Show HN",249,{"id":134,"name":135,"points":136,"category":114},"21050636","Instant, Self-Destructing Websites",242,13,false,"v2",{"id":141,"name":5,"line":6,"ai":138,"cat":20,"year":13,"points":14,"comments":15,"rec":28,"s":29,"top":18,"kw":142,"maker":11,"domain":10,"tier":19,"attempts":31,"strip":143,"url":9,"mix":144,"praise":69,"objection":-1,"sub":21},21049969,[24,25,26,27],"300",[31,32,31,31],1794036581189]