首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏饶文津的专栏

    【 Gym - 101138K 】 The World of Trains (DP)

    BUPT2017 wintertraining(15) #4E Gym - 101138K

    20830发布于 2020-06-02
  • 来自专栏Debian中国

    GitLab 12.1 发布 合并Trains的并行执行策略

    GitLab 12.1 已经发布,更新如下: 合并训练的并行执行策略 :加强了合并 TRAINS,以使用并行策略执行流水线,并行执行通过按顺序排列合并请求并启动受控的并行管道来加速验证。

    1.8K20发布于 2020-01-21
  • 来自专栏新智元

    Reddit热议:只要2行代码,免费开源ML管理工具TRAINS

    TRAINS界面美观,连续几小时看着不累眼睛。 TRAINS允许用户从Python式的界面中轻松查询实验数据和指标。 TRAINS可以记录和管理各种深度学习研究的模型负载,并且几乎不需要付出集成成本。 我们专门设计了TRAINS,能够轻松集成模型参数,团队可以保留现有的方法和实践。 以下是作者团队总结的TRAINS的主要特点。 TRAINS是我们解决机器学习/深度学习领域中与无数其他研究人员和开发人员分享的问题的方法:培训生产级深度学习模型是一个光荣而又混乱的过程。 TRAINS通过关联代码版本控制、研究项目、性能指标和模型出处来跟踪和控制流程。 无缝兼容常用框架,一站式记录所有模型数据 现在就能用 TRAINS免费开源,只需要两行代码即可完全集成。 /allegroai/trains ----

    1.5K10发布于 2019-06-22
  • 来自专栏CreateAMind

    谐波损失训练可解释人工智能模型 Harmonic Loss Trains Interpretable AI Models

    Harmonic Loss Trains Interpretable AI Models 谐波损失训练可解释人工智能模型 https://arxiv.org/pdf/2502.01628v2 摘要 本文提出谐波损失

    18810编辑于 2026-03-11
  • 来自专栏AI那点小事

    CCF考试——201609-2火车购票

    () ; i++){ if(trains[i].cnt >= num){//连在一起的num张火车票 trains[i].cnt -= num; trains[i].tickets[j].sold){ v.push_back(trains[i].tickets[j].id); flag){//都没有连在一起的num张火车票 vector<int> v; for(int i = 0 ; i < trains.size() ; i trains[i].tickets[j].sold){ v.push_back(trains[i].tickets[j].id); trains[i].tickets[j].sold = true; trains[i].cnt--; num

    57610发布于 2020-04-20
  • 来自专栏程序编程之旅

    HDOJ/HDU 1022 Train Problem I(模拟栈)

    So all the trains come in from one side and get out from the other side. Now the problem for you is, there are at most 9 trains in the station, all the trains has an ID(numbered trains can get out in an order O2. ? Each test case consists of an integer, the number of trains, and two strings, the order of the trains come in:O1, and the order of the trains leave:O2.

    50910发布于 2021-01-21
  • 来自专栏ml

    HDUOJ-------(1022)Train Problem I

    So all the trains come in from one side and get out from the other side. Now the problem for you is, there are at most 9 trains in the station, all the trains has an ID(numbered trains can get out in an order O2. ? Each test case consists of an integer, the number of trains, and two strings, the order of the trains come in:O1, and the order of the trains leave:O2.

    82770发布于 2018-03-21
  • 【杭电oj】1022 - Train Problem I(栈)

    So all the trains come in from one side and get out from the other side. Now the problem for you is, there are at most 9 trains in the station, all the trains has an ID(numbered trains can get out in an order O2. Each test case consists of an integer, the number of trains, and two strings, the order of the trains come in:O1, and the order of the trains leave:O2.

    32510编辑于 2025-08-26
  • 来自专栏数据科学CLUB

    特征工程之异常值处理

    #进行Box-Cox变换 #box-cox trains.SalePrice,lambda_=stats.boxcox(trains.SalePrice) print(lambda_) -0.07692391328663316 '],fit=norm) (mu,sigma)=norm.fit(trains['SalePrice']) plt.legend(['$\mu=$ {:.2f} and $\sigma=$ {:.2f} +1) print(lambda_2) trains.SalePrice=boxcox1p(trains.SalePrice,lambda_2) 1.6537136561634427 fig=plt.figure (trains['SalePrice']) plt.legend(['$\mu=$ {:.2f} and $\sigma=$ {:.2f}'.format(mu,sigma)],loc='best') ('After') print(f"Skewness of saleprice: {trains['SalePrice'].skew()}") print(f"Kurtosis of saleprice

    2.9K31发布于 2020-06-11
  • 来自专栏拓端tecdat

    R语言深度学习Keras循环神经网络(RNN)模型预测多输出变量时间序列

    dim(trains$x) \[1\] 798 3 2 dim(trains$y) \[1\] 798 2 定义模型 我们将通过添加简单的RNN层、用于输出的Dense层和带有MSE损失函数的 fit(trains$x, trains$y) 并检查训练的准确性。 evaluate(trains$x, trains$y, verbose = 0) print(scores) 预测和可视化的结果 最后,我们将预测测试数据,用RMSE指标检查y1和y2的准确性。

    2.6K10发布于 2021-09-30
  • 来自专栏NLP/KG

    人工智能创新挑战赛:助力精准气象和海洋预测Baseline3:TCNN+RNN模型、SA-ConvLSTM模型

    # 填充SODA数据中的空值 soda_trains = np.array(soda_trains) soda_trains_nan = np.isnan(soda_trains) soda_trains ) cmip6_trains_nan = np.isnan(cmip6_trains) cmip6_trains[cmip6_trains_nan] = 0 print('Number of null fillna: 0 # 填充CMIP5数据中的空值 cmip5_trains = np.array(cmip5_trains) cmip5_trains_nan = np.isnan(cmip5_trains # 填充SODA数据中的空值 soda_trains = np.array(soda_trains) soda_trains_nan = np.isnan(soda_trains) soda_trains ) cmip6_trains_nan = np.isnan(cmip6_trains) cmip6_trains[cmip6_trains_nan] = 0 print('Number of null

    1.2K81编辑于 2023-06-06
  • 来自专栏ml

    hdu---(3779)Railroad(记忆化搜索/dfs)

    In this problem, the railroad tracks are much simpler, and we are only interested in combining two trains The two trains each contain some railroad cars. The two trains come in from the right on separate tracks, as in the diagram above. To combine the two trains, we may choose to take the railroad car at the front of either train and attach We may also obtain the order 2,1,2,1,2,1 by alternately choosing railroad cars from the two trains.

    1.3K50发布于 2018-03-26
  • 来自专栏NLP/KG

    人工智能创新挑战赛:助力精准气象和海洋预测Baseline2:数据探索性分析(温度风场可视化)、CNN+LSTM模型建模

    # 填充SODA数据中的空值 soda_trains = np.array(soda_trains) soda_trains_nan = np.isnan(soda_trains) soda_trains [soda_trains_nan] = 0 print('Number of null in soda_trains after fillna:', np.sum(np.isnan(soda_trains ) cmip6_trains_nan = np.isnan(cmip6_trains) cmip6_trains[cmip6_trains_nan] = 0 print('Number of null in cmip6_trains after fillna:', np.sum(np.isnan(cmip6_trains))) Number of null in cmip6_trains after fillna: 0 # 填充CMIP5数据中的空值 cmip5_trains = np.array(cmip5_trains) cmip5_trains_nan = np.isnan(cmip5_trains

    2.2K101编辑于 2023-06-06
  • 来自专栏算法channel

    完整图解:特征工程最常用的四个业务场景演示 | 文末留言送书

    labels=np.atleast_2d([random.randint(0,4) for i in range(img.shape[1])]).reshape([-1,1]) trains=np.hstack np.where函数能够得到满足条件的index. np.where(trains[:,-1]==4) ? 从输出来看可以看到,第0行,7行,...299行的label等于4. np.where(trains==4) ? 可以看到返回了两个独立的数组,很明显第一个数组是坐标$X$,第二个数组是坐标$Y$。这样就能在二维空间中对某个特定值定位到具体的位置。 import pandas as pd df=pd.DataFrame(trains) results=df.loc[np.where(trains[:,-1]==4)] pandas中的loc接口,可以根据给定的行索引直接获取行数据

    1.4K20发布于 2019-09-11
  • 来自专栏python爱好部落

    火车票买不到?看我用python监控票源

    get_start.select_by_value(time_zone) toggle_checkbox(station_id) time.sleep(3) def get_trains (url, city_time, station_id, trains): open_page(url) select_time(time_id, city_time, station_id ) df_list.append(suzhou_to_shanghai_next_monday) suzhou_to_shanghai_next_next_monday = get_trains df_list.append(suzhou_to_shanghai_next_next_monday) # shanghai_to_suzhou_next_friday = get_trains ) df_list.append(shanghai_to_suzhou_next_friday) shanghai_to_suzhou_next_next_friday = get_trains

    87830发布于 2019-11-10
  • 来自专栏磐创AI技术团队的专栏

    GitHub关于数据科学的六个强大的机器学习开源库

    TRAINS - AI的自动实验管理和版本控制 https://github.com/allegroai/trains 数据科学家技能中最重要但又容被忽视的是软件工程。这是工作的重要组成部分。 TRAINS“记录并管理大量的深度学习研究工作,并且几乎没有集成成本”。 关于TRAINS(还有其他)的最好的部分是它免费并且开源。您只需两行代码即可将TRAINS完全集成到您的环境中。 您可以在那里使用TRAINS测试您的代码。 结束语 我这个月的选择肯定是XLNet。它为NLP科学家们提供了无限的机会。只需要注意一点,它需要强大的计算能力。 在相关领域中,NLP刚刚开始。

    91210发布于 2019-07-17
  • 来自专栏机器学习与统计学

    正态分布在机器学习中为何如此重要?

    statistics #查看SalePrice的skewness fig=plt.figure(figsize=(15,5)) #pic1 plt.subplot(1,2,1) sns.distplot(trains ['SalePrice'],fit=norm) (mu,sigma)=norm.fit(trains['SalePrice']) plt.legend(['$\mu=$ {:.2f} and $\sigma {:.2f}'.format(mu,sigma)],loc='best') plt.ylabel('Frequency') plt.subplot(1,2,2) res=stats.probplot(trains #进行Box-Cox变换 trains.SalePrice,lambda_=stats.boxcox(trains.SalePrice) 然后再看一下变换后的分布情况和QQ图 ?

    4.8K10发布于 2021-01-05
  • 来自专栏csxiaoyao

    HDU 1023 高精度 卡特兰数

    As we all know the Train Problem I, the boss of the Ignatius Train Station want to know if all the trains come in strict-increasing order, how many orders that all the trains can get out of the railway. Output For each test case, you should output how many ways that all the trains can get out of the railway

    67020发布于 2019-02-18
  • 来自专栏小小挖掘机

    完整图解:特征工程最常用的四个业务场景演示

    labels=np.atleast_2d([random.randint(0,4) for i in range(img.shape[1])]).reshape([-1,1]) trains=np.hstack np.where函数能够得到满足条件的index. np.where(trains[:,-1]==4) ? 从输出来看可以看到,第0行,7行,...299行的label等于4. np.where(trains==4) ? 可以看到返回了两个独立的数组,很明显第一个数组是坐标$X$,第二个数组是坐标$Y$。这样就能在二维空间中对某个特定值定位到具体的位置。 import pandas as pd df=pd.DataFrame(trains) results=df.loc[np.where(trains[:,-1]==4)] pandas中的loc接口,可以根据给定的行索引直接获取行数据

    1.3K20发布于 2019-09-17
  • 来自专栏极客编程

    jQueryMobile快速入门

    Cars

    Trains

    < -- /page -->   上面创建的导航页是我们在浏览器看到的第一个页面,接下来我们再添加三个“page”,他们有不同的id:Cars, Planes,Trains。 -- Start of third page -->

    Trains -- /header -->

    We can add a list of trains

    <!

    5K20发布于 2018-09-04
领券